10.2. Installing the Drivers on an Installed Windows Guest Virtual Machine
virt-managerand then install the drivers.
Procedure 10.1. Installing from the driver CD-ROM image with virt-manager
Open virt-manager and the guest virtual machineOpen
virt-manager, then open the guest virtual machine from the list by double-clicking the guest name.
Open the hardware windowClick the lightbulb icon on the toolbar at the top of the window to view virtual hardware details.
Figure 10.1. The virtual hardware details buttonThen click thebutton at the bottom of the new view that appears. This opens a wizard for adding the new device.
Select the device type — for Red Hat Enterprise Linux 6 versions prior to 6.2Skip this step if you are using Red Hat Enterprise Linux 6.2 or later.On Red Hat Enterprise Linux 6 versions prior to version 6.2, you must select the type of device you wish to add. In this case, select Storage from the drop-down menu.
Figure 10.2. The Add new virtual hardware wizard in Red Hat Enterprise Linux 6.1Click thebutton to proceed.
Select the ISO fileEnsure that the Select managed or other existing storage radio button is selected, and browse to the virtio driver's
.isoimage file. The default location for the latest version of the drivers is
/usr/share/virtio-win/virtio-win.iso.Change the Device type to IDE cdrom and click the button to proceed.
Figure 10.3. The Add new virtual hardware wizard
Finish adding virtual hardware — for Red Hat Enterprise Linux 6 versions prior to 6.2If you are using Red Hat Enterprise Linux 6.2 or later, skip this step.On Red Hat Enterprise Linux 6 versions prior to version 6.2, click on thebutton to finish adding the virtual hardware and close the wizard.
Figure 10.4. The Add new virtual hardware wizard in Red Hat Enterprise Linux 6.1
RebootReboot or start the virtual machine to begin using the driver disc. Virtualized IDE devices require a restart to for the virtual machine to recognize the new device.
Procedure 10.2. Windows installation on a Windows 7 virtual machine
Open the Computer Management windowOn the desktop of the Windows virtual machine, click theicon at the bottom corner of the screen to open the Start menu.Right-click on Computer and select Manage from the pop-up menu.
Figure 10.5. The Computer Management window
Open the Device ManagerSelect the Device Manager from the left-most pane. This can be found under Computer Management > System Tools.
Figure 10.6. The Computer Management window
Start the driver update wizard
View available system devicesExpand System devices by clicking on the arrow to its left.
Figure 10.7. Viewing available system devices in the Computer Management window
Locate the appropriate deviceThere are up to four drivers available: the balloon driver, the serial driver, the network driver, and the block driver.
Right-click on the device whose driver you wish to update, and select Update Driver... from the pop-up menu.This example installs the balloon driver, so right-click on PCI standard RAM Controller.
Balloon, the balloon driver, affects the PCI standard RAM Controller in the System devices group.
vioserial, the serial driver, affects the PCI Simple Communication Controller in the System devices group.
NetKVM, the network driver, affects the Network adapters group. This driver is only available if a virtio NIC is configured. Configurable parameters for this driver are documented in Appendix A, NetKVM Driver Parameters.
viostor, the block driver, affects the Disk drives group. This driver is only available if a virtio disk is configured.
Figure 10.8. The Computer Management window
Open the driver update wizardFrom the drop-down menu, select Update Driver Software... to access the driver update wizard.
Figure 10.9. Opening the driver update wizard
Specify how to find the driverThe first page of the driver update wizard asks how you want to search for driver software. Click on the second option, Browse my computer for driver software.
Figure 10.10. The driver update wizard
Select the driver to install
Open a file browserClick on Browse...
Figure 10.11. The driver update wizard
Browse to the location of the driverA separate driver is provided for each of the various combinations of operating system and architecture. The drivers are arranged hierarchically according to their driver type, the operating system, and the architecture on which they will be installed:
driver_type/os/arch/. For example, the Balloon driver for a Windows 7 operating system with an x86 (32-bit) architecture, resides in the
Figure 10.12. The Browse for driver software pop-up windowOnce you have navigated to the correct location, click OK.
Click Next to continue
Figure 10.13. The Update Driver Software wizardThe following screen is displayed while the driver installs:
Figure 10.14. The Update Driver Software wizard
Close the installerThe following screen is displayed when installation is complete:
Figure 10.15. The Update Driver Software wizardClick Close to close the installer.
RebootReboot the virtual machine to complete the driver installation.