On Fri, Sep 07, 2012 at 10:09:37AM +0800, 周涛 wrote:
> However you might want to look at libguestfs-live, which
> involves installing a daemon in the VM that libguestfs talks to:
>
https://rwmj.wordpress.com/2011/07/06/libguestfs-live/
>
https://rwmj.wordpress.com/tag/libguestfs-live/
> (Currently this only works for Linux VMs)
> Also, if the VM is switched off, you can install a firstboot
> script (as previously discussed). This script runs when the
> guest boots, and can install software etc.
thanks! i will study libguestfs-live.
as you said, currently these methods only work for Linux VMs,
and what about the future? will windows VM be supported?
When someone does the work ...
It used to work at one point in the (long ago) past, but because
no one cared about it, it bit-rotted.
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/