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.
141 lines
8.0 KiB
JSON
141 lines
8.0 KiB
JSON
# efi_mapping_refusals: The mapping (on start or length writes) needs both nonzero, a length that is a 16 KiB multiple and at most 64 MiB, and guest memory that maps; otherwise it logs and nothing is presented. A task that failed to map is destroyed. Each case starts from a fresh EFI display (0x1200 = 0, then 1), because a refusal after a valid mapping leaves a stale task (efi_stale_task).
|
|
{"descriptor": {"trace": true}, "displays": [{"modes": [[64, 32, 60]], "name": "suite", "port": 0, "serial": 1000}], "op": "config", "ram": [["0x40000000", "0x4000000"]], "stamp_slots": 2, "watchdog_s": 30}
|
|
{"off": "0x1034", "op": "mmio_w", "val": "0xf5"}
|
|
{"label": "length 0", "op": "mark"}
|
|
{"off": "0x1200", "op": "mmio_w", "val": "0x1"}
|
|
{"off": "0x121c", "op": "mmio_w", "val": "0x80010"}
|
|
{"off": "0x1218", "op": "mmio_w", "val": "0x20"}
|
|
{"off": "0x1228", "op": "mmio_w", "val": "0x40"}
|
|
{"off": "0x1210", "op": "mmio_w", "val": "0x10002"}
|
|
{"off": "0x1214", "op": "mmio_w", "val": "0x0"}
|
|
{"op": "quiesce", "quiet_ms": 40}
|
|
{"label": "length 0", "op": "events"}
|
|
{"label": "length 0", "off": "0x1200", "op": "mmio_r"}
|
|
{"label": "length 0", "off": "0x1204", "op": "mmio_r"}
|
|
{"label": "length 0", "off": "0x120c", "op": "mmio_r"}
|
|
{"label": "length 0", "off": "0x1210", "op": "mmio_r"}
|
|
{"label": "length 0", "off": "0x1214", "op": "mmio_r"}
|
|
{"label": "length 0", "off": "0x1218", "op": "mmio_r"}
|
|
{"label": "length 0", "off": "0x121c", "op": "mmio_r"}
|
|
{"label": "length 0", "off": "0x1224", "op": "mmio_r"}
|
|
{"label": "length 0", "off": "0x1228", "op": "mmio_r"}
|
|
{"off": "0x1200", "op": "mmio_w", "val": "0x0"}
|
|
{"label": "length 0, disabled", "op": "events"}
|
|
{"label": "start 0", "op": "mark"}
|
|
{"off": "0x1200", "op": "mmio_w", "val": "0x1"}
|
|
{"off": "0x121c", "op": "mmio_w", "val": "0x80010"}
|
|
{"off": "0x1218", "op": "mmio_w", "val": "0x20"}
|
|
{"off": "0x1228", "op": "mmio_w", "val": "0x40"}
|
|
{"off": "0x1210", "op": "mmio_w", "val": "0x0"}
|
|
{"off": "0x1214", "op": "mmio_w", "val": "0x4000"}
|
|
{"op": "quiesce", "quiet_ms": 40}
|
|
{"label": "start 0", "op": "events"}
|
|
{"label": "start 0", "off": "0x1200", "op": "mmio_r"}
|
|
{"label": "start 0", "off": "0x1204", "op": "mmio_r"}
|
|
{"label": "start 0", "off": "0x120c", "op": "mmio_r"}
|
|
{"label": "start 0", "off": "0x1210", "op": "mmio_r"}
|
|
{"label": "start 0", "off": "0x1214", "op": "mmio_r"}
|
|
{"label": "start 0", "off": "0x1218", "op": "mmio_r"}
|
|
{"label": "start 0", "off": "0x121c", "op": "mmio_r"}
|
|
{"label": "start 0", "off": "0x1224", "op": "mmio_r"}
|
|
{"label": "start 0", "off": "0x1228", "op": "mmio_r"}
|
|
{"off": "0x1200", "op": "mmio_w", "val": "0x0"}
|
|
{"label": "start 0, disabled", "op": "events"}
|
|
{"label": "length not a page multiple", "op": "mark"}
|
|
{"off": "0x1200", "op": "mmio_w", "val": "0x1"}
|
|
{"off": "0x121c", "op": "mmio_w", "val": "0x80010"}
|
|
{"off": "0x1218", "op": "mmio_w", "val": "0x20"}
|
|
{"off": "0x1228", "op": "mmio_w", "val": "0x40"}
|
|
{"off": "0x1210", "op": "mmio_w", "val": "0x10002"}
|
|
{"off": "0x1214", "op": "mmio_w", "val": "0x4004"}
|
|
{"op": "quiesce", "quiet_ms": 40}
|
|
{"label": "length not a page multiple", "op": "events"}
|
|
{"label": "length not a page multiple", "off": "0x1200", "op": "mmio_r"}
|
|
{"label": "length not a page multiple", "off": "0x1204", "op": "mmio_r"}
|
|
{"label": "length not a page multiple", "off": "0x120c", "op": "mmio_r"}
|
|
{"label": "length not a page multiple", "off": "0x1210", "op": "mmio_r"}
|
|
{"label": "length not a page multiple", "off": "0x1214", "op": "mmio_r"}
|
|
{"label": "length not a page multiple", "off": "0x1218", "op": "mmio_r"}
|
|
{"label": "length not a page multiple", "off": "0x121c", "op": "mmio_r"}
|
|
{"label": "length not a page multiple", "off": "0x1224", "op": "mmio_r"}
|
|
{"label": "length not a page multiple", "off": "0x1228", "op": "mmio_r"}
|
|
{"off": "0x1200", "op": "mmio_w", "val": "0x0"}
|
|
{"label": "length not a page multiple, disabled", "op": "events"}
|
|
{"label": "length over 64 MiB", "op": "mark"}
|
|
{"off": "0x1200", "op": "mmio_w", "val": "0x1"}
|
|
{"off": "0x121c", "op": "mmio_w", "val": "0x80010"}
|
|
{"off": "0x1218", "op": "mmio_w", "val": "0x20"}
|
|
{"off": "0x1228", "op": "mmio_w", "val": "0x40"}
|
|
{"off": "0x1210", "op": "mmio_w", "val": "0x10002"}
|
|
{"off": "0x1214", "op": "mmio_w", "val": "0x4004000"}
|
|
{"op": "quiesce", "quiet_ms": 40}
|
|
{"label": "length over 64 MiB", "op": "events"}
|
|
{"label": "length over 64 MiB", "off": "0x1200", "op": "mmio_r"}
|
|
{"label": "length over 64 MiB", "off": "0x1204", "op": "mmio_r"}
|
|
{"label": "length over 64 MiB", "off": "0x120c", "op": "mmio_r"}
|
|
{"label": "length over 64 MiB", "off": "0x1210", "op": "mmio_r"}
|
|
{"label": "length over 64 MiB", "off": "0x1214", "op": "mmio_r"}
|
|
{"label": "length over 64 MiB", "off": "0x1218", "op": "mmio_r"}
|
|
{"label": "length over 64 MiB", "off": "0x121c", "op": "mmio_r"}
|
|
{"label": "length over 64 MiB", "off": "0x1224", "op": "mmio_r"}
|
|
{"label": "length over 64 MiB", "off": "0x1228", "op": "mmio_r"}
|
|
{"off": "0x1200", "op": "mmio_w", "val": "0x0"}
|
|
{"label": "length over 64 MiB, disabled", "op": "events"}
|
|
{"label": "64 MiB, past the end of RAM", "op": "mark"}
|
|
{"off": "0x1200", "op": "mmio_w", "val": "0x1"}
|
|
{"off": "0x121c", "op": "mmio_w", "val": "0x80010"}
|
|
{"off": "0x1218", "op": "mmio_w", "val": "0x20"}
|
|
{"off": "0x1228", "op": "mmio_w", "val": "0x40"}
|
|
{"off": "0x1210", "op": "mmio_w", "val": "0x10002"}
|
|
{"off": "0x1214", "op": "mmio_w", "val": "0x4000000"}
|
|
{"op": "quiesce", "quiet_ms": 40}
|
|
{"label": "64 MiB, past the end of RAM", "op": "events"}
|
|
{"label": "64 MiB, past the end of RAM", "off": "0x1200", "op": "mmio_r"}
|
|
{"label": "64 MiB, past the end of RAM", "off": "0x1204", "op": "mmio_r"}
|
|
{"label": "64 MiB, past the end of RAM", "off": "0x120c", "op": "mmio_r"}
|
|
{"label": "64 MiB, past the end of RAM", "off": "0x1210", "op": "mmio_r"}
|
|
{"label": "64 MiB, past the end of RAM", "off": "0x1214", "op": "mmio_r"}
|
|
{"label": "64 MiB, past the end of RAM", "off": "0x1218", "op": "mmio_r"}
|
|
{"label": "64 MiB, past the end of RAM", "off": "0x121c", "op": "mmio_r"}
|
|
{"label": "64 MiB, past the end of RAM", "off": "0x1224", "op": "mmio_r"}
|
|
{"label": "64 MiB, past the end of RAM", "off": "0x1228", "op": "mmio_r"}
|
|
{"off": "0x1200", "op": "mmio_w", "val": "0x0"}
|
|
{"label": "64 MiB, past the end of RAM, disabled", "op": "events"}
|
|
{"label": "outside guest RAM", "op": "mark"}
|
|
{"off": "0x1200", "op": "mmio_w", "val": "0x1"}
|
|
{"off": "0x121c", "op": "mmio_w", "val": "0x80010"}
|
|
{"off": "0x1218", "op": "mmio_w", "val": "0x20"}
|
|
{"off": "0x1228", "op": "mmio_w", "val": "0x40"}
|
|
{"off": "0x1210", "op": "mmio_w", "val": "0x10"}
|
|
{"off": "0x1214", "op": "mmio_w", "val": "0x4000"}
|
|
{"op": "quiesce", "quiet_ms": 40}
|
|
{"label": "outside guest RAM", "op": "events"}
|
|
{"label": "outside guest RAM", "off": "0x1200", "op": "mmio_r"}
|
|
{"label": "outside guest RAM", "off": "0x1204", "op": "mmio_r"}
|
|
{"label": "outside guest RAM", "off": "0x120c", "op": "mmio_r"}
|
|
{"label": "outside guest RAM", "off": "0x1210", "op": "mmio_r"}
|
|
{"label": "outside guest RAM", "off": "0x1214", "op": "mmio_r"}
|
|
{"label": "outside guest RAM", "off": "0x1218", "op": "mmio_r"}
|
|
{"label": "outside guest RAM", "off": "0x121c", "op": "mmio_r"}
|
|
{"label": "outside guest RAM", "off": "0x1224", "op": "mmio_r"}
|
|
{"label": "outside guest RAM", "off": "0x1228", "op": "mmio_r"}
|
|
{"off": "0x1200", "op": "mmio_w", "val": "0x0"}
|
|
{"label": "outside guest RAM, disabled", "op": "events"}
|
|
{"off": "0x1200", "op": "mmio_w", "val": "0x1"}
|
|
{"off": "0x121c", "op": "mmio_w", "val": "0x80010"}
|
|
{"off": "0x1218", "op": "mmio_w", "val": "0x20"}
|
|
{"off": "0x1228", "op": "mmio_w", "val": "0x40"}
|
|
{"off": "0x1210", "op": "mmio_w", "val": "0x10002"}
|
|
{"off": "0x1214", "op": "mmio_w", "val": "0x4000"}
|
|
{"cb": "newFrame", "cb_count": 1, "op": "wait", "timeout_ms": 5000}
|
|
{"label": "valid", "op": "events"}
|
|
{"label": "end", "off": "0x1200", "op": "mmio_r"}
|
|
{"label": "end", "off": "0x1204", "op": "mmio_r"}
|
|
{"label": "end", "off": "0x120c", "op": "mmio_r"}
|
|
{"label": "end", "off": "0x1210", "op": "mmio_r"}
|
|
{"label": "end", "off": "0x1214", "op": "mmio_r"}
|
|
{"label": "end", "off": "0x1218", "op": "mmio_r"}
|
|
{"label": "end", "off": "0x121c", "op": "mmio_r"}
|
|
{"label": "end", "off": "0x1224", "op": "mmio_r"}
|
|
{"label": "end", "off": "0x1228", "op": "mmio_r"}
|