Change in vdsm[master]: libvirtvm.py: Extend controller support to allow configuring...

hdegoede at redhat.com hdegoede at redhat.com
Wed May 2 16:16:37 UTC 2012


Hans De Goede has uploaded a new change for review.

Change subject: libvirtvm.py: Extend controller support to allow configuring USB controllers
......................................................................

libvirtvm.py: Extend controller support to allow configuring USB controllers

This allows creating a vm with a USB-2.0 (EHCI) controller with USB-1.1
companion controllers (UHCI), 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}}'

Change-Id: If4fd6bed73cfa67fd6b29d3c352aebc7c25cff5f
Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
M vdsm/libvirtvm.py
1 file changed, 7 insertions(+), 0 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If4fd6bed73cfa67fd6b29d3c352aebc7c25cff5f
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