libvirt/src/util
Stefan Berger e52687e88f macvtap IFF_VNET_HDR configuration
This patch sets or unsets the IFF_VNET_HDR flag depending on what device
is used in the VM. The manipulation of the flag is done in the open
function and is only fatal if the IFF_VNET_HDR flag could not be cleared
although it has to be (or if an ioctl generally fails). In that case the
macvtap tap is closed again and the macvtap interface torn.

* src/qemu/qemu_conf.c src/qemu/qemu_conf.h: pass qemuCmdFlags to
  qemudPhysIfaceConnect()
* src/util/macvtap.c src/util/macvtap.h: add vnet_hdr boolean to
  openMacvtapTap(), and private function configMacvtapTap()
* src/qemu/qemu_driver.c: add extra qemuCmdFlags when calling
  qemudPhysIfaceConnect()
2010-02-19 11:38:57 +01:00
..
bridge.c Remove conn parameter from util functions 2010-02-09 01:04:54 +01:00
bridge.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
buf.c Add virBufferFreeAndReset() and replace free() 2009-12-10 00:00:50 +01:00
buf.h Add virBufferFreeAndReset() and replace free() 2009-12-10 00:00:50 +01:00
cgroup.c Remove conn parameter from util functions 2010-02-09 01:04:54 +01:00
cgroup.h LXC implement memory control APIs 2009-10-07 15:26:23 +02:00
conf.c Remove conn parameter from virReportOOMError 2010-02-09 01:04:54 +01:00
conf.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
ebtables.c Remove conn parameter from util functions 2010-02-09 01:04:54 +01:00
ebtables.h New ebtables module wrapper 2009-11-03 23:44:48 +01:00
event.c Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
event.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
hash.c Fix up a comment in virHashUpdateEntry 2010-02-01 09:39:54 -05:00
hash.h Remove bogus const annotations to hash iterator 2009-10-19 16:24:12 +01:00
hostusb.c Fix USB device path formatting mixup 2010-02-12 17:25:12 +00:00
hostusb.h Remove virConnectPtr from USB/PCI device iterators 2010-02-10 13:29:57 +00:00
iptables.c Remove conn parameter from util functions 2010-02-09 01:04:54 +01:00
iptables.h remove iptablesReloadRules() and related code 2009-12-10 11:27:18 +00:00
json.c Remove conn parameter from JSON error macro 2010-02-09 01:04:55 +01:00
json.h Misc fixes to QMP monitor support for QEMU 2010-01-25 17:08:37 +00:00
logging.c Fix log locking problem when using fork() in the library 2010-02-03 17:12:57 +01:00
logging.h Fix log locking problem when using fork() in the library 2010-02-03 17:12:57 +01:00
macvtap.c macvtap IFF_VNET_HDR configuration 2010-02-19 11:38:57 +01:00
macvtap.h macvtap IFF_VNET_HDR configuration 2010-02-19 11:38:57 +01:00
memory.c Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
memory.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
network.c Avoid an type-punned pointer aliasing pbm 2009-12-08 15:01:57 +01:00
network.h Remove undefined symbols from libvirt_private.syms 2009-12-23 14:57:07 +01:00
pci.c Remove virConnectPtr from USB/PCI device iterators 2010-02-10 13:29:57 +00:00
pci.h Remove virConnectPtr from USB/PCI device iterators 2010-02-10 13:29:57 +00:00
processinfo.c Remove conn parameter from virReportSystemError 2010-02-09 01:04:54 +01:00
processinfo.h Pull schedular affinity code out into a separate module 2009-11-23 11:58:13 +00:00
qparams.c Remove conn parameter from virReportOOMError 2010-02-09 01:04:54 +01:00
qparams.h Add sentinel attribute for NULL terminated arg lists 2009-11-06 10:39:13 +01:00
stats_linux.c Remove conn parameter from Linux stats functions 2010-02-09 01:04:55 +01:00
stats_linux.h Remove conn parameter from Linux stats functions 2010-02-09 01:04:55 +01:00
storage_file.c virAsprintf: remove its warn_unused_result attribute 2010-02-10 12:30:13 +01:00
storage_file.h Remove conn parameter from storage file functions 2010-02-09 01:04:55 +01:00
threads-pthread.c Add a new timed condition variable wait API 2009-11-10 11:59:17 +00:00
threads-pthread.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
threads-win32.c Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
threads-win32.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
threads.c Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
threads.h Add a new timed condition variable wait API 2009-11-10 11:59:17 +00:00
util.c Use virFork() in __virExec(), virFileCreate() and virDirCreate() 2010-02-18 22:20:07 +01:00
util.h Add virFork() function to utils 2010-02-18 22:13:48 +01:00
uuid.c Allow surrounding whitespace in uuid 2010-01-21 15:32:37 +01:00
uuid.h Move all shared utility files to src/util/ 2009-09-21 14:41:47 +01:00
virterror_internal.h Remove conn parameter from virReportSystemError 2010-02-09 01:04:54 +01:00
virterror.c virterror: Make SetError work if no previous error was set 2010-02-18 09:23:04 -05:00
xml.c Remove conn parameter from virXPath* functions 2010-02-09 01:04:54 +01:00
xml.h Remove conn parameter from virXPath* functions 2010-02-09 01:04:54 +01:00