From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=59151 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkMf5-0004B7-BJ for qemu-devel@nongnu.org; Tue, 01 Feb 2011 15:17:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PkMf3-0007Ti-1m for qemu-devel@nongnu.org; Tue, 01 Feb 2011 15:17:14 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PkMf2-0007Tb-QC for qemu-devel@nongnu.org; Tue, 01 Feb 2011 15:17:13 -0500 Date: Tue, 1 Feb 2011 20:17:09 +0000 From: "Richard W.M. Jones" Subject: Re: [Qemu-devel] [PATCH 0/2] virtagent - fsfreeze support Message-ID: <20110201201709.GJ30263@amd.home.annexia.org> References: <1296557928-30019-1-git-send-email-Jes.Sorensen@redhat.com> <1296559512.9430.1.camel@vase> <20110201160403.GB24736@amd.home.annexia.org> <1296590687.8629.8.camel@mobile> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1296590687.8629.8.camel@mobile> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vasiliy G Tolstov Cc: mdroth@linux.vnet.ibm.com, Jes.Sorensen@redhat.com, qemu-devel@nongnu.org, agl@us.ibm.com On Tue, Feb 01, 2011 at 11:04:47PM +0300, Vasiliy G Tolstov wrote: > On Tue, 2011-02-01 at 16:04 +0000, Richard W.M. Jones wrote: > > > There are some experimental patches to libguestfs to do live > > filesystem and partition manipulations now: > > > > https://www.redhat.com/archives/libguestfs/2011-January/msg00096.html > > > > Rich. > > > > Sorry, but i can't found any info about operating on already mounted > disk. As i known, libguestfs allows operating inside virtual machine via > userspace daemon. Yes you're right that 'guestfsd' running in the guest cannot change the partition table seen by the kernel when partitions are mounted as filesystems. This would require some changes to the kernel. I was just pointing out you can use libguestfs "live" now and do a huge range of filesystem operations, including changing the partition table on disk. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org