[Libguestfs] modify running VM's image

周涛 tao.zhou at neusoft.com
Fri Sep 7 02:09:37 UTC 2012


> 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?




周涛

From: Richard W.M. Jones
Date: 2012-09-06 18:25
To: 周涛
CC: gaowanlong at cn.fujitsu.com; libguestfs
Subject: Re: Re: [Libguestfs] modify running VM's image
On Thu, Sep 06, 2012 at 04:07:23PM +0800, 周涛 wrote:
> Thanks!

Wanlong Gao is correct that using libguestfs on a running
VM will (not maybe, *will*) cause disk corruption.

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.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20120907/2603582b/attachment.htm>


More information about the Libguestfs mailing list