34,333
edits
Changes
→Changing KVM Guest Operating System Settings
Note that a paused guest system will not survive the reboot of the host operating system and continues to use system memory in the paused state. In the event that the host operating system is rebooted, the guest operating system will need to be restarted and cannot be resumed from its paused state.
== Changing KVM Virtual Guest Operating System Settings ==
During the initial configuration of the guest OS in ''virt-manager'' a number of resources such as memory allocation and CPU usage were defined. It is common to discover after the guest OS starts running that these settings need to be changed. Fortunately, ''virt-manager'' makes it easy to change these settings.
One point to note is that it is not possible to change CPU and memory settings for a currently running KVM virtual system. Be sure to shutdown the system you wish to re-configure before attempting to change these settings.
To modify the settings for a specific guest operating system, start ''virt-manager'' (''Applications->System Tools->Virtual Machine Manager''), select the desired guest operating system and click on the ''Details'' button. When the ''Virtual Machine Details'' dialog appears, click on the ''Hardware'' tab to view the current settings:
[[Image:kvm_hardware_settings.jpg| Xen KVM Virtual Machine Details - Hardware]]
The hardware screen initially displays the CPU settings, allowing the number of CPUs used by the virtual machine to modified. It is recommended that the number of CPUs specified here not exceed the number of physical CPUs present in the host system.
The panel on the left allows the current displayed category to be changed. For example, to change the memory assigned to the guest system, select the Memory option and change the settings as required:
[[Image:xen_hardware_memory_settingskvm_hardware_memory_settings.jpg| Xen KVM Virtual Machine Details - Memory]]
Additional disks and other devices may be added by clicking on the ''Add'' button at the bottom of the hardware category list, selecting ''Storage device'' from the ''Hardware type'' menu and clicking on ''Forward''. Specify either a disk partition, or a file location to act as the new disk.
== Monitoring Virtual Machine Performance ==