Re: [PATCH v8 4/5] crash: export paddr_vmcoreinfo_note()

From: Michael S. Tsirkin
Date: Thu Nov 23 2017 - 23:20:52 EST


On Thu, Nov 23, 2017 at 06:36:57AM -0800, Christoph Hellwig wrote:
> On Thu, Nov 23, 2017 at 03:02:05PM +0100, Marc-André Lureau wrote:
> > The following patch is going to use the symbol from the fw_cfg module,
> > to call the function and write the note location details in the
> > vmcoreinfo entry, so qemu can produce dumps with the vmcoreinfo note.
>
> Sounds like fw_cfg should be moved to be built in only instead of
> exporting such a symbol address.

Point is, all fw cfg does is export it on to the hypervisor, so it will
have to be supported forever. If it's safe to export it to the
hypervisor then for sure it's also safe to export it to modules.

--
MST