[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 4/9] livepatch: Sync cache of build-id before using it first time.
>>> On 14.08.16 at 23:52, <konrad.wilk@xxxxxxxxxx> wrote: > We don't print at bootup time the build-id. The reason is > that xen_build_init and livepatch_init are both __initcall > type routines. This meant that when livepatch_init called > xen_build_id, it would return -ENODATA as build_id_len was > not setup yet (b/c xen_build_init would be called later). > > We fix this by calling xen_build_init in livepatch_init which > allows us to print the build-id of the hypervisor. > > We also keep xen_build_init as __initcall because build-id > can be built without livepatching being enabled (so > no livepatch_init being called). Now if the build ID is potentially useful outside of live patching, shouldn't its logging also be done outside of livepatch code? Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |