libvirt/src
Laine Stump 38172ed894 qemu: set macvtap physdevs online when macvtap is set online
A further fix for:

  https://bugzilla.redhat.com/show_bug.cgi?id=1113474

Since there is no possibility that any type of macvtap will work if
the parent physdev it's attached to is offline, we should bring the
physdev online at the same time as the macvtap. When taking the
macvtap offline, it's also necessary to take the physdev offline for
macvtap passthrough mode (because the physdev has the same MAC address
as the macvtap device, so could potentially cause problems with
misdirected packets during migration, as outlined in commits 829770
and 879c13). We can't set the physdev offline for other macvtap modes
1) because there may be other macvtap devices attached to the same
physdev (and/or the host itself may be using the device) in the other
modes whereas passthrough mode is exclusive to one macvtap at a time,
and 2) there's no practical reason to do so anyway.
2015-04-21 12:34:29 -04:00
..
access build: fix mingw printing of pid 2014-12-08 15:01:24 -07:00
bhyve domain: conf: Drop expectedVirtTypes 2015-04-20 16:43:43 -04:00
conf domain: conf: Drop expectedVirtTypes 2015-04-20 16:43:43 -04:00
cpu cpu: Add {Haswell,Broadwell}-noTSX CPU models 2015-03-26 09:19:59 +01:00
esx domain: conf: Drop expectedVirtTypes 2015-04-20 16:43:43 -04:00
hyperv domain: Convert os.type to VIR_DOMAIN_OSTYPE enum 2015-04-20 16:40:09 -04:00
interface Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
libxl domain: conf: Drop expectedVirtTypes 2015-04-20 16:43:43 -04:00
locking sanlock: Use VIR_ERR_RESOURCE_BUSY if sanlock_acquire fails 2015-04-15 09:40:42 +02:00
lxc domain: conf: Drop expectedVirtTypes 2015-04-20 16:43:43 -04:00
network Support IPv6 in networkGetNetworkAddress 2015-04-10 15:01:17 +02:00
node_device Strip control characters from sysfs attributes 2015-04-15 18:41:20 +02:00
nwfilter nwfilter: Partly initialize driver even for non-privileged users 2015-04-17 10:04:05 +02:00
openvz domain: conf: Drop expectedVirtTypes 2015-04-20 16:43:43 -04:00
parallels domain: conf: Drop expectedVirtTypes 2015-04-20 16:43:43 -04:00
phyp domain: conf: Drop expectedVirtTypes 2015-04-20 16:43:43 -04:00
qemu qemu: set macvtap physdevs online when macvtap is set online 2015-04-21 12:34:29 -04:00
remote Add VIR_DOMAIN_EVENT_ID_DEVICE_ADDED event 2015-04-15 17:06:01 +02:00
rpc virNetSocketNewConnectUNIX: Don't unlink(NULL) 2015-04-17 10:02:28 +02:00
secret Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
security domain: conf: Drop expectedVirtTypes 2015-04-20 16:43:43 -04:00
storage scsi: Adjust return values from processLU 2015-04-21 10:20:17 -04:00
test domain: conf: Drop expectedVirtTypes 2015-04-20 16:43:43 -04:00
uml domain: conf: Drop expectedVirtTypes 2015-04-20 16:43:43 -04:00
util util: set MAC address for VF via netlink message to PF+VF# when possible 2015-04-21 12:33:20 -04:00
vbox domain: conf: Drop expectedVirtTypes 2015-04-20 16:43:43 -04:00
vmware domain: conf: Drop expectedVirtTypes 2015-04-20 16:43:43 -04:00
vmx domain: Convert os.type to VIR_DOMAIN_OSTYPE enum 2015-04-20 16:40:09 -04:00
xen xend: Remove a couple of unused function prototypes. 2015-04-21 10:22:43 +01:00
xenapi domain: conf: Drop expectedVirtTypes 2015-04-20 16:43:43 -04:00
xenconfig caps: Use DomainDataLookup to replace GuestDefault* 2015-04-20 16:43:13 -04:00
check-aclperms.pl
check-aclrules.pl
check-driverimpls.pl Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
check-drivername.pl
check-symfile.pl
check-symsorting.pl
datatypes.c Change virConnectPtr into virObjectLocklable 2015-04-15 13:33:35 +02:00
datatypes.h Change virConnectPtr into virObjectLocklable 2015-04-15 13:33:35 +02:00
driver-hypervisor.h Rename DomainGetIOThreadsInfo to DomainGetIOThreadInfo 2015-03-26 16:11:10 +01:00
driver-interface.h Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
driver-network.h Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
driver-nodedev.h Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
driver-nwfilter.h Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
driver-secret.h Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
driver-state.h
driver-storage.h Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
driver-stream.h
driver.c Use the DEFAULT_DRIVER_DIR macro 2015-04-02 10:27:56 +02:00
driver.h Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
dtrace2systemtap.pl
fdstream.c storage: tweak condition to properly test lseek 2015-03-04 14:51:44 +01:00
fdstream.h
gnutls_1_0_compat.h
internal.h Conditionalize use of -Wno-suggest-attribute=format pragma 2015-01-16 17:12:27 +00:00
libvirt_atomic.syms
libvirt_driver_modules.syms
libvirt_esx.syms
libvirt_gnutls.syms
libvirt_internal.h don't disable state driver when libvirtd is not built 2015-01-27 12:02:04 +00:00
libvirt_libssh2.syms
libvirt_linux.syms
libvirt_lxc.syms
libvirt_openvz.syms
libvirt_private.syms util: set MAC address for VF via netlink message to PF+VF# when possible 2015-04-21 12:33:20 -04:00
libvirt_probes.d Add systemd/dtrace probes for DBus APIs 2015-01-15 11:07:13 +00:00
libvirt_public.syms Rename DomainGetIOThreadsInfo to DomainGetIOThreadInfo 2015-03-26 16:11:10 +01:00
libvirt_qemu_probes.d
libvirt_qemu.syms
libvirt_remote.syms
libvirt_sasl.syms
libvirt_vmware.syms
libvirt_vmx.syms
libvirt_xenconfig.syms Revert "src/xenconfig: Xen-xl parser" 2015-01-12 10:15:13 -07:00
libvirt_xenxlconfig.syms Introduce support for parsing/formatting Xen xl config format 2015-01-14 08:28:50 -07:00
libvirt-domain-snapshot.c lib: snapshot: Explain that only one layer of images is inserted 2015-04-14 08:59:12 +02:00
libvirt-domain.c Add articles to virDomainDeviceDetachFlags docs 2015-04-14 15:32:24 +02:00
libvirt-host.c Change virConnectPtr into virObjectLocklable 2015-04-15 13:33:35 +02:00
libvirt-interface.c iface-define: update and unify documentation 2015-03-09 14:47:07 +01:00
libvirt-lxc.c
libvirt-lxc.pc.in
libvirt-network.c net-define: update or unify documentation 2015-03-09 14:48:38 +01:00
libvirt-nodedev.c
libvirt-nwfilter.c
libvirt-qemu.c
libvirt-qemu.pc.in
libvirt-secret.c Typos: Get rid of dependan(t|cies) 2015-04-02 16:05:32 +02:00
libvirt-storage.c pool-define: update and unify documentation 2015-03-09 14:47:53 +01:00
libvirt-stream.c
libvirt.c Removing probing of secondary drivers 2015-01-27 12:02:04 +00:00
libvirt.conf
libvirt.pc.in
lock_protocol-structs
lxc_monitor_protocol-structs
lxc_protocol-structs
Makefile.am Cleanup "/sys/class/net" usage 2015-04-15 16:43:28 +02:00
nodeinfo.c nodeinfo: Increase the num of CPU thread siblings to a larger value 2015-03-27 10:20:56 +01:00
nodeinfo.h Fix virCgroupGetPercpuStats with non-continuous present CPUs 2015-01-22 17:01:11 +01:00
nodeinfopriv.h
qemu_protocol-structs
README
remote_protocol-structs Add VIR_DOMAIN_EVENT_ID_DEVICE_ADDED event 2015-04-15 17:06:01 +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