RE: move hyperv CHANNELMSG_UNLOAD from crashed kernel to kdump kernel

From: KY Srinivasan
Date: Wed Dec 07 2016 - 11:24:56 EST




> -----Original Message-----
> From: Olaf Hering [mailto:olaf@xxxxxxxxx]
> Sent: Wednesday, December 7, 2016 8:19 AM
> To: KY Srinivasan <kys@xxxxxxxxxxxxx>
> Cc: vkuznets@xxxxxxxxxx; gregkh@xxxxxxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx; devel@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: move hyperv CHANNELMSG_UNLOAD from crashed kernel to
> kdump kernel
>
> On Wed, Dec 07, KY Srinivasan wrote:
>
> > Is there a mechanism for stashing away state that can be retrieved in
> > the context of the execed kernel.
>
> I have to find out. To simplify things the new approach may only be used
> in the kdump case, which already passes various info in cmdline. Most
> likely there is a way to preserve a few gpfns with the relevant data.

May be a better solution might be to have a new mechanism to indicate to the
host that all state of the previous incarnation of the kernel needs to be cleaned up.
This will be close to what we have on hardware.

K. Y
>
> Olaf