summary refs log tree commit diff stats
path: root/gitlab/issues/target_arm/host_missing/accel_missing/803.toml
blob: 2e2432f29dbb3301b65927a9810bfd9a7223bd69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
id = 803
title = "v6.2.0 armv7m: savevm fails assertion"
state = "closed"
created_at = "2022-01-06T00:46:59.919Z"
closed_at = "2022-01-29T19:36:32.085Z"
labels = ["Migration", "target: arm", "workflow::In Progress"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/803"
host-os = "NixOS 21.11"
host-arch = "x86_64"
qemu-version = "6.2.50 (v6.2.0-538-g7d4ae4d497)"
guest-os = "any/none"
guest-arch = "ARM (armv7m)"
description = """Trying to take a snapshot on some arm machines just fails an assertion, while some work fine.  
e.g. mps2-an385 and stm32vldiscovery don't work, while e.g. raspi0 does.
```
$ build/qemu-system-arm -machine mps2-an385 -monitor stdio -drive file=dummy.qcow2 -S 
QEMU 6.1.50 monitor - type 'help' for more information
(qemu) VNC server running on ::1:5900
savevm test
qemu-system-arm: ../migration/vmstate.c:363: vmstate_save_state_v: Assertion `first_elem || !n_elems || !size' failed.
[1]    631940 IOT instruction (core dumped)  build/qemu-system-arm -machine mps2-an385 -monitor stdio -drive  -S
```
This happens with or without a kernel (so -S is optional, if a kernel is present)."""
reproduce = """1. Create some image for snapshots (once): ``qemu-img create -f qcow2 dummy.qcow2 32M``
2. ``qemu-system-arm -machine mps2-an385 -monitor stdio -drive file=dummy.qcow2 -S``
3. In monitor: ``savevm something``"""
additional = """Bisect indicates the Problem first presented itself in commit d5093d961585f02126191951ded9b90dbc52883b by @pm215.  
This led me to test stm32vldiscovery, which also includes armv7m.h and fails, while some others don't."""