mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
xenconfig: add support for multiple USB devices syntax
In Xen>=4.3, libxl supports new syntax for USB devices: usbdevice=[ "DEVICE", "DEVICE", ... ] Add support for that in xenconfig driver. When only one device is defined, keep using old syntax for backward compatibility. Adjust tests for changed options order. Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
This commit is contained in:
committed by
Jim Fehlig
parent
4ab8cd77ad
commit
cd5dc3031f
@@ -14,8 +14,6 @@ on_poweroff = "destroy"
|
||||
on_reboot = "restart"
|
||||
on_crash = "restart"
|
||||
device_model = "/usr/lib/xen/bin/qemu-dm"
|
||||
usb = 1
|
||||
usbdevice = "tablet"
|
||||
sdl = 0
|
||||
vnc = 1
|
||||
vncunused = 1
|
||||
@@ -25,3 +23,5 @@ vif = [ "mac=00:16:3e:66:92:9c,bridge=xenbr1,script=vif-bridge,model=e1000,type=
|
||||
parallel = "none"
|
||||
serial = "none"
|
||||
disk = [ "phy:/dev/HostVG/XenGuest2,hda,w", "file:/root/boot.iso,hdc:cdrom,r" ]
|
||||
usb = 1
|
||||
usbdevice = "tablet"
|
||||
|
||||
Reference in New Issue
Block a user