]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: check available controller and port when hotplugging USB device
authorChunyan Liu <cyliu@suse.com>
Wed, 15 Jun 2016 06:00:11 +0000 (14:00 +0800)
committerCédric Bosdonnat <cbosdonnat@suse.com>
Tue, 2 Aug 2016 12:02:21 +0000 (14:02 +0200)
commitf5359e55ec3bceb0e156445305881d5274fc58dc
tree05d0e1eed6a8fde0e573e45fa9ffb153b5f4f921
parent44304c6eb739c81828a70224925c7fe0e8be6694
libxl: check available controller and port when hotplugging USB device

When hotplugging a USB device, check if there is an available controller
and port, if not, automatically create a USB controller of version
2.0 and 8 ports.

Signed-off-by: Chunyan Liu <cyliu@suse.com>
src/libxl/libxl_driver.c