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

[Xen-devel] feature request - prevent user stupidity (eg mine)

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] feature request - prevent user stupidity (eg mine)
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Fri, 22 Jun 2007 00:10:57 +1000
Delivery-date: Thu, 21 Jun 2007 07:09:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ace0Df0qF5CVVs80T1mc5ZX/eFUSPg==
Thread-topic: feature request - prevent user stupidity (eg mine)
I foolishly made the following typo:

"
disk = [ 'phy:/dev/vg00/virt-smtp1-root,0301,w',
'phy:/dev/vg00/virt-smtp1-root,0302,w' ]
"

instead of:

"
disk = [ 'phy:/dev/vg00/virt-smtp1-root,0301,w',
'phy:/dev/vg00/virt-smtp1-swap,0302,w' ]"

(the type was that the same Dom0 block device is used twice in the first
example)

Which was working great until I did a 'mkswap /dev/hda2' inside the
domain, which really fscked things up :(

Given that there is almost no way you would ever want to publish the
same block device to the same virtual domain more than once, would there
be any value in flagging that as an error when you try and start the
domain?

Thanks

James


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