Some of my centos7 images guest paused after minutes.
Not all images like this, but I can't find the obvious difference.
I cannot resume the paused VM.
Here was the error:
virsh resume 1
error: Failed to resume domain 1
error: internal error: unable to execute QEMU command 'cont': Resetting the Virtual Machine is required
I can suspend and resume the VM with virsh command, but I cannot resume it when the VM paused itself.
The same VM ran fine when I use "qemu" instead of "kvm".
I cannot find any error in the host and only error info that I could find in the guest is:
Jan 14 22:57:49 localhost kernel: amd64_edac_mod: Unknown symbol amd_unregister_ecc_decoder (err 0)
Jan 14 22:57:49
localhost
kernel: amd64_edac_mod: Unknown symbol amd_register_ecc_decoder (err 0)
Jan 14 22:57:49
localhost
kernel: amd64_edac_mod: Unknown symbol amd_report_gart_errors (err 0)
It seems to be unimportant information.
Otherwise:
1. I tried to use "host-model". Not work.
My questions:
1. Where can I find more information and how to solve this problem?
Some informations:
Guest info:
#uname -a
Linux localhost 3.10.0-862.9.1.el7.x86_64 #1 SMP Mon Jul 16 16:29:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
#cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
libvirt.xml:
<?xml version="1.0" encoding="UTF-8"?>
<domain xmlns:qemu="
http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
<name>centos7</name>
<uuid>38fe84a8-fc3d-45a9-8101-9d1a9c08f565</uuid>
<os>
<type machine="pc">hvm</type>
<boot dev="hd"/>
</os>
<features>
<acpi/>
</features>
<clock offset="localtime"/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<vcpu current="4">4</vcpu>
<cpu mode="host-passthrough">
<topology sockets="4" cores="1" threads="1"/>
</cpu>
<memory>4194304</memory>
<currentMemory>4194304</currentMemory>
<devices>
<emulator>/usr/share/qemu212/x86_64-softmmu/qemu-system-x86_64</emulator>
<disk type="file" device="cdrom">
<source dev=""/>
<target dev="hdc" bus="ide"/>
</disk>
<serial type="pty">
<source path="/dev/pts/1"/>
<target port="0"/>
</serial>
<input type="tablet" bus="usb"/>
<input type="mouse" bus="ps2"/>
<graphics type="vnc" port="-1" autoport="yes" keymap="en-us" listen="0.0.0.0"/>
<disk device="disk" type="file">
<driver name="qemu" type="qcow2" cache="none"/>
<source file="/root/storage/vda.qcow2"/>
<target dev="vda" bus="virtio"/>
</disk>
<channel type="unix">
<source mode="bind" path="/var/lib/libvirt/qemu/38fe84a8-fc3d-45a9-8101-9d1a9c08f565.org.qemu.guest_agent.0"/>
<target type="virtio" name="org.qemu.guest_agent.0"/>
</channel>
<interface type="bridge">
<mac address="fa:16:3e:b5:9a:2d"/>
<target dev="tap01"/>
<source bridge="br01"/>
<model type="virtio"/>
<filterref filter="no-arp-spoofing">
<parameter name="IP" value="192.168.2.7"/>
<parameter name="MAC" value="fa:16:3e:b5:9a:2d"/>
</filterref>
</interface>
</devices>
<qemu:commandline/>
</domain>