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] GPL PV drivers and CDROM

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] GPL PV drivers and CDROM
From: Matthieu Patou <mat+Informatique.xen@xxxxxxxxx>
Date: Mon, 29 Jun 2009 16:45:41 +0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 29 Jun 2009 05:46:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D016DDA00@trantor>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4A4328CB.6090907@xxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D016DD961@trantor> <4A432C26.1020402@xxxxxxxxx> <4A48974E.3030207@xxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D016DDA00@trantor>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2

Once the DomU is booted, get the domid and do:

xenstore-ls /local/domain/<domid>/device/vbd
 xenstore-ls /local/domain/16/device/vbd
768 = ""
 backend-id = "0"
 virtual-device = "768"
 device-type = "disk"
 state = "1"
 backend = "/local/domain/0/backend/vbd/16/768"
5632 = ""
 backend-id = "0"
 virtual-device = "5632"
 device-type = "disk"
 state = "1"
 backend = "/local/domain/0/backend/vbd/16/5632"
5696 = ""
 backend-id = "0"
 virtual-device = "5696"
 device-type = "cdrom"
 state = "1"
 backend = "/local/domain/0/backend/vbd/16/5696"
xenstore-ls /local/domain/0/backend/vbd/<domid>

send me the output of those
xenstore-ls /local/domain/0/backend/vbd/16
768 = ""
 domain = "xp01"
 frontend = "/local/domain/16/device/vbd/768"
 uuid = "023b39f2-7139-06d7-84cf-e6c1d1da5215"
 dev = "hda"
 state = "2"
 params = "/dev/vg02/xp01"
 mode = "w"
 online = "1"
 frontend-id = "16"
 type = "phy"
 physical-device = "fd:b"
 hotplug-status = "connected"
5632 = ""
 domain = "xp01"
 frontend = "/local/domain/16/device/vbd/5632"
 uuid = "d2715696-e7cf-2c58-3e2b-5d874de5aafa"
 dev = "hdc"
 state = "2"
 params = "/dev/vg01/xp01-data"
 mode = "w"
 online = "1"
 frontend-id = "16"
 type = "phy"
 physical-device = "fd:e"
 hotplug-status = "connected"
5696 = ""
 domain = "xp01"
 frontend = "/local/domain/16/device/vbd/5696"
 uuid = "bf23608e-eead-fd3d-d688-d137f0e88329"
 dev = "hdd"
 state = "2"
 params = "/dev/hdb"
 mode = "r"
 online = "1"
 frontend-id = "16"
 type = "phy"
 physical-device = "3:40"
 hotplug-status = "connected"


Matthieu

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