Re: [PATCH 1/2] use explicit 64bit storage for sysenter values

2009-05-31 Thread Avi Kivity
Andre Przywara wrote: Since AMD does not support sysenter in 64bit mode, the VMCB fields storing the MSRs are truncated to 32bit upon VMRUN/#VMEXIT. So store the values in a separate 64bit storage to avoid truncation. Applied, thanks. + struct kvm_segment user_cs; /* used in

[PATCH 1/2] use explicit 64bit storage for sysenter values

2009-05-28 Thread Andre Przywara
Since AMD does not support sysenter in 64bit mode, the VMCB fields storing the MSRs are truncated to 32bit upon VMRUN/#VMEXIT. So store the values in a separate 64bit storage to avoid truncation. Signed-off-by: Christoph Egger christoph.eg...@amd.com --- arch/x86/kvm/kvm_svm.h |4