xen-org/xen-api — pull request #811 by mcclurmc (2012-08-07 16:20:31+00:00)
Title: SXM shouldn't attach RO disks as RW when mirroring

This is also true for snapshot VDIs. We now only attach RW if the VDI is going to be mirrored.

NOTE: This pull request only fixes the smaller issue of allowing RO VDIs, but not the larger issue of deciding what to do when a VDI is attached to multiple VMs. I think we should pull this commit now and worry about the bigger issue later.

Signed-off-by: Mike McClurg