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
allow specifiying access mode when creating twifs file node
[lunaix-os.git]
/
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 e006691bd09d566b86519cbd8d2fa617a6da54f8..f52ed94e69afaa7323241f581bdc32085bc1b55e 100644
(file)
--- 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",
{
"arch": "$ARCH",
"memory": "1G",
+ "ncpu": 1,
"machine": "q35",
"cpu": {
"type": "base",
"machine": "q35",
"cpu": {
"type": "base",
@@
-18,27
+19,40
@@
"apic"
]
},
"apic"
]
},
+ "kernel": {
+ "bin": "$KBIN",
+ "cmd": "$KCMD"
+ },
"debug": {
"gdb_port": "$GDB_PORT",
"traced": [
"x86_recv_fault",
"debug": {
"gdb_port": "$GDB_PORT",
"traced": [
"x86_recv_fault",
+ "x86_log_pagefault",
"ide_dma_cb"
]
},
"devices": [
{
"ide_dma_cb"
]
},
"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",
},
{
"class": "pci-serial",
- "logfile": "ttyPCI0.log"
+ "io": {
+ "type": "null",
+ "logfile": "ttypci1.log"
+ }
},
{
"class": "pci-serial",
},
{
"class": "pci-serial",
- "logfile": "ttyPCI1.log"
+ "io": {
+ "type": "null",
+ "logfile": "ttypci2.log"
+ }
},
{
"class": "rtc",
},
{
"class": "rtc",
@@
-49,18
+63,19
@@
"name": "ahci_0",
"disks": [
{
"name": "ahci_0",
"disks": [
{
- "type": "ide-cd",
- "img": "$KIMG",
- "ro": true,
+ "type": "ide-hd",
+ "img": "$ROOTFS",
"format": "raw"
}
]
},
{
"class": "hmp",
"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
}
]
}
\ No newline at end of file