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

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Q: Understanding "xm block-list"
From: "Ulrich Windl" <ulrich.windl@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 25 Oct 2006 14:03:20 +0200
Delivery-date: Wed, 25 Oct 2006 05:04:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Universitaet Regensburg, Klinikum
Priority: normal
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

how can I see who's who?:
# xm block-list vm1
Vdev  BE handle state evt-ch ring-ref BE-path
768    0    0     4      11     1036  /local/domain/0/backend/vbd/9/768
832    0    0     3      12     1037  /local/domain/0/backend/vbd/9/832
# xm block-list vm3
Vdev  BE handle state evt-ch ring-ref BE-path
768    0    0     4      11     1036  /local/domain/0/backend/vbd/10/768
832    0    0     3      12     1037  /local/domain/0/backend/vbd/10/832

If I want to detach the CD-ROM drive to enable media change, what's the correct 
device?

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?

Regards,
Ulrich


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

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