[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC 0/4] APIC, IOMMU, KVM: add x2APIC interface
From: |
Peter Xu |
Subject: |
Re: [Qemu-devel] [RFC 0/4] APIC, IOMMU, KVM: add x2APIC interface |
Date: |
Tue, 10 May 2016 16:07:33 +0800 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
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
- Re: [Qemu-devel] [PATCH 4/4] kvm: support MSI_X2APIC capability, (continued)
[Qemu-devel] [PATCH 3/4] linux_headers: add MSI_X2APIC, Radim Krčmář, 2016/05/06
Re: [Qemu-devel] [RFC 0/4] APIC, IOMMU, KVM: add x2APIC interface, Peter Xu, 2016/05/09