mirror of
https://github.com/utmapp/QEMUKit.git
synced 2026-12-01 07:43:21 -10:00
The guest agent channel carries bytes the guest writes, but QEMUManager handled them as if they came from QEMU's QMP monitor: - any "event" was passed to qapi_event_dispatch(), which aborts on an unknown name (qapi_enum_parse with &error_abort), and a known name ran QEMUMonitor's handler with a QEMUGuestAgent (unrecognized selector -delegate); - an "error" reply that is not a dictionary, or has no "desc", raised an exception or failed the "Both dict and err are null" assertion. The guest agent protocol has no events, so QEMUGuestAgent now ignores them. QEMUManager also ignores event names it does not know instead of aborting, and reads "error" defensively. See utmapp/UTM#7684 Assisted-by: Claude:claude-opus-5-5