• He, Qing's avatar
    KVM: VMX: Fix exit qualification width on i386 · bfdaab09
    He, Qing authored
    According to Intel Software Developer's Manual, Vol. 3B, Appendix H.4.2,
    exit qualification should be of natural width. However, current code
    uses u64 as the data type for this register, which occasionally
    introduces invalid value to VMExit handling logics. This patch fixes
    this bug.
    
    I have tested Windows and Linux guest on i386 host, and they can boot
    successfully with this patch.
    Signed-off-by: default avatarQing He <qing.he@intel.com>
    Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
    bfdaab09
vmx.c 63.6 KB