{
    "arch": "$ARCH",
    "memory": "1G",
    "ncpu": 1,
    "machine": "q35",
    "cpu": {
        "type": "base",
        "features": [
            "rdrand",
            "clflush",
            "lm",
            "nx",
            "syscall",
            "mca",
            "pse36",
            "pcid",
            "invpcid",
            "cmov",
            "apic"
        ]
    },
    "kernel": {
        "bin": "$KBIN",
        "cmd": "$KCMD"
    },
    "debug": {
        "gdb_port": "$GDB_PORT",
        "traced": [
            "x86_recv_fault",
            "x86_log_pagefault",
            "ide_dma_cb"
        ]
    },
    "devices": [
        {
            "class": "isa-serial",
            "io": {
                "type": "telnet",
                "port": "12345",
                "logfile": "lunaix_ttyS0.log"
            }
        },
        {
            "class": "pci-serial",
            "io": {
                "type": "null",
                "logfile": "ttypci1.log"
            }
        },
        {
            "class": "pci-serial",
            "io": {
                "type": "null",
                "logfile": "ttypci2.log"
            }
        },
        {
            "class": "rtc",
            "base": "utc"
        },
        {
            "class": "ahci",
            "name": "ahci_0",
            "disks": [
                {
                    "type": "ide-hd",
                    "img": "$ROOTFS",
                    "format": "raw"
                }
            ]
        },
        {
            "class": "hmp",
            "io": {
                "type": "telnet",
                "port": "$QMPORT",
                "logfile": "qm.log"
            }
        }
    ]
}