Re: [PATCH RESEND v2 0/2] KVM: x86: use fast PIO for IN on VMX

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

 



On 10/04/2018 17:31, Sean Christopherson wrote:
> The tests that are failing rely on KVM to use emulate_instruction for
> an IN instruction.  Now that IN doesn't trigger emulation the tests
> fail.  The unit tests are easily fixed by replacing IN with INSB.
> 
> Is anyone running the KVM unit tests on AMD hardware?  SVM has been
> using fast PIO for a few years, i.e. these tests probably have been
> failing on AMD even since fast PIO was introduced.
> FAIL: movq mmx generates #MF
> FAIL: 64-bit mov imm2
> FAIL: 16-bit smsw reg
> FAIL: 32-bit smsw reg
> FAIL: 64-bit smsw reg
> FAIL: nop
> FAIL: mov_dr6
> 

The right thing to do is to change the tests to use the new forced
emulation prefix, and skip if it is not available.  I'll try to post a
patch later today.

Thanks,

Paolo



[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