2021-05-18 06:51:15 +00:00
|
|
|
From a7fefab912d97962fb77f0f57799b7b70634376c Mon Sep 17 00:00:00 2001
|
2019-09-10 10:48:05 +00:00
|
|
|
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
|
|
Date: Fri, 21 Dec 2012 15:50:11 +0000
|
|
|
|
Subject: [PATCH] RHEL 8: Remove libguestfs live (RHBZ#798980).
|
|
|
|
|
|
|
|
This isn't supported in RHEL 8.
|
|
|
|
---
|
|
|
|
lib/launch-unix.c | 7 +++++++
|
|
|
|
1 file changed, 7 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/lib/launch-unix.c b/lib/launch-unix.c
|
2020-11-03 11:58:07 +00:00
|
|
|
index 4794a7b13..993b83601 100644
|
2019-09-10 10:48:05 +00:00
|
|
|
--- a/lib/launch-unix.c
|
|
|
|
+++ b/lib/launch-unix.c
|
|
|
|
@@ -37,6 +37,12 @@
|
|
|
|
static int
|
|
|
|
launch_unix (guestfs_h *g, void *datav, const char *sockpath)
|
|
|
|
{
|
|
|
|
+ error (g,
|
|
|
|
+ "launch: In RHEL, only the 'libvirt' or 'direct' 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;
|
|
|
|
@@ -106,6 +112,7 @@ launch_unix (guestfs_h *g, void *datav, const char *sockpath)
|
|
|
|
g->conn = NULL;
|
|
|
|
}
|
|
|
|
return -1;
|
|
|
|
+#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
static int
|
|
|
|
--
|
2021-05-18 06:51:15 +00:00
|
|
|
2.18.4
|
2019-09-10 10:48:05 +00:00
|
|
|
|