已开启
virsh attach-device热插vf后virsh qemu-monitor-command热插nvdimm时VM异常退出 #77
cj-xiaocai创建于  2024年10月17日
cj-xiaocai
2024年10月17日 创建

软件版本

OS:
输入图片说明
内核:

qemu:
输入图片说明
libvirt:
输入图片说明

操作步骤

vf.xml

<hostdev mode='subsystem' type='pci' managed='yes'>
    <source>
        <address domain='0x0000' bus='0x35' slot='0x01' function='0x0'/>
    </source>
</hostdev>

热插vf:virsh attach-device --live openEulerVM vf.xml
热插nvdimm:
virsh qemu-monitor-command openEulerVM --hmp --cmd object_add memory-backend-ram,id=ram1,size=1G
virsh qemu-monitor-command openEulerVM --hmp --cmd device_add nvdimm,id=dimm1,memdev=ram1

virsh attach-device热插完vf后,热插nvdimm时报错,VM异常退出:
[root@localhost kvm]# virsh qemu-monitor-command openEulerVM --hmp --cmd device_add nvdimm,id=dimm1,memdev=ram1
error: Unable to read from monitor: Connection reset by peer

likedislike
Ccj-xiaocai
2024年10月17日 创建了任务
openeuler-ci-bot
openeuler-ci-bot成员
2024年10月17日 评论:

Hi cj-xiaocai, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Virt, and any of the maintainers: @RootWB , @cellfaint , @Chuan-Zheng , @kevinzhu1 , @zhendongchen , @ooorz , @mdsc , @yezengruan , @Hyman-Huang , @imxcc

likedislike
openeuler-ci-botopeneuler-ci-bot成员
2024年10月17日 添加了 &nbsp; sig/Virt 标签