Revision e6e4ff4c

b/NEWS
2 2
====
3 3

  
4 4

  
5
Version 2.8.4
6
-------------
7

  
8
*(unreleased)*
9

  
10
- Change the list separator for the usb_devices parameter from comma to space.
11
  Commas could not work because they are already the hypervisor option
12
  separator (Issue 649)
13

  
14

  
5 15
Version 2.8.3
6 16
-------------
7 17

  
b/lib/hypervisor/hv_kvm.py
1384 1384

  
1385 1385
    # Various types of usb devices, comma separated
1386 1386
    if hvp[constants.HV_USB_DEVICES]:
1387
      for dev in hvp[constants.HV_USB_DEVICES].split(","):
1387
      for dev in hvp[constants.HV_USB_DEVICES].split(" "):
1388 1388
        kvm_cmd.extend(["-usbdevice", dev])
1389 1389

  
1390 1390
    if hvp[constants.HV_KVM_EXTRA]:
b/man/gnt-instance.rst
723 723
usb\_devices
724 724
    Valid for the KVM hypervisor.
725 725

  
726
    Comma separated list of usb devices. These can be emulated devices
726
    Space separated list of usb devices. These can be emulated devices
727 727
    or passthrough ones, and each one gets passed to kvm with its own
728 728
    ``-usbdevice`` option. See the **qemu**\(1) manpage for the syntax
729
    of the possible components.
729
    of the possible components. Note that values set with this
730
    parameter are split on a space character and currently don't support
731
    quoting.
730 732

  
731 733
vga
732 734
    Valid for the KVM hypervisor.

Also available in: Unified diff