diff options
author | Richard Jones <rjones@trick.home.annexia.org> | 2009-09-21 13:03:27 +0100 |
---|---|---|
committer | Richard Jones <rjones@trick.home.annexia.org> | 2009-09-22 10:26:58 +0100 |
commit | 8b217a87bf9175e7e02a5913e5617e0d12dfd09c (patch) | |
tree | 2b918b0c1c42ea44f95614bc60b03bb29fecf014 /python/guestfs.py | |
parent | 8b91ee5e2d951ae467ac08421db89af48a642086 (diff) | |
download | libguestfs-8b217a87bf9175e7e02a5913e5617e0d12dfd09c.tar.gz libguestfs-8b217a87bf9175e7e02a5913e5617e0d12dfd09c.tar.xz libguestfs-8b217a87bf9175e7e02a5913e5617e0d12dfd09c.zip |
Flexible guestfs_vmchannel parameter for future appliances.
This reimplements parts of commit da0a4f8d1f6ddd302ceba028d87c6e009589e503
in a different, but compatible way.
We pass guestfs_vmchannel=tcp:<ip>:<port> on the command line. This
is intended to be used as follows (now and in future versions):
tcp:10.0.2.4:6666 for guestfwd vmchannel
tcp:10.0.2.2:<port> for future "no vmchannel" implementation
/dev/vcon4 for future virtio-console vmchannel*
It also accepts the old-style guestfs=10.0.2.4:6666 parameter which
is sent by older libraries, and turns this transparently into the
correct format above.
If no guestfs_vmchannel is passed, then this defaults to the guestfwd
vmchannel which older libraries would expect.
* Maybe this last one should be dev:/dev/vcon4 or file:/dev/vcon4, but
we don't need to decide that now.
Diffstat (limited to 'python/guestfs.py')
0 files changed, 0 insertions, 0 deletions