From: Mark Williamson Subject: Re: hypercall to get kernel version information about guest Date: Thu, 14 Dec 2006 04:41:23 +0000 Message-ID: <200612140441.24226.mark.williamson@cl.cam.ac.uk> References: <1165593398.5568.22.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1165593398.5568.22.camel@localhost> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com, aball@linux.vnet.ibm.com List-Id: xen-devel@lists.xenproject.org > 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!