Hi Kevin,

On 4/2/24 21:01, Kevin Wolf wrote:
Maybe I'm wrong. So I want to double check with if the -cpu option
support json format nowadays?
As far as I can see, -cpu doesn't support JSON yet. But even if it did,
your command line would be invalid because the 'host,' part isn't JSON.


Thanks for answering my question. I guess I should still keep the current implementation, and to transform the property in the future when the -cpu option support JSON format.

Thanks,
Shaoqin

If the -cpu option doesn't support json format, how I can use the QAPI
for kvm-pmu-filter property?
This would probably mean QAPIfying all CPUs first, which sounds like a
major effort.

--
Shaoqin


Reply via email to