libvirt/src
Peter Krempa b7798a07f9 qemu: Generate memory device aliases according to slot number
The memory device alias needs to be treated as machine ABI as qemu is
using it in the migration stream for section labels. To simplify this
generate the alias from the slot number unless an existing broken
configuration is detected.

With this patch the aliases are predictable and even certain
configurations which would not be migratable previously are fixed.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1359135
2016-11-10 17:36:55 +01:00
..
access conf: Add new secret type "tls" 2016-09-09 08:20:05 -04:00
admin
bhyve Introduce virDomainChrSourceDefNew for virDomainChrDefPtr 2016-10-21 14:03:36 -04:00
conf conf: Allow specifying only the slot number for hotpluggable memory 2016-11-10 17:36:55 +01:00
cpu Move CMT feature filtering to QEMU driver 2016-09-22 15:40:09 +02:00
esx virDomainDefParse{File,String}: Introduce @parseOpaque argument 2016-09-26 16:50:12 +02:00
hyperv hyperv: additional server 2008 wmi classes 2016-09-15 09:27:48 +02:00
interface Fix Multiple Typos 2016-09-22 13:55:09 -04:00
libxl libxl: fix leaking of allocated migration ports 2016-10-24 19:42:10 -06:00
locking src: Treat PID as signed 2016-10-13 17:58:56 +08:00
logging daemon: Split filter parsing and filter defining 2016-10-10 08:27:25 +02:00
lxc lxc.conf: s/QEMU/LXC/ 2016-11-09 18:56:15 +01:00
network loopback is not always just lo 2016-11-02 18:10:39 +00:00
node_device util: Alter return value of virReadFCHost and fix mem leak 2016-10-14 06:47:36 -04:00
nwfilter
openvz conf: Extend virDomainDeviceDefPostParse for parseOpaque 2016-09-26 16:50:12 +02:00
phyp conf: Extend virDomainDeviceDefPostParse for parseOpaque 2016-09-26 16:50:12 +02:00
qemu qemu: Generate memory device aliases according to slot number 2016-11-10 17:36:55 +01:00
remote Change virDomainEventState to virObjectLockable 2016-10-12 12:54:47 +02:00
rpc rpc: virnetserver: Remove dead code checking the client limits 2016-08-02 14:51:13 +02:00
secret
security conf: Use virDomainChrSourceDefPtr for _virDomainSmartcardDef 'passthru' 2016-10-24 06:44:23 -04:00
storage Change virDomainEventState to virObjectLockable 2016-10-12 12:54:47 +02:00
test test driver: Deny some operations on inactive domains 2016-11-08 13:59:44 +01:00
uml Introduce virDomainChrSourceDefNew for virDomainChrDefPtr 2016-10-21 14:03:36 -04:00
util util: json: add helper to iterate and steal members of json array 2016-11-09 16:47:08 +01:00
vbox Add vbox 5.1 driver file 2016-11-08 11:19:02 +00:00
vmware conf: Extend virDomainDeviceDefPostParse for parseOpaque 2016-09-26 16:50:12 +02:00
vmx Introduce virDomainChrSourceDefNew for virDomainChrDefPtr 2016-10-21 14:03:36 -04:00
vz vz: remove Bridged network name and rename Routed 2016-10-27 17:25:50 +03:00
xen xen: remove legacy hack for RHEL-5 Xen 2016-11-10 16:00:02 +00:00
xenapi conf: Extend virDomainDeviceDefPostParse for parseOpaque 2016-09-26 16:50:12 +02:00
xenconfig xenFormatXLDisk: Unify commas pattern for arguments 2016-10-24 06:12:23 +02:00
admin_protocol-structs
check-aclperms.pl
check-aclrules.pl vz: add ACL checks to API calls 2016-08-23 19:48:01 +03:00
check-driverimpls.pl
check-drivername.pl
check-symfile.pl
check-symsorting.pl
datatypes.c
datatypes.h Introduce node device lifecycle event APIs 2016-08-02 09:52:00 -04:00
driver-hypervisor.h cpuGetModels: Switch to virArch 2016-09-22 15:40:08 +02:00
driver-interface.h
driver-network.h
driver-nodedev.h Introduce node device lifecycle event APIs 2016-08-02 09:52:00 -04:00
driver-nwfilter.h
driver-secret.h
driver-state.h
driver-storage.h
driver-stream.h
driver.c driver.c:fix a typo 2016-09-21 16:17:22 -04:00
driver.h
dtrace2systemtap.pl
fdstream.c
fdstream.h
internal.h internal: Introduce macro for stealing pointers 2016-08-05 08:38:20 +02:00
libvirt_admin_private.syms
libvirt_admin_public.syms admin: fix virt-admin startup crash by calling virAdmInitialize 2016-06-29 16:33:08 +02:00
libvirt_atomic.syms
libvirt_driver_modules.syms
libvirt_esx.syms
libvirt_gnutls.syms
libvirt_internal.h
libvirt_libssh2.syms
libvirt_linux.syms
libvirt_lxc.syms
libvirt_openvz.syms
libvirt_private.syms util: json: add helper to iterate and steal members of json array 2016-11-09 16:47:08 +01:00
libvirt_probes.d
libvirt_public.syms Introduce node device lifecycle event APIs 2016-08-02 09:52:00 -04:00
libvirt_qemu_probes.d
libvirt_qemu.syms
libvirt_remote.syms
libvirt_sasl.syms
libvirt_vmware.syms
libvirt_vmx.syms
libvirt_xenconfig.syms
libvirt_xenxlconfig.syms
libvirt-admin.c libvirt-admin.c:fix a typo 2016-09-21 16:17:22 -04:00
libvirt-admin.conf
libvirt-domain-snapshot.c
libvirt-domain.c docs: Alter descriptions of perf cpu_cycles 2016-10-07 13:27:16 -04:00
libvirt-host.c cpu: Special case models == NULL in cpuGetModels 2016-09-22 15:40:08 +02:00
libvirt-interface.c
libvirt-lxc.c Don't error when attaching security label of model "none" 2016-08-03 10:58:31 +01:00
libvirt-lxc.pc.in
libvirt-network.c
libvirt-nodedev.c Fix various code comment typos 2016-09-26 08:06:30 -04:00
libvirt-nwfilter.c
libvirt-qemu.c
libvirt-qemu.pc.in
libvirt-secret.c
libvirt-storage.c storage: Document wiping formatted volume types 2016-08-02 07:01:57 +02:00
libvirt-stream.c
libvirt.c virconf: Fix config file path construction 2016-07-27 12:13:13 +02:00
libvirt.conf
libvirt.pc.in
lock_protocol-structs
lxc_monitor_protocol-structs
lxc_protocol-structs
Makefile.am vbox: hookup the 5.1 C API to the unified driver 2016-11-08 09:56:33 +00:00
nodeinfo.c
nodeinfo.h
qemu_protocol-structs
README
remote_protocol-structs Fix remote_protocol-structs after recent commit 2016-08-23 15:47:10 -04:00
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
 * phyp/         - IBM Power Hypervisor using CLI tools over SSH
 * qemu/         - QEMU / KVM using qemu CLI/monitor
 * remote/       - Generic libvirt native RPC client
 * test/         - A "mock" driver for testing
 * uml/          - User Mode Linux
 * vbox/         - Virtual Box using native API
 * vmware/       - VMware Workstation and Player using the vmrun tool
 * xen/          - Xen using hypercalls, XenD SEXPR & XenStore
 * xenapi/       - Xen using libxenserver


Finally some secondary drivers that are shared for several HVs.
Currently these are used by LXC, OpenVZ, QEMU, UML and Xen drivers.
The ESX, Hyper-V, Power Hypervisor, 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