[PATCH v2 0/2] Simple test for sysenter instruction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This patch series adds a simple test for sysenter instruction running in
comp32 mode, while using Intel vendor ID.

In this setting, KVM emulates this instruction to help with cross-vendor
migration on AMD.

I also added a patch to 'msr' test to run it with Intel's vendor ID, since this
test tests that SYSENTER EIP/ESP msrs are 64 bit wide which is only true on AMD.

KVM used to emulate these msrs to be always 64 bit on AMD, but this soon will
be changed to do the emulation only when guest CPU vendor ID is of Intel.

Best regards,
    Maxim Levitsky

Maxim Levitsky (2):
  x86/msr: run this test with intel vendor id
  Add a simple test for SYSENTER instruction.

 x86/Makefile.x86_64 |  3 ++
 x86/cstart64.S      |  1 +
 x86/sysenter.c      | 91 +++++++++++++++++++++++++++++++++++++++++++++
 x86/unittests.cfg   |  6 +++
 4 files changed, 101 insertions(+)
 create mode 100644 x86/sysenter.c

-- 
2.26.2





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux