Re: [libvirt] [PATCH 2/2] conf: report an error message for non-existing USB hubs

2016-08-16 Thread Andrea Bolognani
On Mon, 2016-08-15 at 18:14 +0200, Ján Tomko wrote: > If any of the devices referenced a USB hub that does not exist, > defining the domain would either fail with: > error: An error occurred, but the cause is unknown > (if only the last hub in the path is missing) > or crash. > > Return a proper

[libvirt] [PATCH 2/2] conf: report an error message for non-existing USB hubs

2016-08-15 Thread Ján Tomko
If any of the devices referenced a USB hub that does not exist, defining the domain would either fail with: error: An error occurred, but the cause is unknown (if only the last hub in the path is missing) or crash. Return a proper error instead of crashing.