Whilst working on getting a VM to initialize in to IA32e mode I found this issue. set_cr0 relies on comparing the old cr0 to the new one to work correctly. Move the assignment below so the compare can work. Signed-off-by: Paul Knowles <paul@transitive.com> Signed-off-by: Avi Kivity <avi@qumranet.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
i8259.c | ||
irq.c | ||
irq.h | ||
kvm_svm.h | ||
lapic.c | ||
lapic.h | ||
mmu.c | ||
mmu.h | ||
paging_tmpl.h | ||
segment_descriptor.h | ||
svm.c | ||
svm.h | ||
vmx.c | ||
vmx.h | ||
x86.c | ||
x86_emulate.c |