[libvirt] [PATCH 0/3] Couple of user alias fixes

Michal Privoznik mprivozn at redhat.com
Fri Mar 9 11:56:10 UTC 2018


The deeper into the rabbit hole we go the more I think it was a
mistake to let users specify device aliases.

Michal Privoznik (3):
  virDomainDeviceValidateAliasForHotplug: Use correct domain defintion
  conf: Check for user aliases duplicates only
  qemu: Forbid user aliases for USB controllers

 src/conf/domain_conf.c                      |  6 +++---
 src/qemu/qemu_domain.c                      | 20 +++++++++++++++++++-
 tests/qemuxml2argvdata/user-aliases-usb.xml | 19 +++++++++++++++++++
 tests/qemuxml2argvdata/user-aliases.xml     |  1 -
 tests/qemuxml2argvtest.c                    |  1 +
 5 files changed, 42 insertions(+), 5 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/user-aliases-usb.xml

-- 
2.16.1




More information about the libvir-list mailing list