Blame SOURCES/0053-RHEL-7-Remove-libguestfs-live-RHBZ-798980.patch
|
|
cd6068 |
From 342085c40d94b9870d75a4160e74cf047439de99 Mon Sep 17 00:00:00 2001
|
|
|
022f11 |
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
|
022f11 |
Date: Fri, 21 Dec 2012 15:50:11 +0000
|
|
|
022f11 |
Subject: [PATCH] RHEL 7: Remove libguestfs live (RHBZ#798980).
|
|
|
022f11 |
|
|
|
022f11 |
This isn't supported in RHEL 7.
|
|
|
022f11 |
---
|
|
|
022f11 |
src/launch-unix.c | 7 +++++++
|
|
|
022f11 |
1 file changed, 7 insertions(+)
|
|
|
022f11 |
|
|
|
022f11 |
diff --git a/src/launch-unix.c b/src/launch-unix.c
|
|
|
022f11 |
index ed71ab4..6eafd25 100644
|
|
|
022f11 |
--- a/src/launch-unix.c
|
|
|
022f11 |
+++ b/src/launch-unix.c
|
|
|
022f11 |
@@ -36,6 +36,12 @@
|
|
|
022f11 |
static int
|
|
|
022f11 |
launch_unix (guestfs_h *g, const char *sockpath)
|
|
|
022f11 |
{
|
|
|
022f11 |
+ error (g,
|
|
|
022f11 |
+ "launch: In RHEL, only the 'libvirt' or 'appliance' method is supported.\n"
|
|
|
022f11 |
+ "In particular, \"libguestfs live\" is not supported.");
|
|
|
022f11 |
+ return -1;
|
|
|
022f11 |
+
|
|
|
022f11 |
+#if 0
|
|
|
022f11 |
int r, daemon_sock = -1;
|
|
|
022f11 |
struct sockaddr_un addr;
|
|
|
022f11 |
uint32_t size;
|
|
|
022f11 |
@@ -101,6 +107,7 @@ launch_unix (guestfs_h *g, const char *sockpath)
|
|
|
022f11 |
g->conn = NULL;
|
|
|
022f11 |
}
|
|
|
022f11 |
return -1;
|
|
|
022f11 |
+#endif
|
|
|
022f11 |
}
|
|
|
022f11 |
|
|
|
022f11 |
static int
|
|
|
022f11 |
--
|
|
|
022f11 |
1.8.3.1
|
|
|
022f11 |
|