Hi, I stumbled across following questions while understanding Xen. Can someone please explain it What is the source of gettimeofday() for an O.S running on Xen ? Does Xen provide a common source for all VMs ? On taking a cursory look at details it seems like this info is obtained from shared_info structure. Is shared_info struct common across all VMs ? I suppose not ! Thanks, Maulik. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, 17 Mar 2006 15:57:59 +0530 "Maulik Patel" <maulik.patel@gmail.com> wrote: [...]> What is the source of gettimeofday() for an O.S running on Xen ?This section of the interface manual explains the various time mechanisms: http://www.cl.cam.ac.uk/Research/SRG/netos/xen/readmes/interface/interface.html#SECTION00340000000000000000 Tim _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks Tim. I see HYPERVISOR_shared_info struct exported in xen.h. That means it common to all the VMs and hence can be used across all VM for time keeping ? (Not sure though). But looking at the shared_info_t definition, it looks like per VM structure. shared_info can also be accessed via start_info which seems like a per VM structure. Can someone through light on it. Thanks, Maulik. On 3/17/06, Tim Freeman <tfreeman@mcs.anl.gov> wrote:> > On Fri, 17 Mar 2006 15:57:59 +0530 > "Maulik Patel" <maulik.patel@gmail.com> wrote: > [...] > > What is the source of gettimeofday() for an O.S running on Xen ? > > This section of the interface manual explains the various time mechanisms: > > > http://www.cl.cam.ac.uk/Research/SRG/netos/xen/readmes/interface/interface.html#SECTION00340000000000000000 > > Tim > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Am new to Xen and have following questions. I see HYPERVISOR_shared_info struct exported in xen.h. That means it common to all the VMs and hence can be used across all VM for time keeping ? (Not sure though). But looking at the shared_info_t definition, it looks like per VM structure. shared_info can also be accessed via start_info which seems like a per VM structure. Can someone through light on it. Thanks, Maulik. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users