Revision e6f24d89 lib/hypervisor/hv_kvm.py

b/lib/hypervisor/hv_kvm.py
537 537
    constants.HV_CPU_SOCKETS: hv_base.OPT_NONNEGATIVE_INT_CHECK,
538 538
    constants.HV_SOUNDHW: hv_base.NO_CHECK,
539 539
    constants.HV_USB_DEVICES: hv_base.NO_CHECK,
540
    constants.HV_KVM_EXTRA: hv_base.NO_CHECK,
540 541
    }
541 542

  
542 543
  _MIGRATION_STATUS_RE = re.compile("Migration\s+status:\s+(\w+)",
......
1345 1346
      for dev in hvp[constants.HV_USB_DEVICES].split(","):
1346 1347
        kvm_cmd.extend(["-usbdevice", dev])
1347 1348

  
1349
    if hvp[constants.HV_KVM_EXTRA]:
1350
      kvm_cmd.extend([hvp[constants.HV_KVM_EXTRA]])
1351

  
1348 1352
    # Save the current instance nics, but defer their expansion as parameters,
1349 1353
    # as we'll need to generate executable temp files for them.
1350 1354
    kvm_nics = instance.nics

Also available in: Unified diff