[Libguestfs] [PATCH 0/8 v2 DISCUSSION ONLY] Connecting to live virtual machines
Richard W.M. Jones
rjones at redhat.com
Fri Jan 28 19:36:34 UTC 2011
NOTE: This is HIGHLY EXPERIMENTAL and can eat babies ...
Modify the guest libvirt XML to add the virtio-serial channel:
<channel type='unix'>
<source mode='bind' path='/tmp/socket'/>
<target type='virtio' name='org.libguestfs.channel.0'/>
</channel>
In the guest, compile guestfsd and run it like this:
sudo daemon/guestfsd -rv
(XXX - should current directory be / ...?)
In the host connect using:
sudo guestfish -d GuestName --live
><fs> run
><fs> ll /
etc.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/
More information about the Libguestfs
mailing list