Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
RHEL 6: Remove libguestfs live (RHBZ#798980).
This isn't supported in RHEL 6.
  • Loading branch information
rwmjones committed Oct 16, 2013
1 parent 8dab681 commit f87bb94
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/launch-unix.c
Expand Up @@ -30,6 +30,16 @@
#include "guestfs-internal-actions.h"
#include "guestfs_protocol.h"

/* In RHEL 6, libguestfs live is not supported. */
static int
launch_unix (guestfs_h *g, const char *sockpath)
{
error (g,
"launch: In RHEL 6, \"libguestfs live\" is not supported.");
return -1;
}

#if 0
/* Alternate attach method: instead of launching the appliance,
* connect to an existing unix socket.
*/
Expand Down Expand Up @@ -101,6 +111,7 @@ launch_unix (guestfs_h *g, const char *sockpath)
close (g->sock);
return -1;
}
#endif

static int
shutdown_unix (guestfs_h *g, int check_for_errors)
Expand Down

0 comments on commit f87bb94

Please sign in to comment.