[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/9] memory: add support getting and using a dir
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH 2/9] memory: add support getting and using a dirty bitmap copy. |
Date: |
Thu, 27 Apr 2017 16:00:06 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 21.04.2017 um 11:16 hat Gerd Hoffmann geschrieben:
> +bool cpu_physical_memory_snapshot_get_dirty(DirtyBitmapSnapshot *snap,
> + ram_addr_t start,
> + ram_addr_t length)
> +{
> + unsigned long page, end;
> +
> + assert(start >= snap->start);
> + assert(start + length <= snap->end);
Not sure if this has been reported somewhere else, but I got an
assertion failure here while booting a guest:
$ ~/source/qemu/x86_64-softmmu/qemu-system-x86_64 -enable-kvm -m 2G -drive
file=Windows-10-20170427.0-x86_64.qcow2,snapshot=on -usbdevice tablet -vga qxl
qemu-system-x86_64: /home/kwolf/source/qemu/exec.c:1125:
cpu_physical_memory_snapshot_get_dirty: Zusicherung >>start + length <=
snap->end<< nicht erf?llt.
Abgebrochen (Speicherabzug geschrieben)
Unfortunately, I didn't have gdb attached or core dumps enabled, and it
doesn't seem to reproduce easily, so I don't have anything that could
help debugging it, but I thought I'd just let you know anyway.
Kevin
- [Qemu-devel] [PATCH 0/9] hw/display: make display updates thread safe, part 1, Gerd Hoffmann, 2017/04/21
- [Qemu-devel] [PATCH 2/9] memory: add support getting and using a dirty bitmap copy., Gerd Hoffmann, 2017/04/21
- Re: [Qemu-devel] [PATCH 2/9] memory: add support getting and using a dirty bitmap copy.,
Kevin Wolf <=
- [Qemu-devel] [PATCH 4/9] vga: make display updates thread safe., Gerd Hoffmann, 2017/04/21
- [Qemu-devel] [PATCH 1/9] bitmap: add bitmap_copy_and_clear_atomic, Gerd Hoffmann, 2017/04/21
- [Qemu-devel] [PATCH 3/9] vga: add vga_scanline_invalidated helper, Gerd Hoffmann, 2017/04/21
- [Qemu-devel] [PATCH 5/9] framebuffer: make display updates thread safe, Gerd Hoffmann, 2017/04/21
- [Qemu-devel] [PATCH 6/9] exynos: make display updates thread safe, Gerd Hoffmann, 2017/04/21
- Re: [Qemu-devel] [PATCH 0/9] hw/display: make display updates thread safe, part 1, Mark Cave-Ayland, 2017/04/21