[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Windows HVM guest disk is not write-protected with 'r' option


  • To: Stephen Quintero <stephen@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Date: Wed, 30 Jul 2008 08:26:52 +0100
  • Cc:
  • Delivery-date: Wed, 30 Jul 2008 00:27:18 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acjx1Mx9mGhaiqfATsC/cpcIoW4B7AAQNZVW
  • Thread-topic: [Xen-devel] Windows HVM guest disk is not write-protected with 'r' option

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

On 30/7/08 00:42, "Stephen Quintero" <stephen@xxxxxxxxx> wrote:

> 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
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.