diff options
author | Pavel Hrdina <phrdina@redhat.com> | 2019-03-15 09:49:29 +0100 |
---|---|---|
committer | Pavel Hrdina <phrdina@redhat.com> | 2019-03-19 13:41:53 +0100 |
commit | 95d1275f57da101300e748fd5c22a9b3538dd17e (patch) | |
tree | 3cad4499d3d7c728599a8482831c2bd580e7c21b /virtinst/support.py | |
parent | 8183ba279cf7d891b65e2277b8b53f2a6726d3b9 (diff) | |
download | virt-manager-95d1275f57da101300e748fd5c22a9b3538dd17e.tar.gz |
domcapabilities: get list of CPU models from domcapabilities
Currently we just call libvirt API which will return all CPU models for
specific architecture known to libvirt and we offer all of them to users
in GUI. Let's switch to domain capabilities where we have more details
about these CPUs such as whether each model is usable with current QEMU
binary. If libvirt can detect the usability we will offer only CPU
models that QEMU can actually run.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'virtinst/support.py')
-rw-r--r-- | virtinst/support.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/virtinst/support.py b/virtinst/support.py index 315da99f..7ace3ef6 100644 --- a/virtinst/support.py +++ b/virtinst/support.py @@ -237,8 +237,6 @@ SUPPORT_CONN_AUTOSOCKET = _make(hv_libvirt_version={"qemu": "1.0.6"}) SUPPORT_CONN_PM_DISABLE = _make(hv_version={"qemu": "1.2.0", "test": 0}) SUPPORT_CONN_QCOW2_LAZY_REFCOUNTS = _make( version="1.1.0", hv_version={"qemu": "1.2.0", "test": 0}) -SUPPORT_CONN_CPU_MODEL_NAMES = _make(function="virConnect.getCPUModelNames", - run_args=("x86_64", 0)) SUPPORT_CONN_HYPERV_VAPIC = _make( version="1.1.0", hv_version={"qemu": "1.1.0", "test": 0}) SUPPORT_CONN_HYPERV_CLOCK = _make( |