On 30.07.19 18:46, Peter Maydell wrote: > On Tue, 30 Jul 2019 at 17:05, Andrey Shinkevich > <andrey.shinkev...@virtuozzo.com> wrote: >> >> Not the whole structure is initialized before passing it to the KVM. >> Reduce the number of Valgrind reports. >> >> Signed-off-by: Andrey Shinkevich <andrey.shinkev...@virtuozzo.com> > > Does it even make sense to try to valgrind a KVM-enabled run > of QEMU? As soon as we run the guest it will make modifications > to memory which Valgrind can't track; and I don't think > Valgrind supports the KVM_RUN ioctl anyway... As long as we do not care about the guest memory, it does make sense and it does find bugs. See also https://www.linux-kvm.org/page/KVM_Forum_2014 https://www.linux-kvm.org/images/d/d2/03x07-Valgrind.pdf Unfortunately I wasnt able to follow up on those.
- [Qemu-devel] [PATCH 3/3] i386/kvm: initialize stru... Andrey Shinkevich
- Re: [Qemu-devel] [PATCH 3/3] i386/kvm: initia... Philippe Mathieu-Daudé
- Re: [Qemu-devel] [PATCH 3/3] i386/kvm: in... Christian Borntraeger
- Re: [Qemu-devel] [PATCH 3/3] i386/kvm... Philippe Mathieu-Daudé
- Re: [Qemu-devel] [PATCH 3/3] i386... Christian Borntraeger
- Re: [Qemu-devel] [PATCH 3/3] i386/kvm... Christophe de Dinechin
- Re: [Qemu-devel] [PATCH 3/3] i386... Paolo Bonzini
- Re: [Qemu-devel] [PATCH 3/3]... Andrey Shinkevich
- Re: [Qemu-devel] [PATCH 3/3] i386/kvm: in... Paolo Bonzini
- Re: [Qemu-devel] [PATCH 3/3] i386/kvm: initia... Peter Maydell
- Re: [Qemu-devel] [PATCH 3/3] i386/kvm: in... Christian Borntraeger
- Re: [Qemu-devel] [PATCH 3/3] i386/kvm: initia... Paolo Bonzini
- Re: [Qemu-devel] [PATCH 3/3] i386/kvm: in... Christian Borntraeger
- Re: [Qemu-devel] [PATCH 3/3] i386/kvm... Andrey Shinkevich
- Re: [Qemu-devel] [PATCH 3/3] i386... Christian Borntraeger
- Re: [Qemu-devel] [PATCH 3/3]... Christian Borntraeger
- Re: [Qemu-devel] [PATCH ... Paolo Bonzini
- Re: [Qemu-devel] [PATCH ... Andrey Shinkevich
- [Qemu-devel] [PATCH 1/3] test-throttle: Fix uninit... Andrey Shinkevich
- Re: [Qemu-devel] [PATCH 1/3] test-throttle: F... Alberto Garcia
- [Qemu-devel] [PATCH 2/3] tests: Fix uninitialized ... Andrey Shinkevich