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

[Xen-devel] determining dom0 version and bit size from domU


  • To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
  • Date: Sat, 2 Feb 2008 13:40:51 +1100
  • Delivery-date: Fri, 01 Feb 2008 18:41:20 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AchlRQYpcQr7K5pVTZi8TpkCkQ4v3g==
  • Thread-topic: determining dom0 version and bit size from domU

To overcome the problems I am having with the windows vbd drivers when
DomU bit width != Dom0 bit width, I would like to implement a kludge
with an algorithm something like:

"
if Dom0 Xen version >= 3.1.1
  set 'protocol' and it's business as usual
else
  if Dom0 is 64 bits
    align the blkif structures to 8 bytes
  else
    align the blkif structures to 4 bytes
"

Unfortunately, it doesn't look like I can determine the version of Xen
that the Dom0 kernel was compiled against, nor the bit width of Dom0. I
think I can get some indication of the hypervisor version, but that is
irrelevant.

Am I out of luck here? If I need to implement anything in Dom0 to do it
then I'll just document the Windows Xen PV drivers as being compatible
only with 3.1.1 and above if you want to mix and match bit widths... but
it would be nice to support older code.

James

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


 


Rackspace

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