Skip to contentSkip to conversation

stubdom: add CONFIG_KEEP_STARTINFO for stubdoms which reference start_info

PATCH In review Juergen Gross 1 participant 2 messages Aug 29, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 stubdom: add CONFIG_KEEP_STARTINFO for stubdoms which reference start_info

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.

---
 stubdom/grub/minios.cfg  | 1 +
 stubdom/ioemu-minios.cfg | 1 +
 2 files changed, 2 insertions(+)
stubdom/grub/minios.cfg +1 -0
index 8df4909..0e81f0a 100644
@@ -1,3 +1,4 @@
 CONFIG_START_NETWORK=n
 CONFIG_SPARSE_BSS=n
 CONFIG_TPMFRONT=y
+CONFIG_KEEP_STARTINFO=y
stubdom/ioemu-minios.cfg +1 -0
index d690553..9e9ea99 100644
@@ -1,3 +1,4 @@
 CONFIG_START_NETWORK=n
 CONFIG_QEMU_XS_ARGS=y
 CONFIG_PCIFRONT=y
+CONFIG_KEEP_STARTINFO=y
Signature · 7 lines
2.6.6


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#1 lore raw
Quoted 5 lines · Juergen Gross

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.

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

Juergen

Quoted 20 lines
---
 stubdom/grub/minios.cfg  | 1 +
 stubdom/ioemu-minios.cfg | 1 +
 2 files changed, 2 insertions(+)
stubdom/grub/minios.cfg +1 -0
index 8df4909..0e81f0a 100644
@@ -1,3 +1,4 @@
 CONFIG_START_NETWORK=n
 CONFIG_SPARSE_BSS=n
 CONFIG_TPMFRONT=y
+CONFIG_KEEP_STARTINFO=y
stubdom/ioemu-minios.cfg +0 -0
index d690553..9e9ea99 100644

stubdom/ioemu-minios.cfg line 4

Quoted 4 lines
stubdom/ioemu-minios.cfg +1 -0
@@ -1,3 +1,4 @@
 CONFIG_START_NETWORK=n
 CONFIG_QEMU_XS_ARGS=y
 CONFIG_PCIFRONT=y
+CONFIG_KEEP_STARTINFO=y

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel