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

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



> > Looks like the hotplug scripts do contain the checking logic, and it does
> > check each device at a time, but it explicitly ignores if the same VM
> > already has access to a device.  Maybe checking for duplicate exports
> > here would be too racey, since I guess the hotplug scripts are not run in
> > any particular order...
>
> Well duplicate devices in the same VM could be fairly easily checked by
> XenD itself before it gets anywhere near creating the VM or doing device
> hotplug.

Kan's patch does this for initial domain creation and could easily be extend 
to cover adding devices (thinking about it, it may do already but I'd have to 
check the Xend internets), and is fine as far as it goes.

It just doesn't seem clean to have the device safety logic in Xend *and* in 
the hotplug script.

Cheers,
Mark


-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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