Re: [libvirt] [PATCH 0/2] check for null ifname when setting/clearing bandwidth
On Wed, Feb 25, 2015 at 11:57:47AM -0500, John Ferlan wrote: On 02/25/2015 11:30 AM, Laine Stump wrote: On 02/25/2015 04:40 AM, Martin Kletzander wrote: On Tue, Feb 24, 2015 at 02:39:52PM -0500, Laine Stump wrote: When John Ferlan ran the Coverity static checker on my patches to fix the problem with nicindexes, it began complaining about calling the virNetDevBandwidth* functions with a null ifname. Investigation pointed out some real problems with this that are fixed by these two patches (which will be pushed *before* the nicindex fix patch). Makes sense and works for me, ACK series after release. No, these need to go in *before* the release, as does the patch for nicindexes - otherwise macvtap and hostdev interfaces will not work. I agree - this release... For "reference" you have to see Laine's other patch series which references commit id 'f7afeddc' which was a change made during this release cycle... I was under the impression that the series Laine referred to has not gone in and I jumped on this one since it can be reviewed without that series I couldn't find. Anyway, sorry for my mistake then and if John agree, then I see no point in postponing it. pgpjt0l32DQlB.pgp Description: PGP signature -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 0/2] check for null ifname when setting/clearing bandwidth
On 02/25/2015 11:30 AM, Laine Stump wrote: > On 02/25/2015 04:40 AM, Martin Kletzander wrote: >> On Tue, Feb 24, 2015 at 02:39:52PM -0500, Laine Stump wrote: >>> When John Ferlan ran the Coverity static checker on my patches to fix >>> the problem with nicindexes, it began complaining about calling the >>> virNetDevBandwidth* functions with a null ifname. Investigation >>> pointed out some real problems with this that are fixed by these two >>> patches (which will be pushed *before* the nicindex fix patch). >>> >> >> Makes sense and works for me, ACK series after release. > > No, these need to go in *before* the release, as does the patch for > nicindexes - otherwise macvtap and hostdev interfaces will not work. > I agree - this release... For "reference" you have to see Laine's other patch series which references commit id 'f7afeddc' which was a change made during this release cycle... John -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 0/2] check for null ifname when setting/clearing bandwidth
On 02/25/2015 04:40 AM, Martin Kletzander wrote: > On Tue, Feb 24, 2015 at 02:39:52PM -0500, Laine Stump wrote: >> When John Ferlan ran the Coverity static checker on my patches to fix >> the problem with nicindexes, it began complaining about calling the >> virNetDevBandwidth* functions with a null ifname. Investigation >> pointed out some real problems with this that are fixed by these two >> patches (which will be pushed *before* the nicindex fix patch). >> > > Makes sense and works for me, ACK series after release. No, these need to go in *before* the release, as does the patch for nicindexes - otherwise macvtap and hostdev interfaces will not work. -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 0/2] check for null ifname when setting/clearing bandwidth
On Tue, Feb 24, 2015 at 02:39:52PM -0500, Laine Stump wrote: When John Ferlan ran the Coverity static checker on my patches to fix the problem with nicindexes, it began complaining about calling the virNetDevBandwidth* functions with a null ifname. Investigation pointed out some real problems with this that are fixed by these two patches (which will be pushed *before* the nicindex fix patch). Makes sense and works for me, ACK series after release. Laine Stump (2): network: only clear bandwidth if it has been set util: check for null ifname inside virNetDevBandwidthSet() src/conf/netdev_bandwidth_conf.c | 6 -- src/lxc/lxc_driver.c | 7 ++- src/network/bridge_driver.c | 6 -- src/qemu/qemu_hotplug.c | 4 +++- src/util/virnetdevbandwidth.c| 9 - src/util/virnetdevbandwidth.h| 4 ++-- 6 files changed, 27 insertions(+), 9 deletions(-) -- 2.1.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list pgpHIrsSWiNmN.pgp Description: PGP signature -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list