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

Re: [Xen-users] Q: Understanding "xm block-list"



> Did someone forget a translation for "768"? 768 is 0x300, and /dev/hda has
> major 3, minor 0. Considering that "xm" is a python program, shouldn't it
> translate the numbers to something more useful? Likewise why not allow
> device names for "block- detach" as well?

True, but this would only work for Linux guests, because other OSes will have 
a different idea of what a vdev number means to them.  Doing this decoding 
would need the tools to be aware of the kind of guest OS running to provide 
sensible naming (or fall back to numbers) - doable, though.

An easier route might be to simply allow disks to be named by the user in the 
config file.  It'd be a relatively simple patch, adding an extra component to 
the disk description.

You could file it as a wishlist in the bug tracker.

HTH,
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-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.