On Wed, 2016-01-06 at 12:34 +0100, Christoffer Dall wrote: > > > libvirt already has to spawn QEMU and run QMP commands to probe for > > dozens of other capabilities, so we have very robust code to do that. > > > > Most importantly, as I wrote in a previous mail, if the check is done > > by QEMU we remove the risk of it and libvirt ever disagreeing. > > > So do I understand correct that what you're looking for is a QMP command > to query for host GIC capabilities? That's correct, having a QMP command that lists the values gic-version can have on the current host would be just great. If we had that, we could validate the GIC version chosen for a guest, and expose it in the capabilities XML so that higher-level tools can provide a list of choices to the user. Please note that this QMP command would have to work regardless of the machine type selected on QEMU's command line, because libvirt always runs a QEMU binary with '-M none' when probing its capabilities. Cheers. -- Andrea Bolognani Software Engineer - Virtualization Team -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list