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

Re: [win-pv-devel] Identifying PV disk devices

On 07/13/2015 05:23 PM, Paul Durrant wrote:
>> -----Original Message-----
>> From: win-pv-devel-bounces@xxxxxxxxxxxxxxxxxxxx [mailto:win-pv-devel-
>> bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of Rafal Wojdyla
>> Sent: 13 July 2015 16:16
>> To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
>> Subject: [win-pv-devel] Identifying PV disk devices
>> Hi,
>> Is it possible to obtain the backend device ID for a particular PV disk
>> from user mode? Currently it's hard to identify which disk is which if
>> there are multiple disks attached. The only difference in device
>> properties I found is location, but maybe there is an easier way?
> What do you mean by device id? The location is pretty much the main 
> distinguishing feature. The driver is capable of taking page 80 and 83 data 
> from xenstore if the toolstack puts something there, but xl doesn't do that 
I mean the ID in xenstore path like /local/domain/0/backend/vbd/9/51728.
Our toolstack always assigns the same backend IDs for particular HVM
disks (root disk, private storage if templates are used etc). I'm
looking for a way to identify which PV device corresponds to which ID so
our guest tools can for example initialize/format the correct one.

RafaÅ WojdyÅa
Qubes Tools for Windows developer

win-pv-devel mailing list



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