[libvirt] [PATCH 00/12] Couple of host info getting improvements

Michal Privoznik mprivozn at redhat.com
Thu May 29 08:32:34 UTC 2014


The rationale is to fill in the gaps as described here:

https://wiki.openstack.org/wiki/VirtDriverGuestCPUMemoryPlacement

Note that these are targeted for 1.2.6.

Michal Privoznik (12):
  Introduce virNodeHugeTLB
  Initial virsh exposure of virNodeHugeTLB
  nodeinfo: Implement nodeHugeTLB
  virpci: Introduce virPCIDeviceIsPCIExpress and friends
  nodedev: Introduce <pci-express/> to PCI devices
  virInterface: Expose link state & speed
  interface_backend_udev: Implement link speed & state
  interface_backend_netcf: Implement link speed & state
  virhostdev: Move IOMMU and VFIO funcs from qemu
  virCaps: Introduce IOMMU and VFIO capabilities
  Expose IOMMU and VFIO capabilities from virCaps
  nodedev: Export NUMA node locality for PCI devices

 daemon/remote.c                                    |  54 ++++++
 docs/formatcaps.html.in                            |   8 +-
 docs/formatnode.html.in                            |  25 +++
 docs/schemas/capability.rng                        |  12 ++
 docs/schemas/interface.rng                         |  27 +++
 docs/schemas/nodedev.rng                           |  37 ++++
 include/libvirt/libvirt.h.in                       |  26 +++
 src/conf/capabilities.c                            |  50 ++++++
 src/conf/capabilities.h                            |  11 ++
 src/conf/interface_conf.c                          |  39 ++++-
 src/conf/interface_conf.h                          |  15 ++
 src/conf/node_device_conf.c                        | 166 +++++++++++++++++-
 src/conf/node_device_conf.h                        |  32 +++-
 src/driver.h                                       |   7 +
 src/interface/interface_backend_netcf.c            |  99 +++++++++++
 src/interface/interface_backend_udev.c             |  19 ++
 src/libvirt.c                                      |  59 +++++++
 src/libvirt_private.syms                           |  13 ++
 src/libvirt_public.syms                            |   5 +
 src/lxc/lxc_conf.c                                 |   3 +
 src/node_device/node_device_udev.c                 |  38 ++++
 src/nodeinfo.c                                     | 192 +++++++++++++++++++++
 src/nodeinfo.h                                     |   6 +
 src/parallels/parallels_driver.c                   |   3 +
 src/phyp/phyp_driver.c                             |   3 +
 src/qemu/qemu_capabilities.c                       |   3 +
 src/qemu/qemu_driver.c                             |  30 +++-
 src/qemu/qemu_hostdev.c                            |  93 ++--------
 src/qemu/qemu_hostdev.h                            |   2 -
 src/remote/remote_driver.c                         |  48 ++++++
 src/remote/remote_protocol.x                       |  19 +-
 src/remote_protocol-structs                        |  13 ++
 src/uml/uml_conf.c                                 |   3 +
 src/util/virhostdev.c                              |  73 ++++++++
 src/util/virhostdev.h                              |   4 +
 src/util/virpci.c                                  |  81 ++++++++-
 src/util/virpci.h                                  |   8 +
 src/vbox/vbox_tmpl.c                               |   3 +
 tests/capabilityschemadata/caps-qemu-kvm.xml       |   2 +
 tests/capabilityschemadata/caps-test.xml           |   2 +
 tests/capabilityschemadata/caps-test2.xml          |   2 +
 tests/capabilityschemadata/caps-test3.xml          |   2 +
 tests/interfaceschemadata/bridge-no-address.xml    |   1 +
 tests/interfaceschemadata/bridge.xml               |   1 +
 tests/interfaceschemadata/ethernet-dhcp.xml        |   1 +
 tests/nodedevschemadata/pci_1002_71c4.xml          |   1 +
 tests/nodedevschemadata/pci_8086_10c9_sriov_pf.xml |   1 +
 .../pci_8086_4238_pcie_wireless.xml                |  26 +++
 tests/nodedevxml2xmltest.c                         |   1 +
 tests/xencapsdata/xen-i686-pae-hvm.xml             |   2 +
 tests/xencapsdata/xen-i686-pae.xml                 |   2 +
 tests/xencapsdata/xen-i686.xml                     |   2 +
 tests/xencapsdata/xen-ia64-be-hvm.xml              |   2 +
 tests/xencapsdata/xen-ia64-be.xml                  |   2 +
 tests/xencapsdata/xen-ia64-hvm.xml                 |   2 +
 tests/xencapsdata/xen-ia64.xml                     |   2 +
 tests/xencapsdata/xen-ppc64.xml                    |   2 +
 tests/xencapsdata/xen-x86_64-hvm.xml               |   2 +
 tests/xencapsdata/xen-x86_64.xml                   |   2 +
 tools/virsh-host.c                                 |  62 +++++++
 tools/virsh.pod                                    |   7 +
 61 files changed, 1371 insertions(+), 87 deletions(-)
 create mode 100644 tests/nodedevschemadata/pci_8086_4238_pcie_wireless.xml

-- 
1.9.3




More information about the libvir-list mailing list