Re: [libvirt] [libvirt-users] virRandomBits - not very random

2018-05-25 Thread Brian Rak
On 5/25/2018 8:58 AM, Eric Blake wrote: Reviving an ancient thread: On 11/04/2014 02:18 AM, Daniel P. Berrange wrote: On Mon, Nov 03, 2014 at 11:09:12AM -0500, Brian Rak wrote: I just ran into an issue where I had about 30 guests get duplicate mac addresses assigned.  These were scattered

[libvirt] 'stack smashing detected' in 1.2.18 (caused by virNetDevGFeatureAvailable)

2015-08-05 Thread Brian Rak
I recently compiled 1.2.18 to start testing with it, and was getting this error on startup: *** stack smashing detected ***: libvirtd terminated === Backtrace: = /lib64/libc.so.6(__fortify_fail+0x37)[0x7fe1ac631527] /lib64/libc.so.6(__fortify_fail+0x0)[0x7fe1ac6314f0] //lib/libvirt.s

[libvirt] 'stack smashing detected' in 1.2.18 (caused by virNetDevGFeatureAvailable)

2015-08-05 Thread Brian Rak
I recently compiled 1.2.18 to start testing with it, and was getting this error on startup: *** stack smashing detected ***: libvirtd terminated === Backtrace: = /lib64/libc.so.6(__fortify_fail+0x37)[0x7fe1ac631527] /lib64/libc.so.6(__fortify_fail+0x0)[0x7fe1ac6314f0] //lib/libvirt.s

Re: [libvirt] [PATCH] Add V6LOCAL parameter to nwfilter rules.

2014-04-04 Thread Brian Rak
On 4/4/2014 4:48 AM, Daniel P. Berrange wrote: On Wed, Apr 02, 2014 at 03:40:14PM -0400, Brian Rak wrote: @@ -163,6 +164,28 @@ virNWFilterVarHashmapAddStdValues(virNWFilterHashTablePtr table, "%s", _("Could not add variable &#

Re: [libvirt] Enhancing clean-traffic to work with IPv6

2014-04-04 Thread Brian Rak
On 4/4/2014 4:55 AM, Daniel P. Berrange wrote: On Thu, Apr 03, 2014 at 05:28:35PM -0400, Brian Rak wrote: I'm looking into adding IPv6 support to the nwfilter clean-traffic rules, but I'm unsure of the best approach to this. I'm planning on sending patches once I get this

[libvirt] Enhancing clean-traffic to work with IPv6

2014-04-03 Thread Brian Rak
I'm looking into adding IPv6 support to the nwfilter clean-traffic rules, but I'm unsure of the best approach to this. I'm planning on sending patches once I get this correct, so I'm trying to figure out what way fits in best. There's a couple different ways I can think of: 1) Explicitly add

[libvirt] [PATCH v2] Add V6LOCAL nwfilter parameter.

2014-04-03 Thread Brian Rak
Currently, adding any sort of IPv6 nwfilter rules is rather difficult. There are no standard rules, and you end up doing a lot of things by hand. This patch makes the $V6LOCAL variable available within nwfilter nules. This is the generated from the interface's mac address using the modified EUI-6

Re: [libvirt] [PATCH] Add V6LOCAL parameter to nwfilter rules.

2014-04-02 Thread Brian Rak
On 4/2/2014 4:11 PM, Eric Blake wrote: On 04/02/2014 01:56 PM, Eric Blake wrote: On 04/02/2014 01:40 PM, Brian Rak wrote: Currently, adding any sort of IPv6 nwfilter rules is rather difficult. There are no standard rules, Also worth an example of what this will contain (such as fe80::5254

Re: [libvirt] [PATCH] Add V6LOCAL parameter to nwfilter rules.

2014-04-02 Thread Brian Rak
On 4/2/2014 3:56 PM, Eric Blake wrote: On 04/02/2014 01:40 PM, Brian Rak wrote: Currently, adding any sort of IPv6 nwfilter rules is rather difficult. There are no standard rules, Long lines; we tend to keep commit messages wrapped around 72 columns or so ('git log' adds indent

[libvirt] [PATCH] Add V6LOCAL parameter to nwfilter rules.

2014-04-02 Thread Brian Rak
Currently, adding any sort of IPv6 nwfilter rules is rather difficult. There are no standard rules, and you end up doing a lot of things by hand. This patch makes the $V6LOCAL variable available within rules. This is the generated from the interface's mac address using the modified EUI-64 for

[libvirt] [PATCH] Fix potential crash when setting partial cpu/memory/numa/interface limits on domains

2014-03-27 Thread Brian Rak
The number of parameters in new_params is not guaranteed to be the same as the number of parameters in params. Use the correct count when freeing new_params to avoid crashes --- libvirt-override.c | 24 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a

Re: [libvirt] Crash when using python-libvirt setSchedulerParameters

2014-03-27 Thread Brian Rak
On 3/27/2014 10:54 AM, Brian Rak wrote: On 3/25/2014 6:50 AM, Michal Privoznik wrote: On 24.03.2014 21:45, Brian Rak wrote: I'm seeing a very weird (and somewhat reproducable) crash in setSchedulerParameters. The backtrace looks like this: *** glibc detected *** python2.7: free(): in

Re: [libvirt] Crash when using python-libvirt setSchedulerParameters

2014-03-27 Thread Brian Rak
On 3/25/2014 6:50 AM, Michal Privoznik wrote: On 24.03.2014 21:45, Brian Rak wrote: I'm seeing a very weird (and somewhat reproducable) crash in setSchedulerParameters. The backtrace looks like this: *** glibc detected *** python2.7: free(): invalid pointer: 0x015

Re: [libvirt] Crash when using python-libvirt setSchedulerParameters

2014-03-26 Thread Brian Rak
On 3/25/2014 6:50 AM, Michal Privoznik wrote: On 24.03.2014 21:45, Brian Rak wrote: I'm seeing a very weird (and somewhat reproducable) crash in setSchedulerParameters. The backtrace looks like this: *** glibc detected *** python2.7: free(): invalid pointer: 0x015

[libvirt] Crash when using python-libvirt setSchedulerParameters

2014-03-24 Thread Brian Rak
I'm seeing a very weird (and somewhat reproducable) crash in setSchedulerParameters. The backtrace looks like this: *** glibc detected *** python2.7: free(): invalid pointer: 0x0152bc48 *** === Backtrace: = /lib64/libc.so.6(+0x76166)[0x7faa9e991166] /usr/lib64/python2.7/si

[libvirt] Python setInterfaceParameters function broken

2014-03-17 Thread Brian Rak
I've been trying to use domain.setInterfaceParameters, and I'm finding it's throwing the mysterious error: libvirt.libvirtError: argument unsupported: parameter '' not supported Enabling debug mode in libvirt reveals this: 2014-03-17 18:41:33.780+: 16927: debug : virDomainSetInterfacePara