|
@@ -3351,8 +3351,8 @@ int main(int argc, char *argv[])
|
|
/* Boot protocol version: 2.07 supports the fields for lguest. */
|
|
/* Boot protocol version: 2.07 supports the fields for lguest. */
|
|
boot->hdr.version = 0x207;
|
|
boot->hdr.version = 0x207;
|
|
|
|
|
|
- /* The hardware_subarch value of "1" tells the Guest it's an lguest. */
|
|
|
|
- boot->hdr.hardware_subarch = 1;
|
|
|
|
|
|
+ /* X86_SUBARCH_LGUEST tells the Guest it's an lguest. */
|
|
|
|
+ boot->hdr.hardware_subarch = X86_SUBARCH_LGUEST;
|
|
|
|
|
|
/* Tell the entry path not to try to reload segment registers. */
|
|
/* Tell the entry path not to try to reload segment registers. */
|
|
boot->hdr.loadflags |= KEEP_SEGMENTS;
|
|
boot->hdr.loadflags |= KEEP_SEGMENTS;
|