Re: [Libguestfs] [PATCH v3] customize: fix --upload to FAT partition (RHBZ#1196101)

2015-03-27 Thread Richard W.M. Jones
On Thu, Mar 26, 2015 at 04:47:58PM +0100, Maros Zatko wrote: Some filesystems, such as FAT doesn't support file ownership, so show warning instead of error on EPERM. --- customize/customize_run.ml | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git

Re: [Libguestfs] Point-in-time snapshots (was: Re: Inspection of disk snapshots)

2015-03-27 Thread Richard W.M. Jones
On Fri, Mar 27, 2015 at 12:15:34PM +, Stefan Hajnoczi wrote: On Thu, Mar 26, 2015 at 12:02:27AM +0100, Kashyap Chamarthy wrote: So, something like? . . . { 'execute': 'drive-backup', 'arguments': { 'device': 'drive-virtio-disk1', 'sync': 'full', 'target':

Re: [Libguestfs] Point-in-time snapshots (was: Re: Inspection of disk snapshots)

2015-03-27 Thread Stefan Hajnoczi
On Thu, Mar 26, 2015 at 12:02:27AM +0100, Kashyap Chamarthy wrote: [Added Stefan Hajnoczi, who wrote the 'drive-backup' QMP command and Eric Blake.] On Wed, Mar 25, 2015 at 07:41:23PM +, Richard W.M. Jones wrote: On Wed, Mar 25, 2015 at 07:38:03PM +0100, Kashyap Chamarthy wrote: On

Re: [Libguestfs] Point-in-time snapshots

2015-03-27 Thread Richard W.M. Jones
On Fri, Mar 27, 2015 at 10:37:44AM -0600, Eric Blake wrote: On 03/27/2015 09:35 AM, Richard W.M. Jones wrote: But libguestfs doesn't want to do a backup, nor get a copy of the whole disk, it just wants to access a scattering of blocks (maybe a few hundred) but at a single point in time, in

Re: [Libguestfs] Point-in-time snapshots (was: Re: Inspection of disk snapshots)

2015-03-27 Thread Stefan Hajnoczi
On Fri, Mar 27, 2015 at 12:31:41PM +, Richard W.M. Jones wrote: On Fri, Mar 27, 2015 at 12:15:34PM +, Stefan Hajnoczi wrote: On Thu, Mar 26, 2015 at 12:02:27AM +0100, Kashyap Chamarthy wrote: So, something like? . . . { 'execute': 'drive-backup', 'arguments':

Re: [Libguestfs] Point-in-time snapshots

2015-03-27 Thread Eric Blake
On 03/27/2015 09:35 AM, Richard W.M. Jones wrote: What I care about is connecting libguestfs to qemu and reading a snapshot at some point in time, even though the guest is still writing away to its disks. Is this possible with drive-backup (or otherwise)? Yes, that is what drive-backup

Re: [Libguestfs] Point-in-time snapshots (was: Re: Inspection of disk snapshots)

2015-03-27 Thread Richard W.M. Jones
On Fri, Mar 27, 2015 at 03:21:25PM +, Stefan Hajnoczi wrote: On Fri, Mar 27, 2015 at 12:31:41PM +, Richard W.M. Jones wrote: On Fri, Mar 27, 2015 at 12:15:34PM +, Stefan Hajnoczi wrote: On Thu, Mar 26, 2015 at 12:02:27AM +0100, Kashyap Chamarthy wrote: So, something like?

Re: [Libguestfs] Point-in-time snapshots

2015-03-27 Thread Eric Blake
On 03/27/2015 11:21 AM, Richard W.M. Jones wrote: AIUI: We'd issue a drive-backup monitor command with an nbd:... target. The custom NBD server receives a stream of blocks (as writes). On the other side of this, libguestfs is also talking to the custom NBD server. Libguestfs (which

Re: [Libguestfs] Point-in-time snapshots

2015-03-27 Thread Richard W.M. Jones
On Fri, Mar 27, 2015 at 01:27:39PM -0600, Eric Blake wrote: Is NBD bi-directional, in that the target can receive write requests at the same time it is sending read requests? It's unidirectional. It's a very simple protocol - you can't even answer requests out of order:

Re: [Libguestfs] [virt-tools-list] Statically compiling virt-rescue ?

2015-03-27 Thread Richard W.M. Jones
[Sorry - I didn't see this email until now as virt-rescue is part of the http://libguestfs.org project and so normally uses a different mailing list] On Tue, Mar 17, 2015 at 11:29:29AM +, Keith Roberts wrote: Hi all. I’d like to create a statically-linked version of virt-rescue that I can