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

Re: [Xen-devel] hypercall to get kernel version information about guest

To: xen-devel@xxxxxxxxxxxxxxxxxxx, aball@xxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] hypercall to get kernel version information about guest
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Thu, 14 Dec 2006 04:41:23 +0000
Delivery-date: Wed, 13 Dec 2006 20:41:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1165593398.5568.22.camel@localhost>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1165593398.5568.22.camel@localhost>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.5
> Is there a hypercall to determine a guest kernel's version and type from
> the control partition?

Xen doesn't really know what is running in the guest, so it would be up to the 
control tools to sort out this sort of detail.

A possible way of getting this information would be one of the following:

a) add a xend command that fetches the name of the kernel in the domain's 
config file (and possibly looks in the file to figure out what kind of kernel 
it is)
b) add a xend command that asks the guest what kernel it's running (e.g. get 
the guest to publish uname information via Xenstore)
c) add the ability to map and examine guest memory directly to look for the 
kernel name string

I can see it would be very useful from a VM management perspective to check 
for this sort of thing.

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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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