28 Jan
2011
28 Jan
'11
7:36 p.m.
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/