Jump to content
  • qemu-guest-agent ubuntu 22.04


    brent

    Install Qemu guest agent for Debian/Ubuntu

    In this article, we will help you to install the Qemu guest agent on your vm server. This agent is a helper daemon that exchanges information between the quest and the host and executes commands in the guest for snapshot or backup. The guest agent is used for mainly two things one for properly shut down the guest and the second is to freeze the guest file system when making a backup.

    Step 1: Log in using SSH

    You must be logged in via SSH with the root account or an account with sudo privileges.  

    Step 2: Install qemu guest agent

    apt update && apt -y install qemu-guest-agent

    Step 3: Enable and Start Qemu Agent

    systemctl enable qemu-guest-agent
    systemctl start qemu-guest-agent

    Step 4: Verify

    Verify that the Qemu quest agent is running

    systemctl status qemu-guest-agent

    Conclusion

    If you are having a problem with the service starting power off the VM completely then start the VM. A restart of the VM won't work in some cases. 

    Congratulations,  you have installed the Qemu guest agent on your Debian/Ubuntu based system.


    User Feedback

    Recommended Comments

    There are no comments to display.


×
×
  • Create New...