What is the main purpose of hypervisors on Linux?
To enable virtualization and allow creation and management of virtual machines on Linux systems.
What is KVM in the context of Linux virtualization?
KVM (Kernel-based Virtual Machine) is a built-in feature of the Linux kernel that allows Linux to act as a Type 1 hypervisor, providing CPU and memory virtualization.
Is KVM integrated into the Linux kernel or a separate application?
KVM is integrated directly into the Linux kernel for high efficiency.
Does KVM create or manage virtual machines by itself?
No. KVM provides low-level virtualization but relies on user-space tools (e.g., QEMU or libvirt/virsh) to create and manage VMs.
What tools are commonly used with KVM to manage virtual machines?
User-space tools such as QEMU and libvirt/virsh are used to build, configure, and manage VMs when using KVM.
At what layer does KVM handle virtualization?
KVM handles low-level virtualization directly on the host hardware (CPU and memory).
What is QEMU and how does it relate to virtualization?
QEMU (Quick Emulator) is a user-space application that emulates full hardware systems and can run virtual machines, independently or accelerated by KVM.
Can QEMU run virtual machines without KVM?
Yes. QEMU can fully emulate hardware without KVM, though performance is better when paired with KVM for hardware acceleration.
Which components can QEMU emulate?
CPU, hard drive (storage), USB controller, and network card, among others.
Who is responsible for building and managing the VM environment, KVM or QEMU?
QEMU is responsible for building and managing the VM environment (with libvirt/virsh often used for orchestration).
What runtime configuration options does QEMU provide when creating VMs?
RAM allocation, disk images, network interfaces, and graphical output (display).
What is the key difference between KVM and QEMU?
KVM provides core hardware virtualization but no VM management; QEMU manages the VM environment and can function independently but benefits from KVM acceleration.
What do you get when you combine QEMU with KVM?
Full virtualization with enhanced performance through hardware acceleration.