Blame SOURCES/0075-RHEL-8-Remove-libguestfs-live-RHBZ-798980.patch
|
|
5ce0c7 |
From a7fefab912d97962fb77f0f57799b7b70634376c Mon Sep 17 00:00:00 2001
|
|
|
46b2f6 |
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
|
46b2f6 |
Date: Fri, 21 Dec 2012 15:50:11 +0000
|
|
|
46b2f6 |
Subject: [PATCH] RHEL 8: Remove libguestfs live (RHBZ#798980).
|
|
|
46b2f6 |
|
|
|
46b2f6 |
This isn't supported in RHEL 8.
|
|
|
46b2f6 |
---
|
|
|
46b2f6 |
lib/launch-unix.c | 7 +++++++
|
|
|
46b2f6 |
1 file changed, 7 insertions(+)
|
|
|
46b2f6 |
|
|
|
46b2f6 |
diff --git a/lib/launch-unix.c b/lib/launch-unix.c
|
|
|
46b2f6 |
index 4794a7b13..993b83601 100644
|
|
|
46b2f6 |
--- a/lib/launch-unix.c
|
|
|
46b2f6 |
+++ b/lib/launch-unix.c
|
|
|
46b2f6 |
@@ -37,6 +37,12 @@
|
|
|
46b2f6 |
static int
|
|
|
46b2f6 |
launch_unix (guestfs_h *g, void *datav, const char *sockpath)
|
|
|
46b2f6 |
{
|
|
|
46b2f6 |
+ error (g,
|
|
|
46b2f6 |
+ "launch: In RHEL, only the 'libvirt' or 'direct' method is supported.\n"
|
|
|
46b2f6 |
+ "In particular, \"libguestfs live\" is not supported.");
|
|
|
46b2f6 |
+ return -1;
|
|
|
46b2f6 |
+
|
|
|
46b2f6 |
+#if 0
|
|
|
46b2f6 |
int r, daemon_sock = -1;
|
|
|
46b2f6 |
struct sockaddr_un addr;
|
|
|
46b2f6 |
uint32_t size;
|
|
|
46b2f6 |
@@ -106,6 +112,7 @@ launch_unix (guestfs_h *g, void *datav, const char *sockpath)
|
|
|
46b2f6 |
g->conn = NULL;
|
|
|
46b2f6 |
}
|
|
|
46b2f6 |
return -1;
|
|
|
46b2f6 |
+#endif
|
|
|
46b2f6 |
}
|
|
|
46b2f6 |
|
|
|
46b2f6 |
static int
|
|
|
46b2f6 |
--
|
|
|
5ce0c7 |
2.18.4
|
|
|
46b2f6 |
|