Bug 9105 - [Anolis23.1 GA][Beta][ANCK-6.6.25-2][loongarch64]虚拟机动态迁移后死机
Summary: [Anolis23.1 GA][Beta][ANCK-6.6.25-2][loongarch64]虚拟机动态迁移后死机
Status: REOPENED
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: ---> ToBeTriaged (show other bugs) ---> ToBeTriaged
Version: 23.1
Hardware: loongarch Linux
: P2-High S2-major
Target Milestone: rc
Assignee: maqiao
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-22 11:52 UTC by wuzhiguo
Modified: 2024-05-24 17:26 UTC (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wuzhiguo loongson_group 2024-05-22 11:52:33 UTC
Description of problem:
虚拟机动态迁移后死机

Version-Release number of selected component (if applicable):
系统版本: Anolis 23.1
内核版本: 6.6.25-2_rc1.1.an23.loongarch64

How reproducible:
虚拟机动态迁移

Steps to Reproduce:
1. 搭建 nfs 服务
2. 源宿主机与目的宿主机连接 nfs 服务
# systemctl stop firewalld
# yum install -y nfs-utils rpcbind
# systemctl start rpcbind
# mkdir /home/kvm-nfs
# chmod 777 /home/kvm-nfs
# mount -t nfs nfs-server-ip:/home/kvm-nfs  /home/kvm-nfs
# df -h
3. 在源宿主机上建立与目的宿主机的 ssh 链接
打开virt-manager->文件->添加链接,出现添加链接窗口。在添加链接窗口勾选”链接到远程主机”,方法=选择ssh, 主机名=目的宿主机IP,点击连接
4. 在源宿主机上创建虚拟机
使用virt-manager新建虚拟机,virtdisk指向/home/kvm-nfs/kvm-test.qcow2
5. 迁移虚拟机到目的宿主机
虚拟系统管理器界面:运行的虚拟机,右键点击”迁移“
6. 使用目的宿主机上的虚拟机

Actual results:
虚拟机动态迁移后死机

Expected results:
虚拟机动态迁移后正常工作

Additional info:
Comment 1 gaosong loongson_group 2024-05-22 15:14:08 UTC
已经提交 PR. 这个问题和虚拟机保存到磁盘->从磁盘恢复,是一类问题.
https://gitee.com/src-anolis-os/qemu/pulls/30#note_27781624
Comment 2 gaochang alibaba_cloud_group 2024-05-23 17:18:13 UTC
修复已提交
Comment 3 wuzhiguo loongson_group 2024-05-24 17:26:12 UTC
使用最新 qemu-8.2.0-14.an23,此问题依然存在。