]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMonitorJSONMakeCPUModel: Introduce @hv_passthrough argument
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 19 Dec 2022 13:45:45 +0000 (14:45 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 5 Jan 2023 11:35:25 +0000 (12:35 +0100)
commit7c12eb23975f9e7a559f726f515fae5d4aced1ab
tree910b962749d84c7db2ae1b3aa8a1dfc92ae728d0
parent7c1ecfd512f7dc6e9ae56b0b33adb9cd94e15b8c
qemuMonitorJSONMakeCPUModel: Introduce @hv_passthrough argument

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@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_monitor_json.c