Rate This Document
Findability
Accuracy
Completeness
Readability

No Response from the Enabled KVM When Using QEMU to Install OS

Symptom

The qemu-4.2.0 is compiled and installed. The installation process does not respond after the KVM is enabled during the OS installation using QEMU. When the KVM is disabled, the installation page is displayed.

Key Process and Cause Analysis

During OS installation with CentOS 7.7, no coredump message is displayed, but the system generated the following coredump message during CentOS 7.6 operation:
qemu-system-aarch64: PMU: KVM_SET_DEVICE_ATTR: Invalid argument
qemu-system-aarch64: failed to set irq for PMU
Aborted (core dumped)

Conclusion and Solution

Add -machine gic-version=3 to the startup command of CentOS 7.7. The installation page is displayed.