Hi, >> How would that work? I have QXLInfo that only makes sense when the >> information is about a qxl device. Can't have opaque data in a QMP >> response, so would this be a "info display qxl" "info display cirrus" >> etc. or "info qxl"? > > You could show what's available and/or being used currently.
I think (Alon, correct me if I'm wrong) the use case is being able to figure whenever the guest drivers are installed and active. There isn't much point in doing that for stdvga and cirrus IMHO. It might be useful for other paravirtual devices where we have to install drivers (in windows guests, also older linux). I'm not sure it is possible given that ipxe and seabios support booting from virtio-{blk,net,scsi}, so you'll see the device being used even if the guest os lacks drivers ... cheers, Gerd