[libvirt] [PATCH 29/34] Convert PCI device assignment over to -device

Daniel Veillard veillard at redhat.com
Fri Jan 15 19:47:06 UTC 2010


On Fri, Jan 08, 2010 at 05:23:25PM +0000, Daniel P. Berrange wrote:
> The old syntax is
> 
>   -pcidevice host=BUS:SLOT:FUNCTION
> 
> The new syntax is
> 
>   -device pci-assign,host=BUS:SLOT:FUNCTION,addr=<PCI SLOT>,id=host0
> ---
>  src/qemu/qemu_conf.c                               |   51 +++++++++++++++-----
>  .../qemuxml2argv-hostdev-pci-address-device.args   |    1 +
>  .../qemuxml2argv-hostdev-pci-address-device.xml    |   27 ++++++++++
>  tests/qemuxml2argvtest.c                           |    1 +
>  4 files changed, 68 insertions(+), 12 deletions(-)
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-hostdev-pci-address-device.args
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-hostdev-pci-address-device.xml
> 

  ACK,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list