[libvirt] [PATCH 0/8] Various KVM PCI device assignment improvements
Mirko Raasch
Mirko76 at serv4u.de
Fri Aug 14 14:41:44 UTC 2009
Hi,
thanks for you improvements.
I updated libvirt with git and tried to passthrough two pci devices to a
linux guest.
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address domain='0x0000' bus='0x05' slot='0x01' function='0x0'/>
</source>
</hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address domain='0x0000' bus='0x05' slot='0x03' function='0x0'/>
</source>
</hostdev>
In the guest, only one of them works and after the shutdown of the
guest, i got a segfault on the host.
libvirtd[15363]: segfault at 38 ip 0000000000421164 sp 00007fff59d1dfb0
error 4 in libvirtd[400000+6d000]
I use kernel 2.6.30-4 on the host.
What did i wrong?
Greetings
> Hi,
> Here's a fairly mixed set of KVM PCI device assignment
> improvements:
>
> - Add hotplug support
>
> - Allow PM reset on multi-function devices
>
> - Allow Secondary Bus Reset even if it causes other devices to be
> reset, so long as those other devices are in use by the same
> VM or are unused
>
> - Re-attach devices when the guest shuts down
>
> - Properly detect versions of QEMU without -pcidevice support
>
> Cheers,
> Mark.
>
> --
> Libvir-list mailing list
> Libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
>
More information about the libvir-list
mailing list