Hi everybody,
the Xen based suspend notification interface is implemented in Linux by
drivers/xen/manage.c. The guest monitors a node on xenstore named
"control/shutdown", one of the possible commands is "suspend".
See the corresponding libxl__domain_pvcontrol_* functions and their
callers under tools/libxl. You can see that libxl is able to detect if
the PV protocol is supported by the guest calling
libxl__domain_pvcontrol_available, although the detection wouldn't work
today for ARM guests.
You might also want to give a look at drivers/xen/cpu_hotplug.c (also in
Linux) which is the implementation of the PV cpu hotplug protocol.
See libxl__set_vcpuonline_xenstore in tools/libxl/libxl_domain.c.
I am sorry this protocol is not properly documented anywhere (as far as
I am aware). However, it is so simple that you should be able to
understand how it works just from the code.
On Wed, 2 Aug 2017, Mirela Simonovic wrote:
> Hi,
> Thanks for the invite, please find the presentationhere: https://docs.google.com/presentation/ d/1PhK9bdLyY_ DSr8RbSs7LDdLWADbSW7YGwwnkpMLW eQ
> g/edit#slide=id.g24c05965d7_0_15
>
> Regards,
> Mirela
>
> On Tue, Aug 1, 2017 at 7:43 PM, Stefano Stabellini <sstabellini@kernel.org> wrote:
> On Tue, 1 Aug 2017, Julien Grall wrote:
> > On 01/08/17 17:44, Edgar E. Iglesias wrote:
> > > On Wed, Jul 26, 2017 at 04:59:43PM +0100, Julien Grall wrote:
> > > > Hi all,
> > > >
> > > > The next Xen ARM community call will be Wednesday 2nd August 2017 5pm
> BST.
> > > >
> > > > Do you have any specific topic you would like to discuss?
> > >
> > > CC: Davorin and Mirella from Aggios
> > >
> > > Hi Julien,
> >
> > Hi,
> >
> > > I was talking with the Aggios folks today and they were wondering if
> > > it's possible to share screens to present slides during the call?
> > > I'm guessing not, since the info below only has dial in info.
> >
> > It sounds like it is possible to share screen but I can't find a public
> link
> > for it :/.
> >
> > I can look for an alternative (I have plenty of choice at Arm :)) if it is
> > something people wants to do in the future. But for tomorrow, it might be
> > difficult to get something up by tomorrow.
> >
> > Can you upload the slides somewhere and send a link by e-mail?
>
> Sending the slides by email beforehand is always a good idea. However,
> it's 2017 and we *have* to be able to share slides live during a meeting
> :-)
>
> I talked with Julien: we are going to use my uberconference details for
> the call, which supports dialing in by phone, from your PC and slide
> sharing:
>
>
> Join the call: https://www.uberconference.com/stefano-stabellini
> US dial-in number: 669-999-0613
> No PIN needed
>
> For the international numbers, go to
> https://www.uberconference.com/stefano-stabellini and choose "Join by
> Phone", a list of international numbers and a pin will be provided.
>
> I'll also send another reminder tomorrow.
>
>
> Cheers,
>
> Stefano
>
>
>
>