Skip to content

Commit

Permalink
RHEL 7: Remove User-Mode Linux (RHBZ#1144197).
Browse files Browse the repository at this point in the history
This isn't supported in RHEL 7.
  • Loading branch information
rwmjones committed Sep 19, 2014
1 parent 9501067 commit f19f284
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/launch-uml.c
Expand Up @@ -136,6 +136,12 @@ uml_supported (guestfs_h *g)
static int
launch_uml (guestfs_h *g, void *datav, const char *arg)
{
error (g,
"launch: In RHEL, only the 'libvirt' or 'direct' method is supported.\n"
"In particular, User-Mode Linux (UML) is not supported.");
return -1;

#if 0
struct backend_uml_data *data = datav;
CLEANUP_FREE_STRINGSBUF DECLARE_STRINGSBUF (cmdline);
int console_sock = -1, daemon_sock = -1;
Expand Down Expand Up @@ -503,6 +509,7 @@ launch_uml (guestfs_h *g, void *datav, const char *arg)
}
g->state = CONFIG;
return -1;
#endif
}

/* This is called from the forked subprocess just before vmlinux runs,
Expand Down

0 comments on commit f19f284

Please sign in to comment.