[PATCH v1 0/4] Introduce virsh hypervisor-cpu-models

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Allows for the query of hypervisor-known CPU models via the simple
command: virsh hypervisor-cpu-models. For the QEMU driver, the models
are queried via the capabilities file. Each model is printed to the
terminal on its own line similar to the cpu-models command, and there
is no order to the listing.

The models "qemu", "host", and "max" have been excluded from this list
since they are not architecture specific. The code can be easily modified
to include them if desired.

Collin Walling (4):
  Introduce virConnectGetHypervisorCPUNames public API
  remote: Implement virConnectGetHypervisorCPUNames
  virsh: Introduce new hypervisor-cpu-models command
  qemu_driver: Implement qemuConnectGetHypervisorCPUNames

 docs/manpages/virsh.rst        | 20 ++++++++++
 include/libvirt/libvirt-host.h |  6 +++
 src/driver-hypervisor.h        |  9 +++++
 src/libvirt-host.c             | 54 ++++++++++++++++++++++++++
 src/libvirt_public.syms        |  5 +++
 src/qemu/qemu_driver.c         | 62 ++++++++++++++++++++++++++++++
 src/remote/remote_driver.c     |  1 +
 src/remote/remote_protocol.x   | 20 +++++++++-
 src/remote_protocol-structs    | 11 ++++++
 tools/virsh-host.c             | 70 ++++++++++++++++++++++++++++++++++
 10 files changed, 257 insertions(+), 1 deletion(-)

--
2.39.0




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux