[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 10/10] Add the drive-reopen command
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v4 10/10] Add the drive-reopen command |
Date: |
Wed, 14 Mar 2012 10:19:23 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 |
Il 14/03/2012 10:17, Kevin Wolf ha scritto:
> If we want to do this, it needs to be the same patch, as we couple the
> transaction actions with top-level commands as long as there is no other
> way to discover the possible actions. And it probably makes more sense
> anyway, because the top-level command would be just a thin wrapper
> around the transactional one.
>
> Only problem is that just moving the code there doesn't make it suitable
> for a transaction and doing an all-or-nothing drive-reopen isn't quite
> trivial.
We can also add a "transactionable" item to query-commands. If we do it
after 1.1, in absence of it only blockdev-snapshot-sync and drive-mirror
are transactionable. Otherwise we can do it now.
Paolo
[Qemu-devel] [PATCH v4 08/10] add mirroring to transaction, Paolo Bonzini, 2012/03/06
[Qemu-devel] [PATCH v4 09/10] add drive-mirror command and HMP equivalent, Paolo Bonzini, 2012/03/06
Re: [Qemu-devel] [PATCH v4 00/10] Mirrored block writes, Kevin Wolf, 2012/03/09