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.
34 lines
2.5 KiB
JSON
34 lines
2.5 KiB
JSON
# fifo_frame_underflow: A barrier count whose barriers do not fit the length faults the command: its stamp is pushed and faulted (the separate "insufficient bytes" check tests the same condition, so it never fires). Only the header is consumed: with length 12 and one barrier, the next command parses cleanly; with length 16 and two barriers, the header's 4 extra bytes become the start of the next header, here a NOP (stamp 5) the guest spelled across the boundary.
|
|
{"op": "config", "ram": [["0x40000000", "0x4000000"]], "stamp_gpa": "0x40008000", "stamp_slots": 1, "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"}
|
|
{"gpa": "0x40008400", "hex": "1e0000000c00000001000000", "op": "mem"}
|
|
{"gpa": "0x4000840c", "hex": "1e0001000c00000002000000", "op": "mem"}
|
|
{"gpa": "0x40008418", "hex": "1e0000000c00000003000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x24"}
|
|
{"label": "fault", "mmio": "0x102c", "mmio_eq": "0x1", "op": "wait", "timeout_ms": 5000}
|
|
{"mmio": "0x100c", "mmio_eq": "0x24", "op": "wait", "timeout_ms": 5000}
|
|
{"irq_stamps": true, "label": "one barrier in 12 bytes", "op": "events"}
|
|
{"label": "faulted", "off": "0x102c", "op": "mmio_r"}
|
|
{"label": "faulted", "off": "0x103c", "op": "mmio_r"}
|
|
{"off": "0x100c", "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}
|
|
{"irq_stamps": true, "label": "resumed", "op": "events"}
|
|
{"gpa": "0x40008424", "hex": "1e00020010000000040000001e000000", "op": "mem"}
|
|
{"gpa": "0x40008434", "hex": "0c00000005000000", "op": "mem"}
|
|
{"gpa": "0x4000843c", "hex": "1e0000000c00000006000000", "op": "mem"}
|
|
{"off": "0x1008", "op": "mmio_w", "val": "0x48"}
|
|
{"label": "fault", "mmio": "0x102c", "mmio_eq": "0x1", "op": "wait", "timeout_ms": 5000}
|
|
{"mmio": "0x100c", "mmio_eq": "0x48", "op": "wait", "timeout_ms": 5000}
|
|
{"label": "two barriers in 16 bytes", "off": "0x102c", "op": "mmio_r"}
|
|
{"label": "two barriers in 16 bytes", "off": "0x103c", "op": "mmio_r"}
|
|
{"off": "0x1024", "op": "mmio_w", "val": "0x0"}
|
|
{"ge": "0x6", "gpa": "0x40008000", "label": "stamp 6 on FIFO 0", "op": "wait", "timeout_ms": 5000}
|
|
{"irq_stamps": true, "label": "the NOP spelled across the boundary ran", "op": "events"}
|
|
{"gpa": "0x40008000", "label": "stamp slots 0-0", "len": "0x4", "op": "dump"}
|