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