[libvirt] [PATCH] qemu: do not crash on USB address with no port and invalid bus

John Ferlan jferlan at redhat.com
Wed Apr 12 20:20:22 UTC 2017



On 04/12/2017 06:48 AM, Ján Tomko wrote:
> Properly error out when the user requests a port from a bus
> that does not have a controller present in the domain XML.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1441589
> ---
>  src/conf/domain_addr.c                             |  3 ++-
>  .../qemuxml2argv-usb-bus-missing.xml               | 22 ++++++++++++++++++++++
>  tests/qemuxml2argvtest.c                           |  3 +++
>  3 files changed, 27 insertions(+), 1 deletion(-)
>  create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-usb-bus-missing.xml
> 

ACK

John




More information about the libvir-list mailing list