summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/lguest/lguest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lguest/lguest.c b/tools/lguest/lguest.c
index 80159e6811c2..ff0aa580c6e1 100644
--- a/tools/lguest/lguest.c
+++ b/tools/lguest/lguest.c
@@ -3351,8 +3351,8 @@ int main(int argc, char *argv[])
3351 /* Boot protocol version: 2.07 supports the fields for lguest. */ 3351 /* Boot protocol version: 2.07 supports the fields for lguest. */
3352 boot->hdr.version = 0x207; 3352 boot->hdr.version = 0x207;
3353 3353
3354 /* The hardware_subarch value of "1" tells the Guest it's an lguest. */ 3354 /* X86_SUBARCH_LGUEST tells the Guest it's an lguest. */
3355 boot->hdr.hardware_subarch = 1; 3355 boot->hdr.hardware_subarch = X86_SUBARCH_LGUEST;
3356 3356
3357 /* Tell the entry path not to try to reload segment registers. */ 3357 /* Tell the entry path not to try to reload segment registers. */
3358 boot->hdr.loadflags |= KEEP_SEGMENTS; 3358 boot->hdr.loadflags |= KEEP_SEGMENTS;