Re: [libvirt] [PATCHv3 0/4] util: fix libvirtd startup failure due to netlink error

2012-05-07 Thread Gerhard Stenzel
regards, Gerhard Stenzel, --- IBM Deutschland Research Development GmbH Vorsitzende des Aufsichtsrats: Martina Koederitz Geschäftsführung: Dirk Wittkopp Sitz der

Re: [libvirt] [PATCHv2] util: fix libvirtd startup failure due to netlink error

2012-05-04 Thread Gerhard Stenzel
()). libvirtd-lldpad communication is still working, but lldpad-libvirtd not anymore (CONNECTION_REFUSED). -- Best regards, Gerhard Stenzel, --- IBM Deutschland Research

Re: [libvirt] [PATCH 3/4] virnetdevvportprofile: Changes to support portprofiles for hostdevs

2012-03-02 Thread Gerhard Stenzel
association for (managerid, typeid, typeidversion, instanceid, vlanid) and that the VM would need to add the correct VLAN tag in order to be able to communicate. Does that make sense? Best regards, Gerhard Stenzel, Hybrid Technologies, LTC

Re: [libvirt] [PATCH 3/4] virnetdevvportprofile: Changes to support portprofiles for hostdevs

2012-03-02 Thread Gerhard Stenzel
is really how much control should the host have vs the guest. There are definitely scenarios thinkable where the host should do the association. Best regards, Gerhard Stenzel, Hybrid Technologies, LTC

Re: [libvirt] [PATCH 3/4] virnetdevvportprofile: Changes to support portprofiles for hostdevs

2012-03-02 Thread Gerhard Stenzel
not know for Qbh, but for Qbg: The switch knows nothing about macvtap devices or virtual functions, what matters is the combination of (managerid, typeid, typeidversion, instanceid, vlanid) to make an association. Best regards, Gerhard Stenzel, Hybrid Technologies, LTC

Re: [libvirt] [PATCH 3/4] virnetdevvportprofile: Changes to support portprofiles for hostdevs

2012-03-02 Thread Gerhard Stenzel
interface and this is where the association request is sent to, via lldpad. For the PCI passthrough case, the same must be possible, assuming the physical interface can be concluded from the PCI device and the VLAN information is provided. Or do I miss something? Best regards, Gerhard Stenzel, Hybrid

Re: [libvirt] [PATCH 3/4] virnetdevvportprofile: Changes to support portprofiles for hostdevs

2012-03-02 Thread Gerhard Stenzel
and the Qbg part can be added later, if necessary. Best regards, Gerhard Stenzel, Hybrid Technologies, LTC --- IBM Deutschland Research Development GmbH Vorsitzende des

Re: [libvirt] FW: macvtap not working on rhel 6.1 x86 machine

2011-12-15 Thread Gerhard Stenzel
to the same network as eth0. Please be aware that, depending on your switch configuration (supports hair pin mode or not), your host might not be able to talk to your VM and vice versa. -- Best regards, Gerhard Stenzel

Re: [libvirt] FW: macvtap not working on rhel 6.1 x86 machine

2011-12-15 Thread Gerhard Stenzel
, Gerhard Stenzel, --- IBM Deutschland Research Development GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft

Re: [libvirt] RFC: managing pci passthrough usage of sriov VFs via a new network forward type

2011-08-23 Thread Gerhard Stenzel
On Mon, 2011-08-22 at 05:17 -0400, Laine Stump wrote: For some reason beyond my comprehension, the designers of SRIOV ethernet cards decided that the virtual functions (VF) of the card (each VF corresponds to an ethernet device, e.g. eth10) should each be given a new+different+random MAC

Re: [libvirt] libvirt-0.9.3 week freeze, RC1 version to test

2011-06-27 Thread Gerhard Stenzel
%if 0%{?fedora} = 15 || 0%{?rhel} = 6 %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}} %endif -- Best regards, Gerhard Stenzel, --- IBM Deutschland

Re: [libvirt] [PATCH]: set and get the MAC of an interface

2011-06-22 Thread Gerhard Stenzel
On Wed, 2011-06-22 at 16:30 +0800, Daniel Veillard wrote: ACK, Actually, this is not needed anymore, now that the functions are in interface.c -- Best regards, Gerhard Stenzel

[libvirt] [PATCH v3]: set and restore MAC address of a NIC when using PASSTHROUGH mode

2011-06-21 Thread Gerhard Stenzel
at herrendoerfer.name Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com --- Index: libvirt/src/qemu/qemu_command.c === --- libvirt.orig/src/qemu/qemu_command.c +++ libvirt/src/qemu/qemu_command.c @@ -128,7 +128,7 @@ qemuPhysIfaceConnect

[libvirt] [PATCH v4]: set and restore MAC address of a NIC when using PASSTHROUGH mode

2011-06-21 Thread Gerhard Stenzel
remembering the previous setting while the VM is running. This also works if libvirtd is restarted while the VM is running. the patch passes make syntax-check Signed-off-by: Dirk Herrendoerfer d.herrendoerfer at herrendoerfer.name Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com

[libvirt] [PATCH]: set and get the MAC of an interface

2011-06-20 Thread Gerhard Stenzel
The following patch renames the function to set the MAC of an interface from ifSetInterfaceMac() to brSetInterfaceMac() and makes it available to other components. It also adds brGetInterfaceMac() to retrieve the MAC. Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com Index: libvirt/src

Re: [libvirt] [PATCH v2]: set and restore MAC address of a NIC when using PASSTHROUGH mode

2011-06-17 Thread Gerhard Stenzel
regards, Gerhard Stenzel, --- IBM Deutschland Research Development GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Dirk Wittkopp Sitz der

[libvirt] [PATCH v3]: set and restore MAC address of a NIC when using PASSTHROUGH mode

2011-06-17 Thread Gerhard Stenzel
d.herrendoerfer at herrendoerfer.name Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com --- Index: libvirt/src/libvirt_macvtap.syms === --- libvirt.orig/src/libvirt_macvtap.syms +++ libvirt/src/libvirt_macvtap.syms @@ -5,6 +5,8

[libvirt] [PATCH v2]: set and restore MAC address of a NIC when using PASSTHROUGH mode

2011-06-16 Thread Gerhard Stenzel
by setting and resetting the MAC while remembering the previous setting while the VM is running. This also works if libvirtd is restarted while the VM is running. The patch passes make syntax-check Signed-off-by: Dirk Herrendoerfer d.herrendoerfer at herrendoerfer.name Signed-off-by: Gerhard Stenzel

Re: [libvirt] [PATCH] Added capability to set and restore the MAC address of a NIC when using PASSTHROUGH mode with DIRECT type NICs. This is required to support SRIOV capable NICs with firmware imple

2011-06-16 Thread Gerhard Stenzel
and the comments. I am temporarily taking over from Dirk and just sent out a V2 patch which should address most of the comments -- Best regards, Gerhard Stenzel, --- IBM

Re: [libvirt] Network device abstraction aka virtual switch - V3

2011-06-16 Thread Gerhard Stenzel
'/ On the layer='network|link' question, would layer='IP|MAC' not be clearer? Regarding the mode attribute: mode='bridge|vepa|private|passthrough' seems sufficient to me, bridge-brctl or bridge-macvtap can be concluded from the dev attribute, right? ... -- Best regards, Gerhard Stenzel

Re: [libvirt] Network device abstraction aka virtual switch - V3

2011-06-16 Thread Gerhard Stenzel
of the VFs, then I would not list eth10 in the interface pool for passthrough devices. -- Best regards, Gerhard Stenzel, --- IBM Deutschland Research Development GmbH

Re: [libvirt] [RFC PATCH] Set and reset MAC for PASSTHROUGH mode

2011-06-14 Thread Gerhard Stenzel
On Mon, 2011-06-13 at 12:09 -0600, Eric Blake wrote: /tmp is probably not the best place; we already have a hierarchy under /var/run/libvirt/ and this information should live somewhere in that hierarchy. How about /var/run/libvirt/network ? -- Best regards, Gerhard Stenzel

Re: [libvirt] [PATCH] fix missing VLAN id for Qbg example

2011-05-03 Thread Gerhard Stenzel
regards, Gerhard Stenzel, --- IBM Deutschland Research Development GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft

[libvirt] [PATCH] fix missing VLAN id for Qbg example

2011-05-02 Thread Gerhard Stenzel
For IEEE 802.1Qbg, it is necessary to use a VLAN interface. vepa itself does not require a VLAN interface. Signed-off-by: Gerhard Stenzel stenzel at de.ibm.com === --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in

[libvirt] documenting the 802.1Qbg parameters of a 'direct' interface

2011-03-11 Thread Gerhard Stenzel
This patchs adds documentation about the 802.1Qbg related parameters of the virtualport element in a 'direct' interface definition. Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com patch attached to avoid line wrapping -- Best regards, Gerhard Stenzel

Re: [libvirt] documenting the 802.1Qbg parameters of a 'direct' interface

2011-03-11 Thread Gerhard Stenzel
On Fri, 2011-03-11 at 10:11 -0700, Eric Blake wrote: Indeed, and I just pushed the trivial fix. Thanks for pushing .. and for all the corrections as well -- Best regards, Gerhard Stenzel

Re: [libvirt] [RFC] cgroups net_cls controller implementation

2010-12-08 Thread Gerhard Stenzel
or comments regarding the patch or the approach it implements? We would very much appreciate it if this would make it into 0.8.7 -- Best regards, Gerhard Stenzel, --- IBM

Re: [libvirt] [PATCH] 802.1Qbg: use pre-associate state at beginning of incoming migration

2010-11-18 Thread Gerhard Stenzel
regards, Gerhard Stenzel, --- IBM Deutschland Research Development GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft

Re: [libvirt] [libvirt-tck] [RFC] 802.1Qbg test scripts

2010-10-07 Thread Gerhard Stenzel
it. Or something like that. Thanks for the feedback. The changes are in the attached new versions of the patches. It would be great if you could push at least modify_library_functions.patch to the git. -- Best regards, Gerhard Stenzel

Re: [libvirt] [libvirt-tck] [RFC] 802.1Qbg test scripts

2010-10-07 Thread Gerhard Stenzel
On Thu, 2010-10-07 at 13:23 +0100, Daniel P. Berrange wrote: Since most systems won't yet have lldptool present, you should surround the entire test from here onwards in a big 'SKIP : {}' block. eg cool .. V3 attached -- Best regards, Gerhard Stenzel

[libvirt] [libvirt-tck] [RFC] 802.1Qbg test scripts

2010-09-29 Thread Gerhard Stenzel
the test case. Thanks in advance. -- Best regards, Gerhard Stenzel, --- IBM Deutschland Research Development GmbH Vorsitzender des Aufsichtsrats: Martin Jetter

Re: [libvirt] [PATCH 0/3] test cases for spoofing prevention

2010-09-14 Thread Gerhard Stenzel
On Fri, 2010-09-10 at 16:02 +0200, Gerhard Stenzel wrote: Sounds good and I will give it a try ... All my tests worked except scripts/nwfilter/210-no-mac-spoofing.t, which failed with on Fedora 13: ... # ' /test.sh input must be 8 bytes long at /usr/lib64/perl5/Crypt/DES.pm line 57. # Looks

Re: [libvirt] [PATCH 0/3] test cases for spoofing prevention

2010-09-14 Thread Gerhard Stenzel
by using utf8::encode. -- Best regards, Gerhard Stenzel, --- IBM Deutschland Research Development GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Dirk

Re: [libvirt] [PATCH 0/3] test cases for spoofing prevention

2010-09-09 Thread Gerhard Stenzel
-assamese #m17n-db-punjabi #iok #m17n-db-telugu #tm17n-db-malayalam -- Best regards, Gerhard Stenzel, --- IBM Deutschland Research Development GmbH Vorsitzender des

[libvirt] [PATCH] fix handling of PORT_PROFILE_RESPONSE_INPROGRESS netlink message

2010-07-28 Thread Gerhard Stenzel
During function test of the 802.1Qbg implementation in lldpad we came across a small problem in the handling of the netlink message corresponding to PORT_PROFILE_RESPONSE_INPROGRESS. This should not result in returning the default rc=1. Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com

Re: [libvirt] [PATCH 0/3] test cases for spoofing prevention

2010-06-23 Thread Gerhard Stenzel
/ I'm just trying to get my machines working again so I can actually try out your test cases myself...then i give any more feedback... Thanks, please find attached my ks.cfg Regards, Daniel -- Best regards, Gerhard Stenzel

Re: [libvirt] [PATCH v2] vepa: parsing for 802.1Qb{g|h} XML

2010-05-12 Thread Gerhard Stenzel
, that there is currently no public available version of lldptool which accepts this command line. This is also work in progress. This applies on top of the patch Stefan just posted. Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com Index: libvirt/src/util/macvtap.c

Re: [libvirt] [PATCH v2] vepa: parsing for 802.1Qb{g|h} XML

2010-05-12 Thread Gerhard Stenzel
or the even the macvtap to lldptool. The same would be true for finding the VLAN ID. For both the code I posted here on libvirt mailing list could be used in lldpad. For now I won't check it in. If that is the preferred way ... fine with me. -- Best regards, Gerhard Stenzel

Re: [libvirt] [PATCH v2] vepa: parsing for 802.1Qb{g|h} XML

2010-05-12 Thread Gerhard Stenzel
On Wed, 2010-05-12 at 21:08 +0200, Gerhard Stenzel wrote: On Wed, 2010-05-12 at 13:21 -0400, Stefan Berger wrote: I am wondering whether it would not be 'more general' to have lldpad determine the root interface and handling bonding interfaces on the way rather than libvirt trying

Re: [libvirt] [libvirt PATCH] Port-profile ID support using IFLA_VF_PORT_PROFILE netlink msg

2010-05-10 Thread Gerhard Stenzel
, Gerhard Stenzel, --- IBM Deutschland Research Development GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft: Böblingen

Re: [libvirt] [PATCH 1/1] Initial POC of port profile id support

2010-04-26 Thread Gerhard Stenzel
libvirtd starts up and reads all domain files. The second line is when I tried to edit the domain xml via virsh edit. -- Best regards, Gerhard Stenzel, --- IBM

Re: [libvirt] [RFC] libvirt-TCK scripts to verify spoofing prevention

2010-04-23 Thread Gerhard Stenzel
? On Thu, 2010-04-15 at 15:27 +0100, Daniel P. Berrange wrote: On Thu, Apr 15, 2010 at 02:35:41PM +0200, Gerhard Stenzel wrote: The following patch mainly adds a set of test case to verify that several spoofing attacks are prevented by the nwfilter subsystem. In order to have a well

[libvirt] [RFC] libvirt-TCK scripts to verify spoofing prevention

2010-04-15 Thread Gerhard Stenzel
= shift; +my $tmp = `grep $mac /var/lib/dnsmasq/dnsmasq.leases`; +my @fields = split(/ /, $tmp); +my $ip = $fields[2]; +return $ip; +} +1; -- Best regards, Gerhard Stenzel

[libvirt] question about libvirt-tck/libivrt-perl

2010-04-12 Thread Gerhard Stenzel
; the script works as expected. I am wondering if this is a problem in the libvirt-perl wrapper or working as designed and my expectation is simply wrong? Thanks in advance... -- Best regards, Gerhard Stenzel

Re: [libvirt] question about libvirt-tck/libivrt-perl

2010-04-12 Thread Gerhard Stenzel
works as expected. BTW, additional test cases for libvirt-TCK should be send as patches to this list, correct? -- Best regards, Gerhard Stenzel, --- IBM Deutschland

Re: [libvirt] [PATCH v2]

2010-04-08 Thread Gerhard Stenzel
, but what is the best way to solve this in a libvirt-tck way? -- Best regards, Gerhard Stenzel, --- IBM Deutschland Research Development GmbH Vorsitzender des Aufsichtsrats

Re: [libvirt] [PATCH v2]

2010-04-08 Thread Gerhard Stenzel
the guest itself. -- Best regards, Gerhard Stenzel, --- IBM Deutschland Research Development GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Dirk

Re: [libvirt] Patch for Vepa support in brctl

2010-03-31 Thread Gerhard Stenzel
-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list -- Best regards, Gerhard Stenzel, --- IBM Deutschland Research Development GmbH Vorsitzender des

[libvirt] [PATCH] fix filter referencing element info

2010-03-25 Thread Gerhard Stenzel
This patch changes the original element info for referencing a filter from filter name=../ to filterref filter=/, as it is currently implemented. Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com Index: libvirt/docs/schemas/domain.rng

Re: [libvirt] [RFC] events scripts support

2010-03-23 Thread Gerhard Stenzel
regards, Gerhard Stenzel, --- IBM Deutschland Research Development GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft

Re: [libvirt] [RFC] Proposal for introduction of network traffic filtering capabilities for filtering of network traffic from and to VMs

2010-02-22 Thread Gerhard Stenzel
traffic. -- Best regards, Gerhard Stenzel, --- IBM Deutschland Research Development GmbH

Re: [libvirt] [PATCH 0/5] macvtap support for Qemu/KVM VMs via libvirt

2010-02-16 Thread Gerhard Stenzel
a macvtap usage example to the Network Interface chapter of the Libvirt Application Development Guide. -- Best regards, Gerhard Stenzel, --- IBM Deutschland Research

Re: [libvirt] [RFC] Proposal for introduction of network traffic filtering capabilities for filtering of network traffic from and to VMs

2010-02-04 Thread Gerhard Stenzel
, Gerhard Stenzel, --- IBM Deutschland Research Development GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft: Böblingen

Re: [libvirt] Libvirt guide draft published on libvirt.org

2010-01-28 Thread Gerhard Stenzel
@@ if (!iface) { para virInterfaceDestroy makes the given interface inactive (down). On success, it returns 0. If there is any problem making the interface - acrive, -1 is returned. + active, -1 is returned. /para example -- Best regards, Gerhard

Re: [libvirt] [RFC] Proposal for introduction of network traffic filtering capabilities for filtering of network traffic from and to VMs

2010-01-26 Thread Gerhard Stenzel
On Mon, 2010-01-25 at 14:59 +, Daniel P. Berrange wrote: On Fri, Jan 22, 2010 at 01:29:16PM +0100, Gerhard Stenzel wrote: On Wed, 2010-01-13 at 17:36 +, Daniel P. Berrange wrote: ... The shear size of the ruleset inside the interface element is rather alarming to me. Imagine if you

Re: [libvirt] [RFC] Proposal for introduction of network traffic filtering capabilities for filtering of network traffic from and to VMs

2010-01-26 Thread Gerhard Stenzel
. agreed. We will start with the implementation and send a patch or rather a series once we have them. Thanks. -- Best regards, Gerhard Stenzel, --- IBM Deutschland

Re: [libvirt] [RFC] Proposal for introduction of network traffic filtering capabilities for filtering of network traffic from and to VMs

2010-01-22 Thread Gerhard Stenzel
/element /zeroOrMore /choice /element /zeroOrMore /element /define /grammar -- Best regards, Gerhard Stenzel

Re: [libvirt] Libvirt guide draft published on libvirt.org

2010-01-19 Thread Gerhard Stenzel
Hi, I cloned the repository from git://libvirt.org/libvirt-appdev-guide The file en-US/Book_Info.xml contains productnumber0.7.3/productnumber, whereas the docments at http://libvirt.org/guide/ show 0.7.5 Have I cloned the wrong repository? -- Best regards, Gerhard Stenzel

[libvirt] attach_device incompatibility between libvirt and qemu 0.12

2010-01-14 Thread Gerhard Stenzel
errno=0 0 bytes '(null)' For the failing qemu: qemuMonitorCommandWithHandler:221 : Receive command reply ret=0 errno=0 44 bytes 'No file descriptor supplied via SCM_RIGHTS^M ' Any ideas? -- Best regards, Gerhard Stenzel

Re: [libvirt] [PATCH] remove port filter on detachment of a network device

2009-11-24 Thread Gerhard Stenzel
On Tue, 2009-11-10 at 13:28 +0100, Gerhard Stenzel wrote: This patch removes the port filter if the network device is detached via virDomainDetachDevice. Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com Index: libvirt/src/qemu/qemu_driver.c

[libvirt] [PATCH] remove ebtables rules at qemud shutdown

2009-11-24 Thread Gerhard Stenzel
This patch removes ebtables rules at qemud shutdown time Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com Index: libvirt/src/qemu/qemu_bridge_filter.c === --- libvirt.orig/src/qemu/qemu_bridge_filter.c +++ libvirt/src/qemu

Re: [libvirt] [PATCH 2/2] add MAC address based port filtering to qemu

2009-11-18 Thread Gerhard Stenzel
address could be a problem. What am I missing? -- Best regards, Gerhard Stenzel, --- IBM Deutschland Research Development GmbH Vorsitzender des Aufsichtsrats

Re: [libvirt] [PATCH] Prevent initializing ebtables if disabled in qemu.conf

2009-11-11 Thread Gerhard Stenzel
rawhide box). This causes it to print lots of error messages on libvirtd startup. It would be nice to find a way to just VIR_DEBUG that the binary wasn't found and skip initializing the driver. ok. I will look into this. Thanks, Cole Best regards, Gerhard Stenzel, Linux on Cell/Hybrid

[libvirt] [PATCH] remove port filter on detachment of a network device

2009-11-10 Thread Gerhard Stenzel
This patch removes the port filter if the network device is detached via virDomainDetachDevice. Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com Index: libvirt/src/qemu/qemu_driver.c === --- libvirt.orig/src/qemu

Re: [libvirt] [PATCH 2/2] add MAC address based port filtering to qemu

2009-11-04 Thread Gerhard Stenzel
enough with an extra patch though, and a single catch-all rule for multi/broad-cast packets. Daniel something like the following? ebtables -A libvirt_qemu_FORWARD -p ARP -j ACCEPT any other multi/broad-cast packets you/Mark had in mind? -- Best regards, Gerhard Stenzel

Re: [libvirt] [PATCH 1/2] add ebtables wrapper

2009-11-04 Thread Gerhard Stenzel
On Tue, 2009-11-03 at 23:17 +0100, Daniel Veillard wrote: On Tue, Oct 27, 2009 at 12:36:09PM +0100, Gerhard Stenzel wrote: This patch adds the files which implement the ebtables wrapper. Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com ... +/** + * ebtablesSaveRules

[libvirt] [PATCH 1/2] add ebtables wrapper

2009-10-27 Thread Gerhard Stenzel
This patch adds the files which implement the ebtables wrapper. Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com --- configure.in |3 src/Makefile.am |1 src/libvirt_private.syms |7 + src/util/ebtables.c | 441

[libvirt] [PATCH 0/2] Add MAC filtering to qemu

2009-10-27 Thread Gerhard Stenzel
capability to the API level and virsh command level. The plan is also to add more filtering features like VLAN filtering and QoS filtering. Thanks, Gerhard --- Gerhard Stenzel (2): add MAC address based port filtering to qemu add ebtables wrapper configure.in |3

[libvirt] [RFC PATCH 0/3] Add MAC filtering to qemu

2009-10-13 Thread Gerhard Stenzel
is started or destroyed. The plan is to extend this filter capability to the API level and virsh command level. The plan is also to add more filtering features like VLAN filtering and QoS filtering. Thanks, Gerhard --- Gerhard Stenzel (3): add MAC address based port filtering to qemu add

[libvirt] [RFC PATCH 1/3] add ebtables wrapper

2009-10-13 Thread Gerhard Stenzel
This patch adds the files which implement the ebtables wrapper. Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com --- src/util/ebtables.c | 982 +++ src/util/ebtables.h | 134 +++ 2 files changed, 1116 insertions(+), 0 deletions

[libvirt] [RFC PATCH 2/3] add build support for ebtables wrapper

2009-10-13 Thread Gerhard Stenzel
This patch adds build support for the ebtables wrapper. Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com --- configure.in |3 +++ src/Makefile.am |1 + src/libvirt_private.syms | 27 +++ 3 files changed, 31 insertions(+), 0

[libvirt] [RFC PATCH 3/3] add MAC address based port filtering to qemu

2009-10-13 Thread Gerhard Stenzel
This patch adds MAC address based port filtering to the qemu driver. Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com --- src/qemu/qemu.conf |3 ++ src/qemu/qemu_conf.c | 85 src/qemu/qemu_conf.h |8 + src/qemu

[libvirt] [RFC PATCH 1/6] add ebtables wrapper

2009-10-02 Thread Gerhard Stenzel
This patch adds the files which implement the ebtables wrapper. Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com --- src/util/ebtables.c | 964 +++ src/util/ebtables.h | 136 +++ 2 files changed, 1100 insertions(+), 0 deletions

[libvirt] [RFC PATCH 2/6] add build support for ebtables wrapper

2009-10-02 Thread Gerhard Stenzel
This patch adds build support for the ebtables wrapper. Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com --- configure.in|3 +++ src/Makefile.am |1 + 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/configure.in b/configure.in index cb5ce55..9e9aa3a 100644

[libvirt] [RFC PATCH 3/6] add the ebtables wrapper to network driver

2009-10-02 Thread Gerhard Stenzel
This patch adds the ebtables wrapper to the network driver. Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com --- src/conf/network_conf.h | 10 ++ src/libvirt_private.syms| 26 ++ src/network/bridge_driver.c | 179 +++ 3 files

[libvirt] [RFC PATCH 4/6] add MAC address based port filtering to libvirt

2009-10-02 Thread Gerhard Stenzel
This patch adds MAC address based port filtering support to libvirt. Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com --- include/libvirt/libvirt.h.in | 16 ++ src/driver.h | 16 ++ src/libvirt.c| 121

[libvirt] [RFC PATCH 5/6] add MAC address based port filtering to qemu

2009-10-02 Thread Gerhard Stenzel
This patch adds MAC address based port filtering to the qemu driver. Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com --- src/qemu/qemu.conf |3 +++ src/qemu/qemu_conf.c | 14 ++ src/qemu/qemu_conf.h |2 ++ src/qemu/qemu_driver.c | 23

[libvirt] [RFC PATCH 6/6] remove currently unused parameter to pass make check test

2009-10-02 Thread Gerhard Stenzel
This patch removes the currently unused network parameter to pass make check Signed-off-by: Gerhard Stenzel gerhard.sten...@de.ibm.com --- a/include/libvirt/libvirt.h.in +++ b/include/libvirt/libvirt.h.in @@ -890,12 +890,10 @@ int virNetworkSetAutostart (virNetworkPtr

[libvirt] Integrating MAC address based filtering into libvirt

2009-08-19 Thread Gerhard Stenzel
via virsh is also an option. Comments are appreciated. -- Best regards, Gerhard Stenzel, --- IBM Deutschland Research Development GmbH Vorsitzender des Aufsichtsrats

Re: [libvirt] Integrating MAC address based filtering into libvirt

2009-08-19 Thread Gerhard Stenzel
On Wed, 2009-08-19 at 13:35 +0100, Daniel P. Berrange wrote: On Wed, Aug 19, 2009 at 02:11:14PM +0200, Gerhard Stenzel wrote: ... I think this extra XML element is probably redundant - we should always do MAC filtering at all times, on all bridges. Not simply those used in a virtual network