guest: windows server 2012 R2 host: gentoo amd64 server, stable Guest shuts down without visible reason. Today I found: # cat windows-server.log qemu-system-x86_64: /var/tmp/portage/app-emulation/qemu-2.11.1-r2/work/qemu-2.11.1/exec.c:1212: cpu_physical_memory_snapshot_get_dirty: Assertion `start + length <= snap->end' failed. 2018-05-30 04:20:13.979+0000: shutting down, reason=crashed google leads me to this bug-report from yesterday: https://bugzilla.redhat.com/show_bug.cgi?id=1575541 Would need advice/workaround/fix for that as the VM is rather system critical.
I think this patch is missing: https://github.com/qemu/qemu/commit/a89fe6c329799e47aaa1663650f076b28808e186 Would love to get it via portage and avoid to provide local patches here. tia, Stefan
Thanks a lot for the upstream patch! I will add it to the patchset for 2.12.0-r2. Please test this version an reopen the bug report if the problem persists.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e20d625b0c1aa3518c3e531f26692b5b4ef8f5a commit 4e20d625b0c1aa3518c3e531f26692b5b4ef8f5a Author: Matthias Maier <tamiko@gentoo.org> AuthorDate: 2018-06-12 16:12:04 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2018-06-12 16:14:45 +0000 app-emulation/qemu: fix crash during Windows guest installation Closes: https://bugs.gentoo.org/656886 Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-emulation/qemu/Manifest | 2 +- app-emulation/qemu/{qemu-2.12.0-r1.ebuild => qemu-2.12.0-r2.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
(In reply to Matthias Maier from comment #2) > Thanks a lot for the upstream patch! I will add it to the patchset for > 2.12.0-r2. Please test this version an reopen the bug report if the problem > persists. I patched it myself already and run the VM with the patched QEMU since ~1 hour or so. We will see.