Re: [Qemu-devel] [PATCH 1/2] kvm/apic: correct short memset

2012-06-11 Thread Avi Kivity
On 05/10/2012 07:19 PM, Jim Meyering wrote: > From: Jim Meyering > > kvm_put_apic_state's attempt to clear *kapic before setting its > bits cleared sizeof(void*) bytes (no more than 8) rather than the > intended 1024 (KVM_APIC_REG_SIZE) bytes. Spotted by coverity. Thanks, applied to uq/master.

Re: [Qemu-devel] [PATCH 1/2] kvm/apic: correct short memset

2012-05-10 Thread Jan Kiszka
On 2012-05-10 13:19, Jim Meyering wrote: > From: Jim Meyering > > kvm_put_apic_state's attempt to clear *kapic before setting its > bits cleared sizeof(void*) bytes (no more than 8) rather than the > intended 1024 (KVM_APIC_REG_SIZE) bytes. Spotted by coverity. > > Signed-off-by: Jim Meyering >

[Qemu-devel] [PATCH 1/2] kvm/apic: correct short memset

2012-05-10 Thread Jim Meyering
From: Jim Meyering kvm_put_apic_state's attempt to clear *kapic before setting its bits cleared sizeof(void*) bytes (no more than 8) rather than the intended 1024 (KVM_APIC_REG_SIZE) bytes. Spotted by coverity. Signed-off-by: Jim Meyering --- hw/kvm/apic.c | 2 +- 1 file changed, 1 insertion(+