Improve cake allocator's memory utilisation (#43)
[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": "basic_serial",
32             "protocol": "telnet",
33             "addr": ":12345",
34             "logfile": "lunaix_ttyS0.log"
35         },
36         {
37             "class": "pci-serial",
38             "logfile": "ttyPCI0.log"
39         },
40         {
41             "class": "pci-serial",
42             "logfile": "ttyPCI1.log"
43         },
44         {
45             "class": "rtc",
46             "base": "utc"
47         },
48         {
49             "class": "ahci",
50             "name": "ahci_0",
51             "disks": [
52                 {
53                     "type": "ide-cd",
54                     "img": "$KIMG",
55                     "ro": true,
56                     "format": "raw"
57                 },
58                 {
59                     "type": "ide-hd",
60                     "img": "$EXT2_TEST_DISC",
61                     "format": "raw"
62                 }
63             ]
64         },
65         {
66             "class": "hmp",
67             "protocol": "telnet",
68             "addr": ":$QMPORT",
69             "logfile": "qm.log"
70         }
71     ]
72 }