libvirt/src/conf
Laine Stump 33f4a8bc03 network: store network macTableManager setting in NetDef actual object
At the time that the network driver allocates a connection to a
network, the tap device that will be used hasn't yet been created -
that will be done later by qemu (or lxc or whoever) - but if the
network has macTableManager='libvirt', then when we do get around to
creating the tap device, we will need to add an entry for it to the
network bridge's fdb (forwarding database) *and* turn off learning and
unicast_flood for that tap device in the bridge's sysfs settings. This
means that qemu needs to know both the bridge name as well as the
setting of macTableManager, so we either need to create a new API to
retrieve that info, or just pass it back in the ActualNetDef that is
created during networkAllocateActualDevice. We choose the latter
method, since it's already done for the bridge device, and it has the
side effect of making the information available in domain status.

(NB: in the future, I think that the tap device should actually be
created by networkAllocateActualDevice(), as that will solve several
other problems, but that is a battle for another day, and this
information will still be useful outside the network driver)
2014-12-08 14:45:09 -05:00
..
capabilities.c Remove unnecessary curly brackets in src/conf/ 2014-11-14 17:13:01 +01:00
capabilities.h capabilities: use bool instead of int 2014-07-14 08:00:46 -06:00
cpu_conf.c cpu_conf: Allow specification of 'units' for @memory on numa nodes. 2014-11-10 14:55:45 +01:00
cpu_conf.h Memory: Use consistent type for all memory elements. 2014-11-05 14:21:15 +01:00
device_conf.c Introduce virTristateSwitch enum 2014-07-23 12:59:40 +02:00
device_conf.h Introduce virTristateSwitch enum 2014-07-23 12:59:40 +02:00
domain_addr.c Properly check the return value of CCWAddressAsString 2014-06-23 08:31:53 +02:00
domain_addr.h Split out CCW address allocation 2014-06-21 10:12:21 +02:00
domain_audit.c audit: Fix some comments 2014-08-07 10:28:32 +02:00
domain_audit.h audit: Add auditing for serial/parallel/channel/console character devs 2014-07-07 12:56:45 +02:00
domain_capabilities.c domaincaps: Expose UEFI binary path, if it exists 2014-09-17 16:29:49 +02:00
domain_capabilities.h domaincaps: Expose UEFI binary path, if it exists 2014-09-17 16:29:49 +02:00
domain_conf.c network: store network macTableManager setting in NetDef actual object 2014-12-08 14:45:09 -05:00
domain_conf.h network: store network macTableManager setting in NetDef actual object 2014-12-08 14:45:09 -05:00
domain_event.c Replace virDomainFree with virObjectUnref 2014-12-02 11:03:40 -05:00
domain_event.h event: Add guest agent lifecycle event 2014-11-24 15:39:17 +01:00
domain_nwfilter.c Use K&R style for curly braces in src/conf/ 2014-03-20 17:16:38 +01:00
domain_nwfilter.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
interface_conf.c Remove unnecessary curly brackets in src/conf/ 2014-11-14 17:13:01 +01:00
interface_conf.h maint: Prohibit "devname" by a syntax check rules 2014-10-01 16:39:01 +02:00
netdev_bandwidth_conf.c network: Add network bandwidth support to ethernet interfaces 2014-11-19 10:36:49 +01:00
netdev_bandwidth_conf.h network: Add network bandwidth support to ethernet interfaces 2014-11-19 10:36:49 +01:00
netdev_vlan_conf.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
netdev_vlan_conf.h maint: avoid 'const fooPtr' in conf 2013-10-14 14:34:38 -06:00
netdev_vport_profile_conf.c Indent top-level labels by one space in src/conf/ 2014-03-25 14:58:38 +01:00
netdev_vport_profile_conf.h Rename xml.{c,h} to virxml.{c,h} 2012-12-21 11:19:50 +00:00
network_conf.c conf: new network bridge device attribute macTableManager 2014-12-08 14:41:37 -05:00
network_conf.h conf: new network bridge device attribute macTableManager 2014-12-08 14:41:37 -05:00
network_event.c Replace virNetworkFree with virObjectUnref 2014-12-02 11:03:40 -05:00
network_event.h event: move event filtering to daemon (regression fix) 2014-02-05 08:03:31 -07:00
node_device_conf.c Replace virNodeDeviceFree with virObjectUnref 2014-12-02 11:03:40 -05:00
node_device_conf.h nodedev: move pci express types to virpci.h 2014-07-28 14:10:25 -06:00
numatune_conf.c numa: split util/ and conf/ and support non-contiguous nodesets 2014-11-06 15:13:55 +01:00
numatune_conf.h numa: split util/ and conf/ and support non-contiguous nodesets 2014-11-06 15:13:55 +01:00
nwfilter_conf.c nwfilter: fix crash when adding non-existing nwfilter 2014-12-02 11:12:05 +01:00
nwfilter_conf.h conf: use typedefs for enums in "src/conf/nwfilter_conf.h" 2014-05-14 09:49:57 -06:00
nwfilter_ipaddrmap.c Remove pointless storage of var names in virNWFilterHashTable 2014-04-25 15:44:09 +01:00
nwfilter_ipaddrmap.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
nwfilter_params.c cleanup spaces between parentheses and braces 2014-08-20 14:50:21 +02:00
nwfilter_params.h conf: use typedefs for enums in node_device_conf, nwfilter_params 2014-05-12 16:49:43 -06:00
object_event_private.h event: prepare client to track domain callbackID 2014-02-12 10:48:15 -07:00
object_event.c Remove unnecessary curly brackets in src/conf/ 2014-11-14 17:13:01 +01:00
object_event.h event: add notion of remoteID for filtering client network events 2014-01-15 13:55:21 -07:00
secret_conf.c maint: use consistent if-else braces in conf and friends 2014-09-04 08:53:21 -06:00
secret_conf.h maint: shorten 'TypeType' function names 2014-05-16 00:22:18 -06:00
snapshot_conf.c storage: rbd: qemu: Add support for specifying internal RBD snapshots 2014-11-21 14:37:02 +01:00
snapshot_conf.h conf: store snapshot source as pointer, for easier manipulation 2014-06-06 09:56:27 -06:00
storage_conf.c Replace virStoragePoolFree with virObjectUnref 2014-12-02 11:03:40 -05:00
storage_conf.h storage: Add mixed fc_host/scsi_host duplicate adapter source checks 2014-12-01 10:04:25 -05:00
virchrdev.c Replace virStreamFree with virObjectUnref 2014-12-02 11:03:41 -05:00
virchrdev.h conf: Add unix socket support to virChrdevOpen 2013-01-04 18:07:11 -07:00