WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Stephen Quintero <stephen@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Windows HVM guest disk is not write-protected with 'r' option
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <2AF7DD0CE564C24EBACDABFAE55CC642042863BB@xxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acjx1Mx9mGhaiqfATsC/cpcIoW4B7AAQNZVW
Thread-topic: [Xen-devel] Windows HVM guest disk is not write-protected with 'r' option
User-agent: Microsoft-Entourage/11.4.0.080122
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

<Prev in Thread] Current Thread [Next in Thread>