[PATCH v1 3/7] qemuMonitorJSONMakeCPUModel: Introduce @hv_passthrough argument

Peter Krempa pkrempa at redhat.com
Tue Jan 3 13:09:17 UTC 2023


On Thu, Dec 22, 2022 at 14:01:39 +0100, Michal Privoznik wrote:
> Apart from setting @migratable prop to the
> query-cpu-model-expansion command, we will need @hv-passthrough
> so that we can query for expansion of Hyper-V Enlightenments
> supported on the current host. The idea is to run:
> 
> {
>   "execute": "query-cpu-model-expansion",
>   "arguments": {
>     "type": "full",
>     "model": {
>       "name": "host",
>       "props": {
>         "hv-passthrough": true
>       }
>     }
>   }
> }
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/qemu/qemu_monitor_json.c | 20 +++++++++++++-------
>  1 file changed, 13 insertions(+), 7 deletions(-)

Reviewed-by: Peter Krempa <pkrempa at redhat.com>


More information about the libvir-list mailing list