]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: Fix broken build attach/detach controller device
authorJohn Ferlan <jferlan@redhat.com>
Tue, 2 Aug 2016 13:20:32 +0000 (09:20 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 2 Aug 2016 13:20:32 +0000 (09:20 -0400)
commit172218a01eea0f9e0b45852e4a646cbf96acf7cd
tree78298a82db435d45f13768c2522a8d77396bdb69
parent1bfdd956416d13f5c8c8d7599503cc9a9b4e6673
libxl: Fix broken build attach/detach controller device

Commit id '44304c6eb' added the API libxlDomainAttachControllerDevice
inside a conditional LIBXL_HAVE_PVUSB, but called that function outside
the conditional in libxlDomainAttachDeviceLive.

Similarly, the API libxlDomainDetachControllerDevice was added inside a
conditional LIBXL_HAVE_PVUSB, but called outside the conditional in
libxlDomainDetachDeviceLive.

This patch adds the conditional LIBXL_HAVE_PVUSB around those two calls
from within the switch.
src/libxl/libxl_driver.c