Hi, > I'm working on a kind of "troubleshooting log" option for gnome-boxes > which wants to record all these kinds of data so that a helpdesk or a > developer can help figuring out a problem with a guest.
Understood. > Knowing if a qxl > driver is in use is an important piece of information. Additionally it > would be very nice if the driver could report a version string that I > could query (same for virtio driver, etc). Guest driver version information isn't available. For QXL we could track which features are in use by the driver (i.e. whenever it uses sync/async io ports, ...) which might be good enougth for trouble shooting. For virtio it should be likewise easy to figure which device features the guest has activated. If you also wanna have this for non-qxl devices (which makes sense indeed) going the "info spice" route doesn't make that much sense though. It is probably more useful to add an (optional) "report device state" callback to devices which then returns this info in some useful format (qdict?), then wind this up as monitor command. cheers, Gerd