[Libguestfs] [PATCH 2/2] New API: btrfs_image_restore

Chen, Hanxiao chenhanxiao at cn.fujitsu.com
Fri Mar 6 03:07:34 UTC 2015



> -----Original Message-----
> From: Richard W.M. Jones [mailto:rjones at redhat.com]
> Sent: Thursday, March 05, 2015 8:48 PM
> To: Chen, Hanxiao/陈 晗霄
> Cc: libguestfs at redhat.com
> Subject: Re: [Libguestfs] [PATCH 2/2] New API: btrfs_image_restore
> 
> 
> I'm guessing that what users will actually want to do is to download
> and upload these images, rather than having to write them to another
> part of the disk image first.  I wonder if btrfs-image can do
> streaming?

It would be better to use IMAGE.

We use btrfs-image to dump image of a btrfs filesystem
for developer debug, and developer use this image with btrfs-image -r.

So I think we should expose btrfs-image to users and drop btrfs-image-restore.

Regards,
- Chen




More information about the Libguestfs mailing list