mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
lib: libvirt: Stop recommending LIBGUESTFS_BACKEND=direct
After many, many years, although libvirt does still often fail to work, it's generally more secure to stick with libvirt than to try running qemu directly. The main issue here is that people have cargo-culted LIBGUESTFS_BACKEND=direct everywhere (even when it's not necessary).
This commit is contained in:
@@ -625,12 +625,8 @@ launch_libvirt (guestfs_h *g, void *datav, const char *libvirt_uri)
|
||||
dom = virDomainCreateXML (conn, (char *) xml, VIR_DOMAIN_START_AUTODESTROY);
|
||||
if (!dom) {
|
||||
libvirt_error (g, _(
|
||||
"could not create appliance through libvirt.\n"
|
||||
"\n"
|
||||
"Try running qemu directly without libvirt using this environment variable:\n"
|
||||
"export LIBGUESTFS_BACKEND=direct\n"
|
||||
"\n"
|
||||
"Original error from libvirt"));
|
||||
"could not create appliance through libvirt. "
|
||||
"Original error from libvirt"));
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user