On Mon, May 09, 2016 at 04:35:24PM +0200, Radim Krčmář wrote: > 2016-05-09 13:36+0800, Peter Xu: > > On Fri, May 06, 2016 at 10:53:44PM +0200, Radim Krčmář wrote: > >> This series bases on Peter's IR v6 and depends on patches that were just > >> posted to kvm-list, "[RFC 0/9] KVM: x86: break the xAPIC barrier". > >> > >> The kernel interface could use your comments, but internal QEMU one is > >> in dire need of them. Please see [1/4]. > >> > >> I have tested the series and seems to work as well as it can. > >> Peter's IR v6 didn't boot on my setup, so I reverted to the latest > >> version I know was working, v4, and rebased paches for testing. > > > > Radim, > > > > Would you please provide your test setup? So that I can try to > > reproduce it on my machine and debug it. > > I could reproduce with a kernel based off kvm/queue (basically 4.6-rc3), > that was make olconfig with fedora rawhide config for 4.6-rc3 and > qemu/master (53db932604d) after pulling your vtd-intr-v6 and doing the > minimum to make ./configure happy. > > The bug was caused by pci-bridge, which I didn't remove from a > copy-pasted qemu line ... Linux boot hangs if QEMU is ran with > -device i82801b11-bridge,id=pci.1,bus=pcie.0,addr=0x1e \ > -device pci-bridge,chassis_nr=2,id=pci.2,bus=pci.1,addr=0x0 \ > -drive file=/home/rhel7.qcow2,format=qcow2,if=none,id=drive-virtio-disk0 \ > -device > virtio-blk-pci,scsi=off,bus=pci.2,addr=0x3,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 > \ > > but the following works > -drive file=/home/rhel7.qcow2,format=qcow2,if=none,id=drive-virtio-disk0 \ > -device > virtio-blk-pci,scsi=off,bus=pcie.0,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 > \ > > I can give you ssh access to the machine too.
I got it reproduced on my host with another random kernel as well. Will let you know if got any progress. Thanks! -- peterx