libvirt/src
Peter Krempa 64bc75f756 qemu: domain: Don't infer vcpu state
Use the state information (online, hotpluggable) provided by the monitor
code rather than trying to infer it. This fixes an issue where on
architectures that require hotplug of multiple threads at once the
sub-cores would get updated as offline on daemon restart thus creating
an invalid configuration.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1375783
2016-09-14 12:56:57 +02:00
..
access conf: Add new secret type "tls" 2016-09-09 08:20:05 -04:00
admin admin: Introduce virAdmServerSetClientLimits 2016-05-19 12:31:53 +02:00
bhyve bhyve: fix disks address allocation 2016-08-29 09:37:06 +03:00
conf conf: allow hotplugging "legacy PCI" device to manually addressed PCIe slot 2016-09-12 14:46:10 -04:00
cpu cpu_x86: fix libvirtd crash when host cpu vendor is not available 2016-08-12 18:47:53 -06:00
esx esx: Fetch snapshot info directly for filtering 2016-07-12 18:04:41 +02:00
hyperv conf: Add private data for virDomainVcpuDef 2016-07-11 10:44:04 +02:00
interface interface: let netcf pre-filter for active vs. inactive 2015-10-02 11:16:11 -04:00
libxl libxl: implement virConnectBaselineCPU 2016-09-12 12:49:03 +02:00
locking sanlock: convert to typesafe virConf accessors 2016-07-12 09:58:22 +01:00
logging virtlogd.socket: Tie lifecycle to libvirtd.service 2016-09-06 16:05:20 +02:00
lxc Add helper for removing transient definition 2016-09-08 22:25:22 +02:00
network network: Need to free formatted addr in networkDnsmasqConfContents 2016-08-22 13:14:15 -04:00
node_device tests: fix segfault in objecteventtest 2016-08-29 13:51:56 +03:00
nwfilter global: consistently use IP rather than Ip in identifiers 2016-06-26 19:33:07 -04:00
openvz fs: Fix '<' comparison of value produced by logical not '!' 2016-07-19 09:38:40 +02:00
phyp conf: Add private data for virDomainVcpuDef 2016-07-11 10:44:04 +02:00
qemu qemu: domain: Don't infer vcpu state 2016-09-14 12:56:57 +02:00
remote vz: add ACL checks to API calls 2016-08-23 19:48:01 +03:00
rpc rpc: virnetserver: Remove dead code checking the client limits 2016-08-02 14:51:13 +02:00
secret secret: Move virStorageSecretType and rename 2016-06-23 12:30:27 -04:00
security security: Fixing wrong label in virt-aa-helper.c. 2016-09-07 18:06:31 -04:00
storage storage: Need to refresh secret for luks volume after volume refresh 2016-09-12 10:05:21 -04:00
test Add helper for removing transient definition 2016-09-08 22:25:22 +02:00
uml Add helper for removing transient definition 2016-09-08 22:25:22 +02:00
util numa: Rename virNumaGetHostNodeset and make it return only nodes with memory 2016-09-14 08:41:41 +02:00
vbox filesystem: adds possibility to use storage pool as fs source 2016-07-18 23:39:56 +03:00
vmware conf: Rename virDomainDefGetMemoryActual to virDomainDefGetMemoryTotal 2016-06-17 10:39:40 +02:00
vmx filesystem: adds possibility to use storage pool as fs source 2016-07-18 23:39:56 +03:00
vz vz: getting bus type for containers 2016-08-26 17:48:55 +03:00
xen conf: Add private data for virDomainVcpuDef 2016-07-11 10:44:04 +02:00
xenapi conf: Add private data for virDomainVcpuDef 2016-07-11 10:44:04 +02:00
xenconfig xenconfig: rm format/parse multi serial for xen-xm 2016-09-02 12:46:02 -06:00
Makefile.am vz: add ACL checks to API calls 2016-08-23 19:48:01 +03:00
README
admin_protocol-structs admin: Introduce virAdmServerSetClientLimits 2016-05-19 12:31:53 +02:00
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 admin: Introduce virAdmClient client-side object 2016-05-02 22:26:17 +02:00
datatypes.h Introduce node device lifecycle event APIs 2016-08-02 09:52:00 -04:00
driver-hypervisor.h lib: Add API to set individual vcpu usage in the guest via guest agent 2016-06-22 09:25:47 +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 Introduce storage lifecycle event APIs 2016-06-16 12:22:11 -04:00
driver-stream.h
driver.c driver: log missing modules as INFO, not WARN 2016-03-17 16:50:05 -04:00
driver.h
dtrace2systemtap.pl
fdstream.c fdstream: don't raise error on SIGPIPE if abort requested 2016-05-02 10:13:05 -04:00
fdstream.h
internal.h internal: Introduce macro for stealing pointers 2016-08-05 08:38:20 +02:00
libvirt-admin.c virt-admin: Properly fix the default session daemon URI to admin server 2016-08-09 15:24:19 +02:00
libvirt-admin.conf admin: Introduce libvirt-admin.conf 2015-11-30 09:36:19 +01:00
libvirt-domain-snapshot.c
libvirt-domain.c virDomainGetBlockJobInfo: Fix corner case when qemu reports no info 2016-09-14 12:44:42 +02:00
libvirt-host.c Document to not rely on virConnectGetMaxVcpus API 2016-06-24 19:20:14 +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 Introduce node device lifecycle event APIs 2016-08-02 09:52:00 -04:00
libvirt-nwfilter.c
libvirt-qemu.c
libvirt-qemu.pc.in
libvirt-secret.c libvirt-secret: Fix typo 2015-10-15 11:31:27 +02:00
libvirt-storage.c storage: Document wiping formatted volume types 2016-08-02 07:01:57 +02:00
libvirt-stream.c virStream{Recv,Send}All: Increase client buffer 2016-05-02 07:56:38 +02:00
libvirt.c virconf: Fix config file path construction 2016-07-27 12:13:13 +02:00
libvirt.conf admin: Distribute libvirt-admin.conf 2015-12-01 11:44:48 +01:00
libvirt.pc.in
libvirt_admin_private.syms admin: Introduce virAdmServerSetClientLimits 2016-05-19 12:31:53 +02:00
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 daemon: add connection close rpc 2016-03-01 14:18:16 +00:00
libvirt_libssh2.syms
libvirt_linux.syms nodeinfo: move host CPU APIs out into virhostcpu.c file 2016-06-09 18:31:11 +01:00
libvirt_lxc.syms Bump release to 2.0.0 and document release schedule & versioning 2016-06-14 10:59:07 +02:00
libvirt_openvz.syms
libvirt_private.syms numa: Rename virNumaGetHostNodeset and make it return only nodes with memory 2016-09-14 08:41:41 +02:00
libvirt_probes.d
libvirt_public.syms Introduce node device lifecycle event APIs 2016-08-02 09:52:00 -04:00
libvirt_qemu.syms
libvirt_qemu_probes.d
libvirt_remote.syms Rename virNetClient*AddrString 2016-06-23 22:31:20 +02:00
libvirt_sasl.syms virneserverclient: Introduce virNetServerClientHasSASLSession 2016-05-03 15:52:50 +02:00
libvirt_vmware.syms
libvirt_vmx.syms
libvirt_xenconfig.syms xenconfig: support vif bandwidth in sexpr parser and formatter 2016-01-08 18:56:00 -07:00
libvirt_xenxlconfig.syms
lock_protocol-structs Fix make check with gcc version 5 2016-01-18 15:19:21 +01:00
lxc_monitor_protocol-structs
lxc_protocol-structs
nodeinfo.c Remove separator argument from virBitmapParse 2016-06-20 12:09:52 +02:00
nodeinfo.h nodeinfo: move host memory APIs out into virhostmem file 2016-06-09 18:43:18 +01:00
qemu_protocol-structs
remote_protocol-structs Fix remote_protocol-structs after recent commit 2016-08-23 15:47:10 -04:00
virkeepaliveprotocol-structs
virnetprotocol-structs

README

       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