On 12/9/19 12:45 PM, Paolo Bonzini wrote: > On 09/12/19 18:33, Thomas Huth wrote: >>> It works for me though: >>> >>> $ /usr/bin/qemu-system-x86_64 -nodefaults -device pc-testdev -device >>> isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device >>> pci-testdev -machine accel=tcg -kernel x86/ioapic.flat >> You have to run the test with "-smp 4" (like in x86/unittests.cfg), then >> it hangs. > The problem was actually that I hadn't recompiled x86/ioapic.flat. Now > I can see the hang even with "-machine > accel=kvm,kernel_irqchip=off|split", I'll take a look if Nitesh doesn't > beat me. Sorry for the delay in response, I am currently on PTO. I haven't specifically tried with 'kernel_irqchip=off|split', previously I have only tried with -machine accel=kvm. I can give it a try once I am back. > Paolo > -- Thanks Nitesh