]> Git Repo - qemu.git/blobdiff - linux-user/main.c
hw/virtio/vring/event_idx: fix the vring_avail_event error
[qemu.git] / linux-user / main.c
index 472a16d2db9a9ca42ee2c729f01bfc6a8ab2d653..483eb3fec2f534a386734bb347defc5e96345611 100644 (file)
@@ -3458,8 +3458,7 @@ CPUArchState *cpu_copy(CPUArchState *env)
         cpu_breakpoint_insert(new_cpu, bp->pc, bp->flags, NULL);
     }
     QTAILQ_FOREACH(wp, &cpu->watchpoints, entry) {
-        cpu_watchpoint_insert(new_cpu, wp->vaddr, (~wp->len_mask) + 1,
-                              wp->flags, NULL);
+        cpu_watchpoint_insert(new_cpu, wp->vaddr, wp->len, wp->flags, NULL);
     }
 #endif
 
This page took 0.023272 seconds and 4 git commands to generate.