xm block-attach takes "r" as read-only, not "ro".
This is a backport candidate for 4.3, and probably others.
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
=item I<Mount an ISO as a Disk>
-xm block-attach guestdomain file://path/to/dsl-2.0RC2.iso /dev/hdc ro
+xm block-attach guestdomain file://path/to/dsl-2.0RC2.iso /dev/hdc r
This will mount the dsl ISO as /dev/hdc in the guestdomain as a read
only device. This will probably not be detected as a CD-ROM by the