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

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



>> (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?
>
>I'm surprised that the existing block device safety checks don't pick up
>on this, but I guess they're run before the guest is started rather than
>before each virtual disk is attached.
>
>I certainly think there's a strong argument for protecting the user from
>this kind of error, at least unless they've specified 'w!' and hence
>indicated they want sharing.
>
>Anyone care to knock up a patch?

Hi Ian,

I already posted a patch. Could you comment about the patch?

http://lists.xensource.com/archives/html/xen-devel/2007-06/msg00856.html

Best regards,
 Kan



_______________________________________________
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®.