
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@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org