On 21.08.2014 17:24, Paolo Bonzini wrote:
It seems to work for VMX (see the testcase I just sent). For SVM, can you
check if this test works for you, so that we can work on a simple testcase?
It passes for SVM, too.
However, npt_rsvd seems to be broken - maybe that is the reason?
Also, I tried to use different register values for npt_l1mmio_test() and
npt_l1mmio_check() (like 0xfee00030 and 0xfee00400), but got test passed
as well. Could it be a false positive then?
qemu-system-x86_64 -enable-kvm -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -display none -serial stdio -device pci-testdev -kernel x86/svm.flat -cpu host
enabling apic
paging enabled
cr0 = 80010011
cr3 = 7fff000
cr4 = 20
NPT detected - running all tests with NPT enabled
null: PASS
vmrun: PASS
ioio: PASS
vmrun intercept check: PASS
cr3 read intercept: PASS
cr3 read nointercept: PASS
next_rip: PASS
mode_switch: PASS
asid_zero: PASS
sel_cr0_bug: PASS
npt_nx: PASS
npt_us: PASS
npt_rsvd: FAIL
npt_rw: PASS
npt_pfwalk: PASS
npt_l1mmio: PASS
Latency VMRUN : max: 93973 min: 22447 avg: 22766
Latency VMEXIT: max: 428760 min: 23039 avg: 23832
latency_run_exit: PASS
Latency VMLOAD: max: 35697 min: 3828 avg: 3937
Latency VMSAVE: max: 42953 min: 3889 avg: 4012
Latency STGI: max: 42961 min: 3517 avg: 3595
Latency CLGI: max: 41177 min: 2859 avg: 2924
latency_svm_insn: PASS
SUMMARY: 18 TESTS, 1 FAILURES
Return value from qemu: 3
Valentine
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html