add mem-map for x86_64
[lunaix-os.git] / lunaix-os / scripts / qemus / qemu_x86_dev.json
1 {
2     "arch": "$ARCH",
3     "memory": "1G",
4     "machine": "q35",
5     "cpu": {
6         "type": "base",
7         "features": [
8             "rdrand",
9             "clflush",
10             "lm",
11             "nx",
12             "syscall",
13             "mca",
14             "pse36",
15             "pcid",
16             "invpcid",
17             "cmov",
18             "apic"
19         ]
20     },
21     "debug": {
22         "gdb_port": "$GDB_PORT",
23         "traced": [
24             "x86_recv_fault",
25             "ide_dma_cb"
26         ]
27     },
28     "devices": [
29         {
30             "class": "basic_serial",
31             "protocol": "telnet",
32             "addr": ":12345",
33             "logfile": "lunaix_ttyS0.log"
34         },
35         {
36             "class": "rtc",
37             "base": "utc"
38         },
39         {
40             "class": "ahci",
41             "name": "ahci_0",
42             "disks": [
43                 {
44                     "type": "ide-cd",
45                     "img": "$KIMG",
46                     "ro": true,
47                     "format": "raw"
48                 }
49             ]
50         },
51         {
52             "class": "hmp",
53             "protocol": "telnet",
54             "addr": ":$QMPORT",
55             "logfile": "qm.log"
56         }
57     ]
58 }