[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V2 09/12] qmp: add interface blockdev-snapshot-d
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH V2 09/12] qmp: add interface blockdev-snapshot-delete-internal-sync |
Date: |
Tue, 18 Jun 2013 16:20:37 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Jun 17, 2013 at 11:25:26AM +0800, Wenchao Xia wrote:
> δΊ 2013-6-15 17:55, Eric Blake ει:
> >Should this command be made available via 'transaction'? That is, if I
> >have a two-disk VM, and use 'transaction' to take a snapshot of both
> >disks at once, shouldn't I also have a way to delete the snapshots of
> >both at once, or gracefully fail without data loss if the second one has
> >problems?
>
> I think adding it in transaction is not very useful but brings more
> complexity. Transcation is used to guareentee all operations are taken
> in one time point, for example, snapshot creation use it to make sure
> all are consistent to VM. But for deletion, this requirement do not
> exist.
I guess the problem is: can we make internal snapshot deletion
transactional? It's hard to do rollback for snapshot deletion.
But batching is definitely useful for doing 'delvm' in QMP. I just
don't think transactions help. We just need a 'delvm' equivalent in
QMP.
Stefan
- Re: [Qemu-devel] [PATCH V2 12/12] qemu-iotests: add 055 internal snapshot for block device test case, (continued)
[Qemu-devel] [PATCH V2 05/12] snapshot: add paired functions for internal snapshot id and name, Wenchao Xia, 2013/06/14
[Qemu-devel] [PATCH V2 06/12] snapshot: distinguish id and name in snapshot delete, Wenchao Xia, 2013/06/14
[Qemu-devel] [PATCH V2 10/12] hmp: add interface hmp_snapshot_blkdev_internal, Wenchao Xia, 2013/06/14
[Qemu-devel] [PATCH V2 11/12] hmp: add interface hmp_snapshot_delete_blkdev_internal, Wenchao Xia, 2013/06/14
[Qemu-devel] [PATCH V2 09/12] qmp: add interface blockdev-snapshot-delete-internal-sync, Wenchao Xia, 2013/06/14
- Re: [Qemu-devel] [PATCH V2 09/12] qmp: add interface blockdev-snapshot-delete-internal-sync, Eric Blake, 2013/06/15
- Re: [Qemu-devel] [PATCH V2 09/12] qmp: add interface blockdev-snapshot-delete-internal-sync, Wenchao Xia, 2013/06/16
- Re: [Qemu-devel] [PATCH V2 09/12] qmp: add interface blockdev-snapshot-delete-internal-sync,
Stefan Hajnoczi <=
- Re: [Qemu-devel] [PATCH V2 09/12] qmp: add interface blockdev-snapshot-delete-internal-sync, Wenchao Xia, 2013/06/19
- Re: [Qemu-devel] [PATCH V2 09/12] qmp: add interface blockdev-snapshot-delete-internal-sync, Stefan Hajnoczi, 2013/06/19
- Re: [Qemu-devel] [PATCH V2 09/12] qmp: add interface blockdev-snapshot-delete-internal-sync, Wenchao Xia, 2013/06/19
- Re: [Qemu-devel] [PATCH V2 09/12] qmp: add interface blockdev-snapshot-delete-internal-sync, Stefan Hajnoczi, 2013/06/19
- Re: [Qemu-devel] [PATCH V2 09/12] qmp: add interface blockdev-snapshot-delete-internal-sync, Wenchao Xia, 2013/06/19
[Qemu-devel] [PATCH V2 04/12] snapshot: new function bdrv_snapshot_find_by_id_and_name(), Wenchao Xia, 2013/06/14