git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
regression: test serial port r/w.
[lunaix-os.git]
/
lunaix-os
/
makeinc
/
qemu.mkinc
diff --git
a/lunaix-os/makeinc/qemu.mkinc
b/lunaix-os/makeinc/qemu.mkinc
index 25c99c03cc439bad133226cefe5dda9d3eaa1edb..12d21b8cbcb79b93a20ae80996a8a08ce055a432 100644
(file)
--- a/
lunaix-os/makeinc/qemu.mkinc
+++ b/
lunaix-os/makeinc/qemu.mkinc
@@
-1,16
+1,16
@@
QEMU_MON_TERM := gnome-terminal
QEMU_MON_PORT := 45454
QEMU_MON_TERM := gnome-terminal
QEMU_MON_PORT := 45454
-
QEMU_OPTIONS :
= -s -S -m 1G \
+
get_qemu_options
= -s -S -m 1G \
-rtc base=utc \
-no-reboot \
-machine q35 \
-no-shutdown \
-d cpu_reset \
-d trace:ide_dma_cb \
-rtc base=utc \
-no-reboot \
-machine q35 \
-no-shutdown \
-d cpu_reset \
-d trace:ide_dma_cb \
- -serial t
cp
::12345,server,nowait\
+ -serial t
elnet
::12345,server,nowait\
-drive id=disk,file="machine/disk0.vdi",if=none \
-drive id=disk,file="machine/disk0.vdi",if=none \
- -drive id=cdrom,file="$(
BUILD_DIR)/$(OS_ISO
)",readonly=on,if=none,format=raw \
+ -drive id=cdrom,file="$(
1
)",readonly=on,if=none,format=raw \
-device ahci,id=ahci \
-device ide-hd,drive=disk,bus=ahci.0 \
-device ide-cd,drive=cdrom,bus=ahci.1 \
-device ahci,id=ahci \
-device ide-hd,drive=disk,bus=ahci.0 \
-device ide-cd,drive=cdrom,bus=ahci.1 \