6.6. Updating Virtual Machine Guest Agents and Drivers

The Red Hat Virtualization guest agents, tools, and drivers provide additional functionality for virtual machines, such as gracefully shutting down or rebooting virtual machines from the VM Portal and Administration Portal. The tools and agents also provide information for virtual machines, including:

  • Resource usage
  • IP addresses
  • Installed applications

The guest tools are distributed as an ISO file that you can attach to virtual machines. This ISO file is packaged as an RPM file that you can install and update from the Manager machine.

6.6.1. Updating the Guest Agents and Drivers on Red Hat Enterprise Linux

Update the guest agents and drivers on your Red Hat Enterprise Linux virtual machines to use the latest version.

Updating the Guest Agents and Drivers on Red Hat Enterprise Linux

  1. Log in to the Red Hat Enterprise Linux virtual machine.
  2. Update the ovirt-guest-agent-common package:

    # yum update ovirt-guest-agent-common
  3. Restart the service:

    • For Red Hat Enterprise Linux 6

      # service ovirt-guest-agent restart
    • For Red Hat Enterprise Linux 7

      # systemctl restart ovirt-guest-agent.service

6.6.2. Updating the Guest Agents and Drivers on Windows

Updating the guest agents, tools, and drivers on Windows

  1. On the Red Hat Virtualization Manager machine, update the Red Hat Virtualization Guest Tools package to the latest version:

    # dnf upgrade -y virtio-win

    The ISO file is located in /usr/share/virtio-win/virtio-win_version.iso on the Manager machine.

  2. Upload virtio-win_version.iso to a data domain. See Uploading Images to a Data Storage Domain in the Administration Guide for details.
  3. In the Administration or VM Portal, if the virtual machine is running, use the Change CD drop-down list to attach the virtio-win_version.iso file to each of your virtual machines. If the virtual machine is powered off, click the Run Once button and attach the ISO as a CD.
  4. Log in to the virtual machine.
  5. Select the CD Drive containing the virtio-win_version.iso file.
  6. Double-click virtio-win-gt-x64.msi for a 64-bit guest operating system or virtio-win-gt-x86.msi for a 32-bit guest operating system.
  7. Click Next at the welcome screen.
  8. Follow the prompts in the installation wizard. Ensure all check boxes in the list of components are selected, including the RHEV Agent which is disabled by default.
  9. Once installation is complete, select Yes, I want to restart my computer now and click Finish to apply the changes.
  10. After the reboot completes, open the virtual CD drive and change to the guest-agent directory.
  11. Double-click qemu-ga-x86_64.msi or qemu-ga-i386.msi.