pvshim: introduce a PV shim defconfig
PATCH v2 1/1 pvshim: introduce a PV shim defconfig
In order to build a tailored pvshim-only binary from Xen. Switch the PV shim build from the tools firmware into using the new defconfig.
A diff of the .config generated for the pvshim firmware build before and after this change shows no differences.
Signed-off-by Roger Pau Monné <[email protected]>
Acked-by Ian Jackson <[email protected]>
Acked-by Wei Liu <[email protected]>
---
Cc: Ian Jackson <[email protected]>
Cc: Wei Liu <[email protected]>
Cc: Jan Beulich <[email protected]>
Cc: Andrew Cooper <[email protected]>
---
Changes since v1:
- Use '# CONFIG_X is not set' instead of CONFIG_X=n.
--- tools/firmware/xen-dir/Makefile | 5 +- tools/firmware/xen-dir/shim.config | 84 --------------------------- xen/arch/x86/configs/pvshim_defconfig | 23 ++++++++ 3 files changed, 25 insertions(+), 87 deletions(-) delete mode 100644 tools/firmware/xen-dir/shim.config create mode 100644 xen/arch/x86/configs/pvshim_defconfig
tools/firmware/xen-dir/Makefile +2 -3
@@ -41,9 +41,8 @@ linkfarm.stamp: $(DEP_DIRS) $(DEP_FILES) FORCE $(D): linkfarm.stamp $(MAKE) -C $(D)/xen distclean -$(D)/xen/.config: shim.config $(D) - cp $< $@ - $(MAKE) -C $(@D) olddefconfig XEN_CONFIG_EXPERT=y +$(D)/xen/.config: $(D) + $(MAKE) -C $(@D) KBUILD_DEFCONFIG=pvshim_defconfig XEN_CONFIG_EXPERT=y defconfig xen-shim: $(D)/xen/.config $(MAKE) -C $(<D) build XEN_CONFIG_EXPERT=y
tools/firmware/xen-dir/shim.config deleted +0 -84
84 lines not on this page · raw message
xen/arch/x86/configs/pvshim_defconfig new file +23 -0
@@ -0,0 +1,23 @@ +# Enable PV shim mode +CONFIG_PV=y +CONFIG_XEN_GUEST=y +CONFIG_PVH_GUEST=y +CONFIG_PV_SHIM=y +CONFIG_PV_SHIM_EXCLUSIVE=y +CONFIG_NR_CPUS=32 +# Disable features not used by the PV shim +# CONFIG_SHADOW_PAGING is not set +# CONFIG_BIGMEM is not set +# CONFIG_HVM_FEP is not set +# CONFIG_TBOOT is not set +# CONFIG_KEXEC is not set +# CONFIG_TMEM is not set +# CONFIG_XENOPROF is not set +# CONFIG_XSM is not set +# CONFIG_SCHED_CREDIT2 is not set +# CONFIG_SCHED_RTDS is not set +# CONFIG_SCHED_ARINC653 is not set +# CONFIG_SCHED_NULL is not set +# CONFIG_LIVEPATCH is not set +# CONFIG_SUPPRESS_DUPLICATE_SYMBOL_WARNINGS is not set +# CONFIG_DEBUG is not set
Signature · 7 lines
2.18.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel