In debugging recent issues with device emulation and live migrations, I often find myself staring at serialized device data payloads from logs and reconstructing state to answer questions I have. It might be nice to have some tools here to help answer questions like:
- is this device running?
- are there any pending interrupts?
- is this device in an obviously inconsistent state?
Answering such questions is clearly device-specific, but I could imagine writing something like a post-processing script to read logs and construct the data into a more human-readable format. @gjcolombo also floated the idea of having a protected server endpoint where we could query the device payload data, which would be a lot more work, but potentially very valuable.