Blob Blame History Raw
From 342085c40d94b9870d75a4160e74cf047439de99 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Fri, 21 Dec 2012 15:50:11 +0000
Subject: [PATCH] RHEL 7: Remove libguestfs live (RHBZ#798980).

This isn't supported in RHEL 7.
---
 src/launch-unix.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/launch-unix.c b/src/launch-unix.c
index ed71ab4..6eafd25 100644
--- a/src/launch-unix.c
+++ b/src/launch-unix.c
@@ -36,6 +36,12 @@
 static int
 launch_unix (guestfs_h *g, const char *sockpath)
 {
+  error (g,
+	 "launch: In RHEL, only the 'libvirt' or 'appliance' method is supported.\n"
+	 "In particular, \"libguestfs live\" is not supported.");
+  return -1;
+
+#if 0
   int r, daemon_sock = -1;
   struct sockaddr_un addr;
   uint32_t size;
@@ -101,6 +107,7 @@ launch_unix (guestfs_h *g, const char *sockpath)
     g->conn = NULL;
   }
   return -1;
+#endif
 }
 
 static int
-- 
1.8.3.1