[libvirt PATCH v4 1/3] add QEMU_CAPS_TCG_DISABLED and probe conditionally

Peter Krempa pkrempa at redhat.com
Tue Apr 28 11:19:00 UTC 2020


On Tue, Apr 28, 2020 at 13:13:32 +0200, Ján Tomko wrote:
> On a Tuesday in 2020, Michal Privoznik wrote:
> > On 4/27/20 10:22 PM, tobin wrote:
> > 
> > > Yeah fine with me. Thank You.
> > > 
> > > When it's a positive capability, you don't even need
> > > virQEMUCapsProbeQMPTCGState,
> > > you can just add the capability to virQEMUCapsObjectTypes.
> > > 
> > 
> > Yep. I've went with that. This is now pushed.
> > 
> 
> Umm, how do you know then if the capability is not missing because the
> QEMU is too old to support it?

Yeah, when inverting it, the capability should be assumed by a version
check (yuck) with old qemu.




More information about the libvir-list mailing list