xen-org/xen-api — pull request #762 by jjd27 (2012-07-13 10:09:21+00:00)
Title: CA-83260: Raise API error when attaching RO disk VBD to HVM guest

Tested by:
* Try attaching a VDI with a mode=RO VBD to a PV guest. Should succeed.
* Try attaching a VDI with a mode=RO VBD to an HVM guest that has PV drivers. Should fail with the appropriate API error.
* Try attaching a VDI with a mode=RW VBD to an HVM guest that has PV drivers. Should succeed.

Note that this pull request introduces a new API error. Therefore this patch should not be merged to a branch into which XenCenter has not has this error internationalised.