diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-07-19 15:32:03 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-07-21 15:47:50 +0100 |
commit | 42ba2620031d4b52e5319e212c2ea96d80a93b52 (patch) | |
tree | 43ed01efe9ac0223a7a7b6330864348ce7dda0dd /src/launch.c | |
parent | f32b93416a9579feb1af19540c3c04924290f131 (diff) | |
download | libguestfs-42ba2620031d4b52e5319e212c2ea96d80a93b52.tar.gz libguestfs-42ba2620031d4b52e5319e212c2ea96d80a93b52.tar.xz libguestfs-42ba2620031d4b52e5319e212c2ea96d80a93b52.zip |
Add attach-method "libvirt" or "libvirt:<URI>".
With this commit, you can set the attach method to libvirt,
but calling launch will give an error.
Diffstat (limited to 'src/launch.c')
-rw-r--r-- | src/launch.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/launch.c b/src/launch.c index 93029e4e..7c403ab8 100644 --- a/src/launch.c +++ b/src/launch.c @@ -325,6 +325,10 @@ guestfs__launch (guestfs_h *g) g->attach_ops = &attach_ops_appliance; break; + case ATTACH_METHOD_LIBVIRT: + error (g, _("libvirt attach method is not yet supported")); + return -1; + case ATTACH_METHOD_UNIX: g->attach_ops = &attach_ops_unix; break; |