e006691bd09d566b86519cbd8d2fa617a6da54f8
[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": "pci-serial",
37             "logfile": "ttyPCI0.log"
38         },
39         {
40             "class": "pci-serial",
41             "logfile": "ttyPCI1.log"
42         },
43         {
44             "class": "rtc",
45             "base": "utc"
46         },
47         {
48             "class": "ahci",
49             "name": "ahci_0",
50             "disks": [
51                 {
52                     "type": "ide-cd",
53                     "img": "$KIMG",
54                     "ro": true,
55                     "format": "raw"
56                 }
57             ]
58         },
59         {
60             "class": "hmp",
61             "protocol": "telnet",
62             "addr": ":$QMPORT",
63             "logfile": "qm.log"
64         }
65     ]
66 }