diff mbox

stubdom: add CONFIG_KEEP_STARTINFO for stubdoms which reference start_info

Message ID 1472468481-11613-1-git-send-email-jgross@suse.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jürgen Groß Aug. 29, 2016, 11:01 a.m. UTC
grub-stubdom and ioemu-stubdom rely on Mini-OS exporting the start_info
structure via a global variable. To use this feature in future we must
specify CONFIG_KEEP_STARTINFO in the Mini-OS config file.

Signed-off-by: Juergen Gross <jgross@suse.com>
---
 stubdom/grub/minios.cfg  | 1 +
 stubdom/ioemu-minios.cfg | 1 +
 2 files changed, 2 insertions(+)

Comments

Jürgen Groß Aug. 29, 2016, 2:15 p.m. UTC | #1
On 29/08/16 13:01, Juergen Gross wrote:
> grub-stubdom and ioemu-stubdom rely on Mini-OS exporting the start_info
> structure via a global variable. To use this feature in future we must
> specify CONFIG_KEEP_STARTINFO in the Mini-OS config file.
> 
> Signed-off-by: Juergen Gross <jgross@suse.com>

Please ignore: start_info in Mini-OS will depend on CONFIG_PARAVIRT
only.


Juergen

> ---
>  stubdom/grub/minios.cfg  | 1 +
>  stubdom/ioemu-minios.cfg | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/stubdom/grub/minios.cfg b/stubdom/grub/minios.cfg
> index 8df4909..0e81f0a 100644
> --- a/stubdom/grub/minios.cfg
> +++ b/stubdom/grub/minios.cfg
> @@ -1,3 +1,4 @@
>  CONFIG_START_NETWORK=n
>  CONFIG_SPARSE_BSS=n
>  CONFIG_TPMFRONT=y
> +CONFIG_KEEP_STARTINFO=y
> diff --git a/stubdom/ioemu-minios.cfg b/stubdom/ioemu-minios.cfg
> index d690553..9e9ea99 100644
> --- a/stubdom/ioemu-minios.cfg
> +++ b/stubdom/ioemu-minios.cfg
> @@ -1,3 +1,4 @@
>  CONFIG_START_NETWORK=n
>  CONFIG_QEMU_XS_ARGS=y
>  CONFIG_PCIFRONT=y
> +CONFIG_KEEP_STARTINFO=y
>
diff mbox

Patch

diff --git a/stubdom/grub/minios.cfg b/stubdom/grub/minios.cfg
index 8df4909..0e81f0a 100644
--- a/stubdom/grub/minios.cfg
+++ b/stubdom/grub/minios.cfg
@@ -1,3 +1,4 @@ 
 CONFIG_START_NETWORK=n
 CONFIG_SPARSE_BSS=n
 CONFIG_TPMFRONT=y
+CONFIG_KEEP_STARTINFO=y
diff --git a/stubdom/ioemu-minios.cfg b/stubdom/ioemu-minios.cfg
index d690553..9e9ea99 100644
--- a/stubdom/ioemu-minios.cfg
+++ b/stubdom/ioemu-minios.cfg
@@ -1,3 +1,4 @@ 
 CONFIG_START_NETWORK=n
 CONFIG_QEMU_XS_ARGS=y
 CONFIG_PCIFRONT=y
+CONFIG_KEEP_STARTINFO=y