[libvirt] [PATCH 1/3] qemu: perf: Don't set state of first event for every other event
Peter Krempa
pkrempa at redhat.com
Fri Jun 17 07:47:31 UTC 2016
On Thu, Jun 16, 2016 at 14:01:59 -0400, John Ferlan wrote:
>
>
> On 06/15/2016 11:15 AM, Peter Krempa wrote:
> > A bug in the code used the value of the first perf event as state for
> > all the mentioned one rather than extracting individual ones.
> >
> > Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1346730
> > ---
> > src/qemu/qemu_driver.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
>
> ACK
There are two instances of the same bug, one more in the persistentDef
section. I added it to this patch. I'll also post a follow up that
cleans the code up since we don't really need to loop the array twice.
More information about the libvir-list
mailing list