19.3. The Virtual Hardware Details Window
19.3. The Virtual Hardware Details Window The virtual hardware details window displays information about the virtual hardware configured for the guest. Virtual hardware resources can be added, removed and modified in this window. To access the virtual hardware details window, click the icon in the toolbar. Figure 19.3. The virtual hardware details icon Clicking the icon displays the virtual hardware details window. Figure 19.4. The virtual hardware details window 19.3.1. Applying Boot Options to Guest Virtual Machines Using virt-manager you can select how the guest virtual machine will act on boot. The boot options will not take effect until the guest virtual machine reboots. You can either power down the virtual machine before making any changes, or you can reboot the machine afterwards. If you do not do either of these options, the changes will happen the time the guest reboots. Procedure 19.1. Configuring boot options From the Virtual Machine Manager Edit menu, select Virtual Machine Details . From the side panel, select Boot Options and then complete any or all of the following optional steps: To indicate that this guest virtual machine should start each time the host physical machine boots, select the Autostart check box. To indicate the order in which guest virtual machine should boot, click the Enable boot menu check box. After this is checked, you can then check the devices you want to boot from and using the arrow keys change the order that the guest virtual machine will use when booting. If you want to boot directly from the Linux kernel, expand the Direct kernel boot menu. Fill in the Kernel path , Initrd path , and the Kernel arguments that you want to use. Click Apply . Figure 19.5. Configuring boot options 19.3.2. Attaching USB Devices to a Guest Virtual Machine Note In order to attach the USB device to the guest virtual machine, you first must attach it to the host physical machine and confirm that the device is working. If the guest is running, you need to shut it down before proceeding. Procedure 19.2. Attaching USB devices using Virt-Manager Open the guest virtual machine's Virtual Machine Details screen. Click Add Hardware In the Add New Virtual Hardware popup, select USB Host Device , select the device you want to attach from the list and Click Finish . Figure 19.6. Add USB Device To use the USB device in the guest virtual machine, start the guest virtual machine. 19.3.3. USB Redirection USB re-direction is best used in cases where there is a host physical machine that is running in a data center. The user connects to his/her guest virtual machine from a local machine or thin client. On this local machine there is a SPICE client. The user can attach any USB device to the thin client and the SPICE client will redirect the device to the host physical machine on the data center so it can be used by the VM that is running on the thin client. Procedure 19.3. Redirecting USB devices Open the guest virtual machine's Virtual Machine Details screen. Click Add Hardware In the Add New Virtual Hardware popup, select USB Redirection . Make sure to select Spice channel from the Type drop-down menu and click Finish . Figure 19.7. Add New Virtual Hardware window Open the Virtual Machine menu and select Redirect USB device . A pop-up window opens with a list of USB devices. Figure 19.8. Select a USB device Select a USB device for redirection by checking its check box and click OK .