Hypervisors Flashcards

(13 cards)

1
Q

What is the main purpose of hypervisors on Linux?

A

To enable virtualization and allow creation and management of virtual machines on Linux systems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is KVM in the context of Linux virtualization?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Is KVM integrated into the Linux kernel or a separate application?

A

KVM is integrated directly into the Linux kernel for high efficiency.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Does KVM create or manage virtual machines by itself?

A

No. KVM provides low-level virtualization but relies on user-space tools (e.g., QEMU or libvirt/virsh) to create and manage VMs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What tools are commonly used with KVM to manage virtual machines?

A

User-space tools such as QEMU and libvirt/virsh are used to build, configure, and manage VMs when using KVM.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

At what layer does KVM handle virtualization?

A

KVM handles low-level virtualization directly on the host hardware (CPU and memory).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is QEMU and how does it relate to virtualization?

A

QEMU (Quick Emulator) is a user-space application that emulates full hardware systems and can run virtual machines, independently or accelerated by KVM.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Can QEMU run virtual machines without KVM?

A

Yes. QEMU can fully emulate hardware without KVM, though performance is better when paired with KVM for hardware acceleration.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which components can QEMU emulate?

A

CPU, hard drive (storage), USB controller, and network card, among others.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Who is responsible for building and managing the VM environment, KVM or QEMU?

A

QEMU is responsible for building and managing the VM environment (with libvirt/virsh often used for orchestration).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What runtime configuration options does QEMU provide when creating VMs?

A

RAM allocation, disk images, network interfaces, and graphical output (display).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the key difference between KVM and QEMU?

A

KVM provides core hardware virtualization but no VM management; QEMU manages the VM environment and can function independently but benefits from KVM acceleration.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What do you get when you combine QEMU with KVM?

A

Full virtualization with enhanced performance through hardware acceleration.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly