[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [SVM][PATCH] fix 64bit linux guest booting
Attached patch allows 64bit HVM AMD-V Linux guests to boot. Basically, this patch reverts part of c/s 12264. Signed-off-by: Tom Woller <thomas.woller@xxxxxxx> Keir, not sure if something else was intended with the change removing the setting of EFER_LME, I think that it should be ok during write of CR0 to enable paging. Wondering if Intel/AMD architectures are different here(?). 1) guest is setting CR0 paging enable during this intercepted CR0 write (paging_enable is false, but X86_CR0_PG/PE are true) 2) previously LME was set in EFER and info saved into cpu_state (SVM_CPU_STATE_LME_ENABLED is set) 3) PAE has also been enabled previously So, above criteria means go ahead and activate long mode, so setting LMA and LME in EFER in the vmcb should be fine during this guest cr0 write. Thoughts? --Tom Attachment:
svm_enable_lme.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |