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.