On 07.09.21 12:13, Jan Beulich wrote: > Both xen_pvh and xen_start_flags get written just once aeryl during > init. Using the respective annotation then allows the open-coded placing > in .data to go away. > > Additionally the former, like the latter, wants exporting, or else > xen_pvh_domain() can't be used from modules. > > Signed-off-by: Jan Beulich > --- > I have to admit that it is completely unclear to me which form of > exporting I should have used: xen_domain_type is GPL-only while > xen_start_flags is not, yet both are used in similar ways, extending to > xen_pvh. I'd use EXPORT_SYMBOL_GPL(xen_pvh). Juergen