Changes

Managing and Monitoring Fedora based KVM Guest Systems

11 bytes removed, 19:35, 24 June 2009
Starting and Stopping KVM Guest Systems
== Starting and Stopping KVM Guest Systems ==
When a KVM virtual guest system has been configured it will appear in the list of systems when the ''virt-manager'' is loaded. The ''virt-manager'' tool is launched either by selecting the Applications->System Tools->Virtual Machine Manager or from the command-line by running /usr/sbin/''virt-manager''. If ''virt-manager'' shows the host system as being disconnected, connect to it either by double clicking on the host in the list or right click on it and select ''Connect'' from the resulting menu.
The following screenshot shows the ''virt-manager'' tool running on a Fedora system. It lists one connected host system (localhost), and two guest virtual systems named ''kvm-fedora2Fedora11'' and ''virt-fedoraWinXP'' both , one of which are currently shut downis running and the other shutdown:  [[Image:fedora_virt_manager_main.jpg| The KVM Virtual Machine Manager with two Guest systems]]
[[Image:kvm_virt_manager_host_shutoff.jpg| The KVM Virtual Machine Manager with Guest systems Shut Down]]
<google>ADSDAQBOX_FLOW</google>
To launch a guest virtual OS, either double click on the OS in the list and then click on the ''Run'' button in the Virtual Machine Console, or right click on the system and select ''Run'' from the context menu and the double click on the machine to launch the Virtual Machine Console.
To stop a virtual machine running a guest OS it is not sufficient to simply close the Virtual Machine Console and Virtual Machine Manager windows. Doing so only closes the manager and console, leaving the guest operating system running in the background. In fact, if you try closing these windows and then restart the ''virt-manager'' tool you will see the guest OS is still listed as running, and selecting ''open'' double clicking on it will display the guest OS exactly as it was before you closed the console window.
To shutdown a guest OS, either shut it down using the operating system's own shut down mechanism, click on ''Shutdown'' in the Virtual Machine Console toolbar, or right click on the guest OS from the list in the ''virt-manager'' main screen and select ''Shutdown''.