optimize the menuconfig redrawing
[lunaix-os.git] / lunaix-os / scripts / qemus / qemu_x86_dev.json
1 {
2     "arch": "$ARCH",
3     "memory": "1G",
4     "ncpu": 1,
5     "machine": "q35",
6     "cpu": {
7         "type": "base",
8         "features": [
9             "rdrand",
10             "clflush",
11             "lm",
12             "nx",
13             "syscall",
14             "mca",
15             "pse36",
16             "pcid",
17             "invpcid",
18             "cmov",
19             "apic"
20         ]
21     },
22     "debug": {
23         "gdb_port": "$GDB_PORT",
24         "traced": [
25             "x86_recv_fault",
26             "ide_dma_cb"
27         ]
28     },
29     "devices": [
30         {
31             "class": "isa-serial",
32             "io": {
33                 "type": "telnet",
34                 "port": "12345",
35                 "logfile": "lunaix_ttyS0.log"
36             }
37         },
38         {
39             "class": "pci-serial",
40             "io": {
41                 "type": "null",
42                 "logfile": "ttypci1.log"
43             }
44         },
45         {
46             "class": "pci-serial",
47             "io": {
48                 "type": "null",
49                 "logfile": "ttypci2.log"
50             }
51         },
52         {
53             "class": "rtc",
54             "base": "utc"
55         },
56         {
57             "class": "ahci",
58             "name": "ahci_0",
59             "disks": [
60                 {
61                     "type": "ide-cd",
62                     "img": "$KIMG",
63                     "ro": true,
64                     "format": "raw"
65                 },
66                 {
67                     "type": "ide-hd",
68                     "img": "$EXT2_TEST_DISC",
69                     "format": "raw"
70                 }
71             ]
72         },
73         {
74             "class": "hmp",
75             "io": {
76                 "type": "telnet",
77                 "port": "$QMPORT",
78                 "logfile": "qm.log"
79             }
80         }
81     ]
82 }