libvirt/src
John Ferlan 239781e03a storage: Adjust expected format for Disk startup processing
https://bugzilla.redhat.com/show_bug.cgi?id=1464313

If a Disk pool was defined/created using XML that either didn't
specify a specific format or specified format type='unknown', then
restarting a pool after an initial disk backend build with overwrite
would fail after a libvirtd restart for a non-autostarted pool.

This is because the persistent pool data is not updated during pool
build w/ overwrite processing to have the VIR_STORAGE_POOL_DISK_DOS
default format.

So in addition to the alteration done during disk build processing,
alter the default expectation for disk startup to be DOS if nothing
has been defined yet. That will either succeed if the pool had been
successfully built previously using the default DOS format or fail
with a message indicating the format is something else that does not
match the expect format 'dos'.
2017-09-12 10:52:06 -04:00
..
access
admin
bhyve bhyve: Add support for VNC autoport 2017-08-06 09:24:26 +04:00
conf qemu: Provide default LUN=0 for iSCSI if not provided 2017-09-12 10:33:25 -04:00
cpu cpu: Add new EPYC CPU model 2017-09-07 13:53:32 +02:00
esx vmx: Expose VMware Managed Object Reference (moref) in XML. 2017-09-04 09:48:32 +01:00
hyperv hyperv: Silence clang alignment warnings in serialization code 2017-08-07 23:14:01 +02:00
interface
keycodemapdb@7bf5710b22
libxl docs: Fix typo deamon -> daemon 2017-09-04 15:07:17 +02:00
locking maint: Fix incorrect parenthesis placement causing true/false assignment 2017-09-05 11:27:12 +02:00
logging daemon: logging: Fix --verbose option being ignored by the daemon 2017-08-28 16:42:13 +02:00
lxc conf: Validate device on update-device 2017-09-06 11:19:30 +02:00
network network: Use self inflating bitmap for class IDs 2017-08-17 14:58:11 +02:00
node_device nodedev: Introduce udevHandleOneDevice 2017-08-17 16:50:47 +02:00
nwfilter nwfilter: Introduce virNWFilterObjListFindInstantiateFilter 2017-07-15 23:00:30 -04:00
openvz conf: Add save cookie callbacks to xmlopt 2017-06-07 13:36:01 +02:00
phyp phyp: Fix memory leak in phypUUIDTable_Push 2017-07-19 16:49:51 +02:00
qemu qemu: blockcopy: Probe image format only with VIR_DOMAIN_BLOCK_COPY_REUSE_EXT 2017-09-12 16:03:56 +02:00
remote lib: Add API to edit domain's managed save state xml configuration 2017-08-29 13:40:13 +02:00
rpc virnetserver: fix mesage vs message typo 2017-09-11 18:17:22 +02:00
secret secret: Handle object list removal and deletion properly 2017-07-25 09:15:30 -04:00
security Don't autogenerate seclabels of type 'none' 2017-08-21 09:22:26 -06:00
storage storage: Adjust expected format for Disk startup processing 2017-09-12 10:52:06 -04:00
test network: Use @maxnames instead of @nnames 2017-08-16 14:17:57 -04:00
uml conf: Pass config.priv to xmlopt->privateData.alloc 2017-07-25 17:02:27 +02:00
util storagefile: fix defintion vs definition typo 2017-09-11 18:17:22 +02:00
vbox vbox: fix typo in warning message 2017-08-14 02:56:35 +02:00
vmware conf: Pass config.priv to xmlopt->privateData.alloc 2017-07-25 17:02:27 +02:00
vmx vmx: Expose VMware Managed Object Reference (moref) in XML. 2017-09-04 09:48:32 +01:00
vz conf: add virDomainVideoDefNew 2017-08-27 09:38:12 -04:00
xen introduce virConfReadString 2017-08-08 12:19:17 +02:00
xenapi conf: Add save cookie callbacks to xmlopt 2017-06-07 13:36:01 +02:00
xenconfig virStorageNetHostDef: Turn @port into integer 2017-07-24 10:55:44 +02:00
admin_protocol-structs
check-aclperms.pl
check-aclrules.pl
check-driverimpls.pl
check-drivername.pl
check-symfile.pl Revert "Prevent more compiler optimization of mockable functions" 2017-07-13 13:07:06 +01:00
check-symsorting.pl
datatypes.c datatypes: removing unnecessary return statement. 2017-05-18 20:15:45 -04:00
datatypes.h virConnect: Update comment for @privateData 2017-08-02 10:03:23 +02:00
driver-hypervisor.h lib: Add API to edit domain's managed save state xml configuration 2017-08-29 13:40:13 +02:00
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 driver: conditionalize use of dlopen functions & use mingw-dlfcn 2017-08-02 13:51:28 +01:00
driver.h
dtrace2systemtap.pl
internal.h Revert "Prevent more compiler optimization of mockable functions" 2017-07-13 13:07:06 +01:00
libvirt_admin_private.syms
libvirt_admin_public.syms
libvirt_atomic.syms
libvirt_driver_modules.syms
libvirt_esx.syms
libvirt_gnutls.syms
libvirt_internal.h
libvirt_libssh2.syms
libvirt_libssh.syms
libvirt_linux.syms
libvirt_lxc.syms
libvirt_openvz.syms
libvirt_private.syms qemu: cold-unplug of watchdog 2017-09-12 15:59:38 +02:00
libvirt_probes.d
libvirt_public.syms lib: Add API to edit domain's managed save state xml configuration 2017-08-29 13:40:13 +02: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.conf
libvirt-domain-snapshot.c Remove bogus warning about vir$OBJECTGetConnect functions 2017-08-07 13:39:28 +01:00
libvirt-domain.c lib: Add API to edit domain's managed save state xml configuration 2017-08-29 13:40:13 +02:00
libvirt-host.c
libvirt-interface.c Remove bogus warning about vir$OBJECTGetConnect functions 2017-08-07 13:39:28 +01:00
libvirt-lxc.c
libvirt-lxc.pc.in
libvirt-network.c Remove bogus warning about vir$OBJECTGetConnect functions 2017-08-07 13:39:28 +01:00
libvirt-nodedev.c virsh: nodedev: ability to filter CCW capabilities 2017-05-26 10:44:05 -04:00
libvirt-nwfilter.c
libvirt-qemu.c
libvirt-qemu.pc.in
libvirt-secret.c Remove bogus warning about vir$OBJECTGetConnect functions 2017-08-07 13:39:28 +01:00
libvirt-storage.c Remove bogus warning about vir$OBJECTGetConnect functions 2017-08-07 13:39:28 +01:00
libvirt-stream.c virStream*All: Report error if a callback fails 2017-07-11 09:33:12 +02:00
libvirt.c
libvirt.conf
libvirt.pc.in
lock_protocol-structs
lxc_monitor_protocol-structs
lxc_protocol-structs
Makefile.am Move resctrl-related code from conf/capabilities to util/virresctrl 2017-08-14 10:01:12 +02:00
qemu_protocol-structs
README
remote_protocol-structs lib: Add API to edit domain's managed save state xml configuration 2017-08-29 13:40:13 +02: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