[libvirt] [PATCH 7/7] support multifunction PCI device

Eric Blake eblake at redhat.com
Fri Jun 3 14:04:40 UTC 2011


On 05/27/2011 04:23 AM, Wen Congyang wrote:
> If qemu supports multi function PCI device, the format of the PCI address passed
> to qemu is "bus=pci.0,multifunction=on,addr=slot.function".
> 
> If qemu does not support multi function PCI device, the format of the PCI address
> passed to qemu is "bus=pci.0,addr=slot".
> ---
>  src/conf/domain_conf.c  |    3 +++
>  src/qemu/qemu_command.c |   27 +++++++++++++++++++++------
>  2 files changed, 24 insertions(+), 6 deletions(-)

Missing a testsuite addition.  Please add a .xml and .args file in
tests/qemuxml2argvdata, along with a line in tests/qemuxml2argvtest.c to
run the test, where you prove that the new multifunction=on phrase
appears in the .args file.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110603/f426ac7c/attachment-0001.sig>


More information about the libvir-list mailing list