qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v7 01/10] qapi: Add BlockOperationType enum


From: Fam Zheng
Subject: Re: [Qemu-devel] [PATCH v7 01/10] qapi: Add BlockOperationType enum
Date: Thu, 12 Dec 2013 20:32:06 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

On 2013年12月12日 20:21, Kevin Wolf wrote:
Am 12.12.2013 um 09:23 hat Fam Zheng geschrieben:
This adds the enum of all the operations that can be taken on a block
device.

Signed-off-by: Fam Zheng <address@hidden>
---
  qapi-schema.json | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
  1 file changed, 49 insertions(+)

diff --git a/qapi-schema.json b/qapi-schema.json
index d6f8615..ef4d6af 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -1440,6 +1440,55 @@
    'data': ['commit', 'stream', 'mirror', 'backup'] }

  ##
+# @BlockOperationType
+# Type of a block operation. (since 1.8)

I don't think this description is accurate any more. You now have a list
of roles that a block device can take, or something like that. Not sure
what the best way to put it is. backup-source isn't an operation anyway,
nor is dataplane.

"Using this as backup source" or "start dataplane on that" still sounds an operation to me. It's just the 1:1 corresponding with QMP commands that is loosed, but not totally independent, as the long comments below show.


Also, should have an empty line after @BlockOperationType and 2.0
instead of 1.8.


OK, will fix. Thanks.

Fam



reply via email to

[Prev in Thread] Current Thread [Next in Thread]