]> git.proxmox.com Git - qemu-server.git/commit
add pci multifunction support
authorAlexandre Derumier <aderumier@odiso.com>
Mon, 23 Jun 2014 15:41:54 +0000 (17:41 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 25 Jun 2014 07:29:53 +0000 (09:29 +0200)
commit4543ecf07f311c8032ce0f7bf05e251ce0b49930
tree631efc5e6f113c1b05e5d0e4160aecbd99fb8113
parent2e3b7e2a3a9226b7942668cb9ebeecb6c9f289fd
add pci multifunction support

multifunction device should be define without the .function

hostpci0: 00:00

example
-------
if 00:00.0
   00:00.1
   00:00.2

exists,

then we generate the multifunction devices

-device (pci-assign|vfio-pci),host=00:00.0,id=hostpci0.0,bus=...,addr=0x0.0,multifunction=on
-device (pci-assign|vfio-pci),host=00:00.1,id=hostpci0.1,bus=...,addr=0x0.1
-device (pci-assign|vfio-pci),host=00:00.2,id=hostpci0.2,bus=...,addr=0x0.2

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
PVE/QemuServer.pm