summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-10-13 20:52:31 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-10-13 20:52:31 +0100
commit07d0546f5d210d1cee048de8d42bdf58302f0d93 (patch)
tree6d8ad8cfd505558bdb6298f5c8e8eebd18876ec3 /src
parent085bf7c97aae67e8f84fe95f97ee4bfee849d523 (diff)
downloadlibguestfs-07d0546f5d210d1cee048de8d42bdf58302f0d93.tar.gz
libguestfs-07d0546f5d210d1cee048de8d42bdf58302f0d93.tar.xz
libguestfs-07d0546f5d210d1cee048de8d42bdf58302f0d93.zip
configure: Add --without-libvirt option.
Normally we check if libvirt is installed, and the default is still to do this. However having this option makes it simpler to check if a change to the code has broken the case where libvirt is not installed. In fact, this change revealed one such place, which is also fixed in this commit.
Diffstat (limited to 'src')
-rw-r--r--src/launch-libvirt.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/launch-libvirt.c b/src/launch-libvirt.c
index 4f015e3a..aac5d291 100644
--- a/src/launch-libvirt.c
+++ b/src/launch-libvirt.c
@@ -1523,12 +1523,6 @@ max_disks_libvirt (guestfs_h *g)
NOT_IMPL (-1);
}
-static int
-hot_add_drive_libvirt (guestfs_h *g, struct drive *drv, size_t drv_index)
-{
- NOT_IMPL (-1);
-}
-
struct attach_ops attach_ops_libvirt = {
.launch = launch_libvirt,
.shutdown = shutdown_libvirt,