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-users

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

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