diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-01-27 15:54:33 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-02-03 18:50:45 +0000 |
commit | 17434fb159e6391353363b3d11e2c1fb626fe548 (patch) | |
tree | 5e1cf03e1ac6a8232a7dfab71e65f58870ffc34f /debian | |
parent | 91324e0a732fe592f2eecd5b541c731bf4f34b74 (diff) | |
download | libguestfs-17434fb159e6391353363b3d11e2c1fb626fe548.tar.gz libguestfs-17434fb159e6391353363b3d11e2c1fb626fe548.tar.xz libguestfs-17434fb159e6391353363b3d11e2c1fb626fe548.zip |
lib: Implement attach-method unix:<path>
Allow connections to a Unix domain socket which is connected
(via virtio-serial) to a guestfsd running free in an existing
guest.
In order to use this you have to add the following element
to the libvirt XML:
<channel type='unix'>
<source mode='bind' path='/tmp/socket'/>
<target type='virtio' name='org.libguestfs.channel.0'/>
</channel>
(or perform the equivalent on the qemu command line).
Then in guestfish, you can do:
guestfish \
attach-method unix:/tmp/socket : \
run : \
ll /
(or any other commands as desired).
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions