mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
Let qemu work with latest bochsbios, by Bernhard Kauer.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3154 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
bea6030dcf
commit
44486a89f0
2 changed files with 3 additions and 1 deletions
3
hw/pc.c
3
hw/pc.c
|
@ -197,6 +197,9 @@ static void cmos_init(int ram_size, int boot_device, BlockDriverState **hd_table
|
|||
case 'd':
|
||||
rtc_set_memory(s, 0x3d, 0x03); /* CD-ROM boot */
|
||||
break;
|
||||
case 'n':
|
||||
rtc_set_memory(s, 0x3d, 0x04); /* Network boot */
|
||||
break;
|
||||
}
|
||||
|
||||
/* floppy type */
|
||||
|
|
1
vl.c
1
vl.c
|
@ -8203,7 +8203,6 @@ int main(int argc, char **argv)
|
|||
fprintf(stderr, "No valid PXE rom found for network device\n");
|
||||
exit(1);
|
||||
}
|
||||
boot_device = 'c'; /* to prevent confusion by the BIOS */
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue