Windows HVM guest disk is not write-protected with 'r' option
Hello,
Using a Windows 2003 guest with second disk device in the xm config file:
disk=[
'phy:/dev/md4,ioemu:hda,w',
'phy:/dev/md5,ioemu:hdb,r'
]the second disk is not actually write protected under Windows. You can, for example, mount the NTFS volume and create/delete files.
It seems mdadm/nbd should not allow this.
I am using Xen 3.2.1 and would appreciate any comment on this issue.
Thank you,
Stephen Quintero
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
This is a known issue -- fully-emulated disks cannot be made read-only because qemu-dm does not respect the read-only flag. There is a patch for this which we are considering for Xen 3.3.
-- Keir
Quoted 25 lines · Stephen Quintero
Hello,
Using a Windows 2003 guest with second disk device in the xm config file:
disk=[
'phy:/dev/md4,ioemu:hda,w', 'phy:/dev/md5,ioemu:hdb,r' ]the second disk is not actually write protected under Windows. You can, for example, mount the NTFS volume and create/delete files.
It seems mdadm/nbd should not allow this.
I am using Xen 3.2.1 and would appreciate any comment on this issue.
Thank you,
Stephen Quintero
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel