Re: [RFC PATCH 1/1] kvm-all.c: hint Valgrind that kvm_get_one_reg() inits memory

2022-04-06 Thread David Gibson
On Tue, Apr 05, 2022 at 03:30:26PM +0100, Peter Maydell wrote: > On Tue, 5 Apr 2022 at 14:07, Daniel Henrique Barboza > wrote: > > > > There is a lot of Valgrind warnings about conditional jump depending on > > unintialized values like this one (taken from a pSeries guest): > > > > Conditional ju

Re: [RFC PATCH 1/1] kvm-all.c: hint Valgrind that kvm_get_one_reg() inits memory

2022-04-06 Thread David Gibson
On Tue, Apr 05, 2022 at 10:04:39AM -0300, Daniel Henrique Barboza wrote: > There is a lot of Valgrind warnings about conditional jump depending on > unintialized values like this one (taken from a pSeries guest): > > Conditional jump or move depends on uninitialised value(s) > at 0xB011DC: kv

Re: [RFC PATCH 1/1] kvm-all.c: hint Valgrind that kvm_get_one_reg() inits memory

2022-04-05 Thread Daniel Henrique Barboza
On 4/5/22 11:30, Peter Maydell wrote: On Tue, 5 Apr 2022 at 14:07, Daniel Henrique Barboza wrote: There is a lot of Valgrind warnings about conditional jump depending on unintialized values like this one (taken from a pSeries guest): Conditional jump or move depends on uninitialised valu

Re: [RFC PATCH 1/1] kvm-all.c: hint Valgrind that kvm_get_one_reg() inits memory

2022-04-05 Thread Peter Maydell
On Tue, 5 Apr 2022 at 14:07, Daniel Henrique Barboza wrote: > > There is a lot of Valgrind warnings about conditional jump depending on > unintialized values like this one (taken from a pSeries guest): > > Conditional jump or move depends on uninitialised value(s) > at 0xB011DC: kvmppc_enable

[RFC PATCH 1/1] kvm-all.c: hint Valgrind that kvm_get_one_reg() inits memory

2022-04-05 Thread Daniel Henrique Barboza
There is a lot of Valgrind warnings about conditional jump depending on unintialized values like this one (taken from a pSeries guest): Conditional jump or move depends on uninitialised value(s) at 0xB011DC: kvmppc_enable_cap_large_decr (kvm.c:2544) by 0x92F28F: cap_large_decr_cpu_apply (