This repository now holds libreims_vgpu, a Rust library that is the host side of the paravirtualized GPU macOS guests drive, in place of Apple's ParavirtualizedGraphics.framework: the library and its C API (reims_vgpu.h), the PCI device's option ROM, QEMU's apple-gfx on that API (vendor/qemu), the behaviour-lock suite that drives the C API as QEMU does, and reims-ctl, the VM manager users run. README.md says what it is and how it is laid out, and AGENTS.md how to change it. Every file of the earlier tree is replaced. vendor/qemu moves to the steelbrain/reims-vgpu branch of the same public repository.
50 lines
3.7 KiB
JSON
50 lines
3.7 KiB
JSON
# device_info_refusals: The destination page must map: page 0, a page past guest RAM and 0xffffffff make device_info::get_device_info raise (the page is not mapped), and the command faults; a short payload (8 bytes) faults before anything is written; a longer one (16 bytes) is accepted.
|
|
{"op": "config", "ram": [["0x40000000", "0x4000000"]], "stamp_gpa": "0x40008000", "stamp_slots": 2, "watchdog_s": 30}
|
|
{"off": "0x1034", "op": "mmio_w", "val": "0xf5"}
|
|
{"off": "0x101c", "op": "mmio_w", "val": "0x10001"}
|
|
{"off": "0x1030", "op": "mmio_w", "val": "0x10002"}
|
|
{"off": "0x1004", "op": "mmio_w", "val": "0x8000"}
|
|
{"off": "0x1010", "op": "mmio_w", "val": "0x400"}
|
|
{"off": "0x1000", "op": "mmio_w", "val": "0x1"}
|
|
{"byte": 165, "gpa": "0x40010000", "len": "0x180", "op": "fill"}
|
|
{"gpa": "0x40008400", "hex": "3a0000001800000001000000400000004000000000000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x18"}
|
|
{"label": "destination page 0x0", "mmio": "0x102c", "mmio_eq": "0x1", "op": "wait", "timeout_ms": 5000}
|
|
{"label": "destination page 0x0", "off": "0x102c", "op": "mmio_r"}
|
|
{"label": "destination page 0x0", "off": "0x103c", "op": "mmio_r"}
|
|
{"off": "0x1024", "op": "mmio_w", "val": "0x0"}
|
|
{"ge": "0x1", "gpa": "0x40008000", "label": "stamp 1 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x40010000", "label": "destination page 0x0", "len": "0x180", "op": "dump"}
|
|
{"byte": 165, "gpa": "0x40010000", "len": "0x180", "op": "fill"}
|
|
{"gpa": "0x40008418", "hex": "3a0000001800000002000000400000004000000000100100", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x30"}
|
|
{"label": "destination page 0x11000", "mmio": "0x102c", "mmio_eq": "0x1", "op": "wait", "timeout_ms": 5000}
|
|
{"label": "destination page 0x11000", "off": "0x102c", "op": "mmio_r"}
|
|
{"label": "destination page 0x11000", "off": "0x103c", "op": "mmio_r"}
|
|
{"off": "0x1024", "op": "mmio_w", "val": "0x0"}
|
|
{"ge": "0x2", "gpa": "0x40008000", "label": "stamp 2 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x40010000", "label": "destination page 0x11000", "len": "0x180", "op": "dump"}
|
|
{"byte": 165, "gpa": "0x40010000", "len": "0x180", "op": "fill"}
|
|
{"gpa": "0x40008430", "hex": "3a00000018000000030000004000000040000000ffffffff", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x48"}
|
|
{"label": "destination page 0xffffffff", "mmio": "0x102c", "mmio_eq": "0x1", "op": "wait", "timeout_ms": 5000}
|
|
{"label": "destination page 0xffffffff", "off": "0x102c", "op": "mmio_r"}
|
|
{"label": "destination page 0xffffffff", "off": "0x103c", "op": "mmio_r"}
|
|
{"off": "0x1024", "op": "mmio_w", "val": "0x0"}
|
|
{"ge": "0x3", "gpa": "0x40008000", "label": "stamp 3 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x40010000", "label": "destination page 0xffffffff", "len": "0x180", "op": "dump"}
|
|
{"byte": 165, "gpa": "0x40010000", "len": "0x180", "op": "fill"}
|
|
{"gpa": "0x40008448", "hex": "3a00000014000000040000004000000040000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x5c"}
|
|
{"label": "8-byte payload", "mmio": "0x102c", "mmio_eq": "0x1", "op": "wait", "timeout_ms": 5000}
|
|
{"label": "8-byte payload", "off": "0x102c", "op": "mmio_r"}
|
|
{"label": "8-byte payload", "off": "0x103c", "op": "mmio_r"}
|
|
{"off": "0x1024", "op": "mmio_w", "val": "0x0"}
|
|
{"ge": "0x4", "gpa": "0x40008000", "label": "stamp 4 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"byte": 165, "gpa": "0x40010000", "len": "0x180", "op": "fill"}
|
|
{"gpa": "0x4000845c", "hex": "3a0000001c00000005000000030000004000000004000100ffffffff", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x78"}
|
|
{"ge": "0x5", "gpa": "0x40008000", "label": "16-byte payload", "op": "wait", "timeout_ms": 5000}
|
|
{"gpa": "0x40010000", "label": "16-byte payload", "len": "0x180", "op": "dump"}
|
|
{"label": "end", "op": "events"}
|