X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/ebb55b7e5f0b8f31328950ec383b77b208ffbb64..50b4ecfb1b28e9b1dfc57b6a876fcdf938092152:/lunaix-os/scripts/qemus/qemu_x86_dev.json diff --git a/lunaix-os/scripts/qemus/qemu_x86_dev.json b/lunaix-os/scripts/qemus/qemu_x86_dev.json index e006691..60b292e 100644 --- a/lunaix-os/scripts/qemus/qemu_x86_dev.json +++ b/lunaix-os/scripts/qemus/qemu_x86_dev.json @@ -1,6 +1,7 @@ { "arch": "$ARCH", "memory": "1G", + "ncpu": 1, "machine": "q35", "cpu": { "type": "base", @@ -27,18 +28,26 @@ }, "devices": [ { - "class": "basic_serial", - "protocol": "telnet", - "addr": ":12345", - "logfile": "lunaix_ttyS0.log" + "class": "isa-serial", + "io": { + "type": "telnet", + "port": "12345", + "logfile": "lunaix_ttyS0.log" + } }, { "class": "pci-serial", - "logfile": "ttyPCI0.log" + "io": { + "type": "null", + "logfile": "ttypci1.log" + } }, { "class": "pci-serial", - "logfile": "ttyPCI1.log" + "io": { + "type": "null", + "logfile": "ttypci2.log" + } }, { "class": "rtc", @@ -53,14 +62,21 @@ "img": "$KIMG", "ro": true, "format": "raw" + }, + { + "type": "ide-hd", + "img": "$EXT2_TEST_DISC", + "format": "raw" } ] }, { "class": "hmp", - "protocol": "telnet", - "addr": ":$QMPORT", - "logfile": "qm.log" + "io": { + "type": "telnet", + "port": "$QMPORT", + "logfile": "qm.log" + } } ] } \ No newline at end of file