2018-04-10 23:31 GMT+08:00 Sean Christopherson <sean.j.christopherson@xxxxxxxxx>: > On Tue, 2018-04-10 at 17:40 +0800, Wanpeng Li wrote: >> Hi Sean, >> 2018-03-09 0:57 GMT+08:00 Sean Christopherson <sean.j.christopherson@xxxxxxxxx>: >> > >> > Use kvm_fast_pio_in() on VMX and consolidate x86's fast PIO code >> > now that both VMX and SVM support fast PIO for IN and OUT. >> I found the kvm-unit-tests/emulator.flat fails after this patchset. > > 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. Do you have any idea why fast pio can't handle IN? Regards, Wanpeng Li