[Pkg-libvirt-commits] [libguestfs] 82/233: launch: Allow backend = "appliance" for backwards compatibility (RHBZ#1055452).
Hilko Bengen
bengen at moszumanska.debian.org
Wed Feb 19 21:11:19 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch experimental
in repository libguestfs.
commit 69267d8762b586deab6b930131e1d677ba85df8d
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Mon Jan 20 10:21:26 2014 +0000
launch: Allow backend = "appliance" for backwards compatibility (RHBZ#1055452).
This fixes a regression which was introduced in
commit 0f26218905816ca86b6ec57070eed802515f4853.
---
src/launch.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/launch.c b/src/launch.c
index 72ff882..3851b6a 100644
--- a/src/launch.c
+++ b/src/launch.c
@@ -450,6 +450,10 @@ guestfs___set_backend (guestfs_h *g, const char *method)
assert (g->state == CONFIG);
+ /* For backwards compatibility with old code (RHBZ#1055452). */
+ if (STREQ (method, "appliance"))
+ method = "direct";
+
for (b = backends; b != NULL; b = b->next) {
if (STREQ (method, b->name))
break;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list