From 4b927bc37359dec23f67d3427fc982945f24f404 Mon Sep 17 00:00:00 2001 From: Christian Krinitsin Date: Wed, 21 May 2025 21:21:26 +0200 Subject: add gitlab issues in toml format --- .../host_missing/accel_missing/956.toml | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 gitlab/issues/target_missing/host_missing/accel_missing/956.toml (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/956.toml') diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/956.toml b/gitlab/issues/target_missing/host_missing/accel_missing/956.toml new file mode 100644 index 00000000..8e3cd2d8 --- /dev/null +++ b/gitlab/issues/target_missing/host_missing/accel_missing/956.toml @@ -0,0 +1,50 @@ +id = 956 +title = "ARM: When 'virsh dump' exports vmcore, specifies --format compression format, virtual machine assert hangs" +state = "opened" +created_at = "2022-04-02T03:31:51.267Z" +closed_at = "n/a" +labels = [] +url = "https://gitlab.com/qemu-project/qemu/-/issues/956" +host-os = "(Windows 10 21H1, Fedora 34, etc.)" +host-arch = "ARM" +qemu-version = "qemu-6.2.0-23.oe1" +guest-os = "(Windows 10 21H1, Fedora 34, etc.)" +guest-arch = "ARM" +description = """**ARM: virsh dump exports vmcore, specifies --format compression format, virtual machine assert hangs** + +**why 'virsh dump' page size configured as target page size (64KiB), but 'Implement kvm-steal-time' page size configured as host page size (4KB)?**""" +reproduce = """The vm image page size is configured as 64KiB, and the host page size is configured as 4KiB + +1.start vm + +2.Execute the virsh dump command to export vmcore + +Specify the compression format of vmcore, --format (kdump-zlib, kdump-snappy, kdump-lzo) + +/usr/bin/virsh dump avocado-vt-vm1 /var/tmp/vm.core --memory-only --format kdump-zlib + +/usr/bin/virsh dump avocado-vt-vm1 /var/tmp/vm.core --memory-only --format kdump-lzo + +/usr/bin/virsh dump avocado-vt-vm1 /var/tmp/vm.core --memory-only --format kdump-snappy + +**expected results**: The vmcore file is successfully exported and the virtual machine is running normally. + +**actual results**: The vmcore file is not exported normally, and the virtual machine is shut down abnormally.""" +additional = """qemu log: +![image](/uploads/95df79f1cda2531e00906493cc586cda/image.png) + +host page size: +![image](/uploads/1b8f7c6c1c3248b9c68d577105aed65a/image.png) + +vm page size: +![image](/uploads/e11f4013d90ce9cd41966c05aefc56e2/image.png) + +dump.c: get_next_page assert: +![image](/uploads/aa73fc306ff19d6da4ff86fba6860d94/image.png) + +The code for the error assert exit is shown above. Here, it will check whether the memory to be dumped is actually aligned with the termination address. It needs to be aligned with the page size of the virtual machine. You can see through gdb that it is 64KiB. + +![image](/uploads/7e60743bea0009b1deb97539750630e6/image.png) + +After binary search, it was found that a feature of kvm_steal_time was added to arm in version 5.2. Added the following code: +![image](/uploads/1caf8df4b3599b3c453a11592d0ce033/image.png)""" -- cgit 1.4.1