]> xenbits.xensource.com Git - people/larsk/xen.git/commit
libxl_usb: Use proper domid value, from libxl__device
authorAnthony PERARD <anthony.perard@citrix.com>
Wed, 29 May 2019 16:01:06 +0000 (17:01 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Fri, 20 Sep 2019 09:41:01 +0000 (10:41 +0100)
commitd37bf63be32399a598da909899f16e8c8a383acd
tree6ad529e62d881a326ed19d15b44edafaeb4dd5ca
parentc1ad418bc6810c234adbd6da42c37ae196bdecee
libxl_usb: Use proper domid value, from libxl__device

ao->domid isn't a reliable way of getting a domid, it might not be set
(this isn't the case here). The right domid value can be found in the
libxl__device (which is the device we want to remove) attached to
libxl__ao_device.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_usb.c