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 <f...@redhat.com>

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