From: Keir Fraser Subject: Re: Windows HVM guest disk is not write-protected with 'r' option Date: Wed, 30 Jul 2008 08:26:52 +0100 Message-ID: References: <2AF7DD0CE564C24EBACDABFAE55CC642042863BB@srv.odcnet.local> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <2AF7DD0CE564C24EBACDABFAE55CC642042863BB@srv.odcnet.local> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stephen Quintero , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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" 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@lists.xensource.com > http://lists.xensource.com/xen-devel