Andrew D. Ball
2006-Dec-08 15:56 UTC
[Xen-devel] hypercall to get kernel version information about guest
Is there a hypercall to determine a guest kernel''s version and type from the control partition? Peace. Andrew _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2006-Dec-08 16:04 UTC
Re: [Xen-devel] hypercall to get kernel version information about guest
No. The hypervisor does not even have that information (apart from knowing the difference between ''HVM'' and ''PV'', and that can be obtained via the getdomaininfo domctl). -- Keir On 8/12/06 15:56, "Andrew D. Ball" <aball@linux.vnet.ibm.com> wrote:> Is there a hypercall to determine a guest kernel''s version and type from > the control partition? > > Peace. > Andrew > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mark Williamson
2006-Dec-14 04:41 UTC
Re: [Xen-devel] hypercall to get kernel version information about guest
> 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@lists.xensource.com http://lists.xensource.com/xen-devel