]> xenbits.xensource.com Git - people/andrewcoop/xen.git/commit
x86/boot: add cmdline to struct boot_domain
authorDaniel P. Smith <dpsmith@apertussolutions.com>
Tue, 22 Apr 2025 09:24:57 +0000 (11:24 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 22 Apr 2025 09:24:57 +0000 (11:24 +0200)
commit142f0a43a15af0a2f527c7cffe145eb587f14ff0
tree407a16766c126e05b7448b2042296eb52af9cc8b
parent8c5636b6c87777e6c2e4ffae28bffe1cfc189bfd
x86/boot: add cmdline to struct boot_domain

Add a container for the "cooked" command line for a domain. This
provides for the backing memory to be directly associated with the
domain being constructed.  This is done in anticipation that the domain
construction path may need to be invoked multiple times, thus ensuring
each instance had a distinct memory allocation.

Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>
Signed-off-by: Jason Andryuk <jason.andryuk@amd.com>
Signed-off-by: Alejandro Vallejo <agarciav@amd.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Denis Mukhin <dmukhin@ford.com>
xen/arch/x86/hvm/dom0_build.c
xen/arch/x86/include/asm/boot-domain.h
xen/arch/x86/pv/dom0_build.c
xen/arch/x86/setup.c