On 04/17/2012 04:53 PM, Ori Liel wrote:
> iirc, shared disk is a flag on the disk to allow it to be
shared.
> doesn't mean it is shared yet, rather can be shared.
Right, but there's no contradiction: a disk can have 'shared' flag and
also show the list of VMs it's attached to. The flag tells you if the
disk has the ability to be shared, while the list of VMs tells you which
VMs are actually sharing the disk right now (if any at all)
If we can expose the "shared" flag though, i think the API gets more
natural. We can then only show the shared disks in the root context.
Itamar, can we expose this flag, or do you consider this flag is
internal to the BE?
Regards,