我要评分
获取效率
正确性
完整性
易理解

Exception Occurs When Running the qemu-ga Command

Symptom

After the VM is successfully installed, an exception occurs when the qemu-ga command is executed.

Key Process and Cause Analysis

The rpm -qa|grep qemu command is executed to check the QEMU software on the VM. It is found that qemu-guest-agent is not installed. The qemu-ga command can be used only after qemu-guest-agent is installed.

Conclusion and Solution

  1. Run the following command to install qemu-guest-agent on the VM:
    yum install qemu-guest-agent
  2. Run the qemu-ga command again.