[pve-devel] USB device assignment

2015-01-16 Thread Friedrich Ramberger
Hello, The new article https://pve.proxmox.com/wiki/USB_Devices_in_Virtual_Machines documents how to handle USB devices for VMs. There are 2 items I could not clarify satisfactorily: * how can the usb3 driver xhci be integrated into /usr/share/qemu-server/pve-usb.cfg in order to avoid an "a

[pve-devel] [PATCH 7/9] implement virtio-scsi iothread hotplug

2015-01-16 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 26 +- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 6d96018..f9d6955 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -3195,12 +3195,14 @@ su

[pve-devel] [PATCH 4/9] add qemu_objectadd|del sub

2015-01-16 Thread Alexandre Derumier
used to add|dell qom objects Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 16 1 file changed, 16 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 464aefa..028b211 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -3296,6 +3296,22 @@

[pve-devel] qemu-server : iothread and multiqueues implementation

2015-01-16 Thread Alexandre Derumier
This rework iothread implementation, add support for iothread for virtio-blk and virtio-scsi also add virtio-scsi multiqueue support. (for virtio-scsi, iothread and queues are only supported by controller, so I have make some change to enable 1controller by virtio-scsi disk if iothread or queue

[pve-devel] [PATCH 5/9] implement virtio iothread hotplug

2015-01-16 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 37 - 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 028b211..927e79c 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -3175,6 +3175,

[pve-devel] [PATCH 6/9] implement virtio-scsi iothread

2015-01-16 Thread Alexandre Derumier
iothread can only be enabled by virtio-scsi-pci, currently we use 1 controller for all virtio-scsi. This patch create 1 virtio-scsi-pci controller for each virtio-scsi drive with iothread enable Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 47 +++

[pve-devel] [PATCH 2/9] unplug scsi controller if no more disk exist

2015-01-16 Thread Alexandre Derumier
we need to remove scsi controller, because live migration will crash, as on migration target node, we'll start the vm without controller if no disk exist Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 31 +-- 1 file changed, 29 insertions(+), 2 deletion

[pve-devel] [PATCH 3/9] implement virtio iothread option

2015-01-16 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 24 +++- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index facae11..464aefa 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -152,12 +152,6 @@ mkdir

[pve-devel] [PATCH 9/9] implement virtio-scsi multiqueues hotplug

2015-01-16 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 3d3f4fe..f44526b 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -3207,6 +3207,7 @@ sub vm_deviceplug {

[pve-devel] [PATCH 1/9] vm_devices_list : list devices behind pci bridge

2015-01-16 Thread Alexandre Derumier
This fix hotplug error messages for devices behind bridges Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 55d3e0e..6d6d2f7 100644 --- a/PVE/QemuServer.pm +++

[pve-devel] [PATCH 8/9] implement virtio-scsi multiqueues

2015-01-16 Thread Alexandre Derumier
as for iothread, we can assign queues only on virtio-scsi-pci controller, so we also use a dedicated virtio-scsi-pci controller by virtio-scsi disk Signed-off-by: Alexandre Derumier --- PVE/QemuServer.pm | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/PV