As KVM is just a hypervisor layer, it uses other tools alongside it to provide the functionality that most people would look for in a virtualization platform. For example, if you want a graphical user interface GUI , you need a tool like Virtual Machine Manager another Linux-based package or oVirt to provide that functionality.
VMM and other tools provide friendly interfaces for command and control of KVM, creating a complete virtual platform for modern use. It also grew out of concepts and ideas which have been used for generations in mainframe and mid-frame platforms like IBM power systems, giving it a heritage that spans decades of development on many different platforms.
It is flexible, powerful, extensible and developed continuously by a large community of contributors who keep making it better and better. Over-subscription is the potential of a virtual platform to host virtual resources above and beyond the amount of physical hardware available.
How can we help? This allows the KVM developers to concentrate on virtualization, building on the core kernel instead of replacing it. QEMU is a user-space emulator. It is a fairly amazing project, emulating a variety of guest processors on several host processors, with fairly decent performance. However, the user-space architecture does not allow it to approach native speeds without a kernel accelerator.
KVM, however, is not perfect due to its newness; it has some limitations including the following:. However, the project is continuing at a rapid pace, and according to Avi Kivity, KVM already is further ahead than Xen in some areas and surely will catch up in other areas in the future.
Platform virtualization is an old technology; however, in recent years, the hardware and operating systems have matured to the point of making the promise of virtualization a reality. The most fundamental part of virtualization is the hypervisor. The hypervisor acts as a layer between the virtualized guest operating system and the real hardware. In some cases, the hypervisor is an operating system, such as with Xen; in other cases, it's user-level software, such as VMware.
The virtualized guest operating system, or the virtualized instance, is an isolated operating system that views the underlying hardware platform as belonging to it.
But, in reality, the hypervisor provides it with this illusion. Due to the resurgence of interest in virtualization technology, microprocessor manufacturers have updated their processors to have native support for virtualization. Doing so allows the processor to support a hypervisor directly and simplifies the task of writing hypervisors, as is the case with KVM.
For other distributions, you need to download a kernel of version 2. You also can get the KVM module along with the required user-space utilities from sourceforge. I have installed the OpenSUSE packages; hence, filenames used in the examples in this article may be different from those in your release.
Using the compiled kernel with virtualization support enabled, the next step is to create a disk image for the guest operating system. You do so with qemu-img, as shown below. Instantiation of a new guest operating system is provided by a utility called qemu-kvm. In some distributions this utility may be called kvm. With your virtual disk created, load the guest operating system into it.
The default command starts the guest OS in a subwindow, but you can start in full-screen mode, by passing the following switch:. Additionally, KVM allows low-level control over the hardware of the virtualized environment. You can redirect serial, parallel and USB ports to specific devices by specifying the appropriate switches.
Sound in the VM is supported as well, and you can pass your sound card to the VM via the -soundhw switch to enable sound. With the introduction of KVM into the Linux kernel, future Linux distributions will have built-in support for virtualization, giving them an edge over other operating systems.
There will be no need for any dual-boot installation in the future, because all the applications you require could be run directly from the Linux desktop. KVM is just one more of the many existing open-source hypervisors, reaffirming that open source has been instrumental to the progress of virtualization technology.
This is all you need. Install it on anything—from bare-metal hardware to open source or proprietary systems—and start deploying virtual machines by the dozens or hundreds with an advanced hypervisor that can handle it and a management platform that makes it easy. Sign up for our free newsletter, Red Hat Shares. Open hybrid cloud Support Developers Partners Start a trial. Enter your keywords. Featured links. Log in Account. Log in Your Red Hat account gives you access to your member profile and preferences, and the following services based on your customer status: Customer Portal Red Hat Connect for Business Partners.
User management Certification Central. Register now Not registered yet? Here are a few reasons why you should be: Browse Knowledgebase articles, manage support cases and subscriptions, download updates, and more from one place. View users in your organization, and edit their account information, preferences, and permissions. Manage your Red Hat certifications, view exam history, and download certification-related logos and documents. Edit your profile and preferences Your Red Hat account gives you access to your member profile, preferences, and other services depending on your customer status.
Log out. Contact us. Jump to section. Try Linux—and KVM—for free. Implementing KVM Long story short, you have to run a version of Linux that was released after and it needs to be installed on X86 hardware that supports virtualization capabilities. Red Hat Enterprise Linux 8. Learn why migrating makes sense.
0コメント