diff --git a/kvm-all.c b/kvm-all.c index c86626f9ff46456be12adabb9f4ac2a381de71c3..4bfecccf8e99698c3b0bae25404832dd769278a7 100644 --- a/kvm-all.c +++ b/kvm-all.c @@ -417,7 +417,7 @@ static int kvm_physical_sync_dirty_bitmap(MemoryRegionSection *section) { KVMState *s = kvm_state; unsigned long size, allocated_size = 0; - KVMDirtyLog d; + KVMDirtyLog d = {}; KVMSlot *mem; int ret = 0; hwaddr start_addr = section->offset_within_address_space;