Re: [PATCH kvm-unit-tests] x86: add tests for MSR_IA32_TSX_CTRL

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

 



On Mon, Nov 18, 2019 at 9:29 AM Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:
>
> Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>

I had to add tsx-ctrl to x86/unittests.cfg:

+[tsx-ctrl]
+file = tsx-ctrl.flat
+extra_params = -cpu host
+groups = tsx-ctrl
+

With qemu 4.1, I get:

timeout -k 1s --foreground 90s /root/kvm-unit-tests/deps/qemu.sh
-nodefaults -device pc-testdev -device
isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device
pci-testdev -machine accel=kvm -kernel x86/tsx-ctrl.flat -smp 1 -cpu
host # -initrd /tmp/tmp.7wOLppNO4W
enabling apic
SKIP: TSX_CTRL not available

Maybe qemu is masking off ARCH_CAP_TSX_CTRL_MSR? I haven't investigated.



[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