libvirt/src
Michal Privoznik fc19155819 qemu: Validate memory hotplug in domainValidateCallback instead of cmd line generator
When editing a domain with hotplug enabled, I removed the only
NUMA node it had and got no error. I got the error later though,
when starting the domain. This is not as user friendly as it can
be. Move the validation call out from command line generator and
into domain validator (which is called prior to starting cmd line
generation anyway).

When doing this, I had to remove memory-hotplug-nonuma xml2xml
test case because there is no way the test case can succeed,
obviously.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
2020-09-01 09:30:27 +02:00
..
access meson: src/access: add check-aclperms test 2020-08-03 09:27:05 +02:00
admin meson: src: add check-admin-drivername test 2020-08-03 09:27:05 +02:00
bhyve Move declarations before statements 2020-08-25 19:03:11 +02:00
conf VIR_XPATH_NODE_AUTORESTORE: remove semicolon from users 2020-08-25 19:03:12 +02:00
cpu virhostcpu.c: skip non x86 hosts in virHostCPUGetMicrocodeVersion() 2020-08-25 19:44:39 +02:00
cpu_map meson: src: install cpu_map data 2020-08-03 09:27:04 +02:00
esx meson: tests: add ESX specific tests 2020-08-03 09:27:05 +02:00
hyperv hyperv: include virxml.h 2020-08-03 15:30:40 +02:00
hypervisor Remove redundant conditions 2020-08-03 15:19:28 +02:00
interface meson: src: add check-aclrules test 2020-08-03 09:27:05 +02:00
keycodemapdb@27acf0ef82 keycodemapdb: update submodule for win32 keycode fix 2020-05-07 12:18:29 +01:00
libxl Xen: Add support for qemu commandline passthrough to config converter 2020-08-25 10:13:58 -06:00
locking util: use host module suffix when loading drivers 2020-08-26 10:30:18 +02:00
logging logging: Replace virMutex with GMutex 2020-08-21 11:34:23 +01:00
lxc VIR_XPATH_NODE_AUTORESTORE: remove semicolon from users 2020-08-25 19:03:12 +02:00
network network: Use single quotes in default network configuration 2020-08-04 15:12:18 +02:00
node_device meson: src: add check-aclrules test 2020-08-03 09:27:05 +02:00
nwfilter Move debug statements after declarations 2020-08-25 19:03:11 +02:00
openvz Move declarations before statements 2020-08-25 19:03:11 +02:00
qemu qemu: Validate memory hotplug in domainValidateCallback instead of cmd line generator 2020-09-01 09:30:27 +02:00
remote Move debug statements after declarations 2020-08-25 19:03:11 +02:00
rpc rpc: move lock after declaration 2020-08-25 19:03:12 +02:00
secret meson: src: add check-aclrules test 2020-08-03 09:27:05 +02:00
security apparmor: allow libvirtd to call virtiofsd 2020-08-26 10:34:53 +02:00
storage util: use host module suffix when loading drivers 2020-08-26 10:30:18 +02:00
test test: fix emulator pin info in test driver 2020-08-08 11:07:15 +02:00
util util: use host module suffix when loading drivers 2020-08-26 10:30:18 +02:00
vbox Move declarations before statements 2020-08-25 19:03:11 +02:00
vmware meson: src: build libvirt.so library 2020-08-03 09:27:04 +02:00
vmx meson: src: build libvirt.so library 2020-08-03 09:27:04 +02:00
vz Move declarations before statements 2020-08-25 19:03:11 +02:00
admin_protocol-structs
datatypes.c src: make virObjectUnref return void 2020-06-03 10:20:17 +01:00
datatypes.h define g_autoptr cleanup function for virNetworkDHCPLease 2020-07-20 19:08:07 -04:00
driver-hypervisor.h
driver-interface.h
driver-network.h
driver-nodedev.h
driver-nwfilter.h
driver-secret.h
driver-state.h
driver-storage.h
driver-stream.h
driver.c util: use host module suffix when loading drivers 2020-08-26 10:30:18 +02:00
driver.h
internal.h src: internal: add VIR_WARNINGS_NO_DECLARATION_AFTER_STATEMENT 2020-08-25 19:03:12 +02:00
libvirt_driver_modules.syms
libvirt_esx.syms
libvirt_internal.h Fix some wrong usage of ATTRIBUTE_NONNULL() 2020-06-09 11:39:07 +02:00
libvirt_libssh2.syms
libvirt_libssh.syms
libvirt_linux.syms
libvirt_lxc.syms
libvirt_openvz.syms
libvirt_private.syms bhyve: allow to specify host sound device 2020-08-25 08:42:16 +04:00
libvirt_probes.d
libvirt_public.syms
libvirt_qemu.syms
libvirt_remote.syms
libvirt_sasl.syms
libvirt_vmware.syms
libvirt_vmx.syms
libvirt-domain-checkpoint.c checkpoint: Mention that VIR_DOMAIN_CHECKPOINT_XML_SIZE is expensive and stale 2020-07-07 12:58:19 +02:00
libvirt-domain-snapshot.c src: don't include ref count in debug messages / probes 2020-06-03 10:20:17 +01:00
libvirt-domain.c src: add missing balloon stats docs 2020-07-28 17:31:53 +02:00
libvirt-host.c src: don't include ref count in debug messages / probes 2020-06-03 10:20:17 +01:00
libvirt-interface.c src: don't include ref count in debug messages / probes 2020-06-03 10:20:17 +01:00
libvirt-lxc.c Substitute security_context_t with char * 2020-07-15 14:31:07 +02:00
libvirt-lxc.pc.in meson: remove '.libs' from all relevant paths 2020-08-03 09:27:00 +02:00
libvirt-network.c src: don't include ref count in debug messages / probes 2020-06-03 10:20:17 +01:00
libvirt-nodedev.c src: fix word spell typos 2020-07-09 10:01:41 +02:00
libvirt-nwfilter.c src: don't include ref count in debug messages / probes 2020-06-03 10:20:17 +01:00
libvirt-qemu.c
libvirt-qemu.pc.in meson: remove '.libs' from all relevant paths 2020-08-03 09:27:00 +02:00
libvirt-secret.c src: don't include ref count in debug messages / probes 2020-06-03 10:20:17 +01:00
libvirt-storage.c libvirt-storage: Document volume upload/download stream format 2020-08-24 13:32:53 +02:00
libvirt-stream.c src: don't include ref count in debug messages / probes 2020-06-03 10:20:17 +01:00
libvirt.c src: make virObjectUnref return void 2020-06-03 10:20:17 +01:00
libvirt.conf
libvirt.pc.in meson: remove '.libs' from all relevant paths 2020-08-03 09:27:00 +02:00
lock_protocol-structs
lxc_monitor_protocol-structs
lxc_protocol-structs
meson.build meson: don't install sysconf files unconditionally 2020-08-27 16:14:15 +04:00
qemu_protocol-structs
README
remote_protocol-structs
virkeepaliveprotocol-structs
virnetprotocol-structs

       libvirt library code README
       ===========================

The directory provides the bulk of the libvirt codebase. Everything
except for the libvirtd daemon and client tools. The build uses a
large number of libtool convenience libraries - one for each child
directory, and then links them together for the final libvirt.so,
although some bits get linked directly to libvirtd daemon instead.

The files directly in this directory are supporting the public API
entry points & data structures.

There are two core shared modules to be aware of:

 * util/  - a collection of shared APIs that can be used by any
            code. This directory is always in the include path
            for all things built

 * conf/  - APIs for parsing / manipulating all the official XML
            files used by the public API. This directory is only
            in the include path for driver implementation modules

 * vmx/   - VMware VMX config handling (used by esx/ and vmware/)


Then there are the hypervisor implementations:

 * bhyve         - bhyve - The BSD Hypervisor
 * esx/          - VMware ESX and GSX support using vSphere API over SOAP
 * hyperv/       - Microsoft Hyper-V support using WinRM
 * lxc/          - Linux Native Containers
 * openvz/       - OpenVZ containers using cli tools
 * qemu/         - QEMU / KVM using qemu CLI/monitor
 * remote/       - Generic libvirt native RPC client
 * test/         - A "mock" driver for testing
 * vbox/         - Virtual Box using native API
 * vmware/       - VMware Workstation and Player using the vmrun tool
 * xen/          - Xen using hypercalls, XenD SEXPR & XenStore


Finally some secondary drivers that are shared for several HVs.
Currently these are used by LXC, OpenVZ, QEMU and Xen drivers.
The ESX, Hyper-V, Remote, Test & VirtualBox drivers all
implement the secondary drivers directly

 * cpu/          - CPU feature management
 * interface/    - Host network interface management
 * network/      - Virtual NAT networking
 * nwfilter/     - Network traffic filtering rules
 * node_device/  - Host device enumeration
 * secret/       - Secret management
 * security/     - Mandatory access control drivers
 * storage/      - Storage management drivers


Since both the hypervisor and secondary drivers can be built as
dlopen()able modules, it is *FORBIDDEN* to have build dependencies
between these directories. Drivers are only allowed to depend on
the public API, and the internal APIs in the util/ and conf/
directories