Change in vdsm[master]: Add support for redir devices

hdegoede at redhat.com hdegoede at redhat.com
Thu May 3 15:33:24 UTC 2012


Hans De Goede has uploaded a new change for review.

Change subject: Add support for redir devices
......................................................................

Add support for redir devices

With this patch it is possible to create vms setup for usb redirection with
vdsm, ie:

vdsClient 0 create /dev/null \
    vmId=00000001-0002-0003-0004-000000000006 vmName=F14-x86_64 memSize=512 \
    macAddr=52:54:00:7a:b4:7e nicModel=virtio bridge=test display=qxl \
    spiceDisableTicketing=1 \
    devices='{type:disk,device:disk,path:/home/virt-images/f14-i386.qcow2.img,propagateErrors:off,iface:ide,index:0,readonly:False,format:cow}' \
    devices='{type:video,device:qxl,specParams:{vram:65536},address:{type:pci,domain:0x0000,bus:0x00,slot:0x02,function:0x0}}' \
    devices='{type:controller,device:virtio-serial,address:{type:pci,domain:0x0000,bus:0x00,slot:0x03,function:0x0}}' \
    devices='{type:controller,device:usb,model:ich9-ehci1,address:{type:pci,domain:0x0000,bus:0x00,slot:0x04,function:0x7}}' \
    devices='{type:controller,device:usb,model:ich9-uhci1,master:{startport:0},address:{type:pci,domain:0x0000,bus:0x00,slot:0x04,function:0x0,multifunction:on}}' \
    devices='{type:controller,device:usb,model:ich9-uhci2,master:{startport:2},address:{type:pci,domain:0x0000,bus:0x00,slot:0x04,function:0x1}}' \
    devices='{type:controller,device:usb,model:ich9-uhci3,master:{startport:4},address:{type:pci,domain:0x0000,bus:0x00,slot:0x04,function:0x2}}' \
    devices='{type:redir,device:spicevmc,bus:usb,address:{type:usb,bus:0,port:1}}' \
    devices='{type:redir,device:spicevmc,bus:usb,address:{type:usb,bus:0,port:2}}' \
    devices='{type:redir,device:spicevmc,bus:usb,address:{type:usb,bus:0,port:3}}' \

Change-Id: Ia91922a0f34cb4b32efa2c6397d13fe59aec04e7
Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
M vdsm/libvirtvm.py
M vdsm/vm.py
2 files changed, 18 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/33/4133/1
--
To view, visit http://gerrit.ovirt.org/4133
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia91922a0f34cb4b32efa2c6397d13fe59aec04e7
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Hans De Goede <hdegoede at redhat.com>


More information about the vdsm-patches mailing list