qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v4 1/7] qapi: Add BlockOperationType enum


From: Fam Zheng
Subject: Re: [Qemu-devel] [PATCH v4 1/7] qapi: Add BlockOperationType enum
Date: Tue, 26 Nov 2013 09:58:58 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

On 2013年11月25日 19:26, Kevin Wolf wrote:
Am 22.11.2013 um 06:24 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>

Okay, so now I've read the whole series and I still couldn't solve this
mystery: Why is this a QAPI type and not some internal enum?

The logic is becoming complicated, I think even more rules will come with Quorum and BlockBackend, etc. By then we probably will have to add an interface to query the blockers, so user knows what operation is possible and what is not, without trial and error.

Eric, any ideas?

Fam




reply via email to

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