Message ID | 2qyt69d0ffo7mg8k0ypaqeii.1364371990950@email.android.com |
---|---|
State | New |
Headers | show |
diff --git a/hw/i386/pc.c b/hw/i386/pc.c index b1e06fa..2b78dfc 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -683,8 +683,10 @@ static void load_linux(void *fw_cfg, if (load_multiboot(fw_cfg, f, kernel_filename, initrd_filename, kernel_cmdline, kernel_size, header)) { return; + } else { + fprintf(stderr, "please assure specicified kernel is for x86!\n"); + exit(1); } - protocol = 0; } if (protocol < 0x200 || !(header[0x211] & 0x01)) {