Is KVM a hypervisor? The Next CEO of Stack OverflowWhat is the relation between Virtual Machine Manager and KVM/QEMU?Host CPU does not scale frequency when KVM guest needs itno internet connection for a kvm guest. what could be wrong?Network setup of KVM hypervisor?Where does KVM hypervisor store VM files?Unknown NMI reason 20 and 30 on a VMHow can I configure scheduled virtual machine backup?Corsair K95 keyboard qemu passthrough to Windows 10. Not workingBehavior of QEMU as hypervisorAccessing disk features in a QEMU/KVM VMWhat is the relation between Virtual Machine Manager and KVM/QEMU?
What happened in Rome, when the western empire "fell"?
Does higher Oxidation/ reduction potential translate to higher energy storage in battery?
Why is information "lost" when it got into a black hole?
TikZ: How to fill area with a special pattern?
Strange use of "whether ... than ..." in official text
Film where the government was corrupt with aliens, people sent to kill aliens are given rigged visors not showing the right aliens
Is it professional to write unrelated content in an almost-empty email?
what's the use of '% to gdp' type of variables?
Graph of the history of databases
Can someone explain this formula for calculating Manhattan distance?
Which one is the true statement?
Is it convenient to ask the journal's editor for two additional days to complete a review?
How to avoid supervisors with prejudiced views?
Can this note be analyzed as a non-chord tone?
What does "shotgun unity" refer to here in this sentence?
Is it okay to majorly distort historical facts while writing a fiction story?
What is the process for cleansing a very negative action
Is it OK to decorate a log book cover?
Do scriptures give a method to recognize a truly self-realized person/jivanmukta?
What day is it again?
Reshaping json / reparing json inside shell script (remove trailing comma)
Help/tips for a first time writer?
Inexact numbers as keys in Association?
Is it ok to trim down a tube patch?
Is KVM a hypervisor?
The Next CEO of Stack OverflowWhat is the relation between Virtual Machine Manager and KVM/QEMU?Host CPU does not scale frequency when KVM guest needs itno internet connection for a kvm guest. what could be wrong?Network setup of KVM hypervisor?Where does KVM hypervisor store VM files?Unknown NMI reason 20 and 30 on a VMHow can I configure scheduled virtual machine backup?Corsair K95 keyboard qemu passthrough to Windows 10. Not workingBehavior of QEMU as hypervisorAccessing disk features in a QEMU/KVM VMWhat is the relation between Virtual Machine Manager and KVM/QEMU?
https://en.wikipedia.org/wiki/Hypervisor#Classification says QEMU is type 2 hypervisor, and KVM can be both type 1 and 2 hypervisor:
The distinction between these two types is not always clear. For instance, Linux's Kernel-based Virtual Machine (KVM) and FreeBSD's bhyve are kernel modules[6] that effectively convert the host operating system to a type-1 hypervisor.[7] At the same time, since Linux distributions and FreeBSD are still general-purpose operating systems, with applications competing with each other for VM resources, KVM and bhyve can also be categorized as type-2 hypervisors.
How is "Linux distributions and FreeBSD are still general-purpose operating systems, with applications competing with each other for VM resources" the reason for KVM to be a type 2 hypervisor?
https://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine says
By itself, KVM does not perform any emulation. Instead, it exposes the
/dev/kvm interface, which a userspace host can then use to:
- Set up the guest VM's address space. The host must also supply a firmware image (usually a custom BIOS when emulating PCs) that the
guest can use to bootstrap into its main OS.
- Feed the guest simulated I/O.
- Map the guest's video display back onto the system host.
On Linux, QEMU versions 0.10.1 and later is one such userspace host.
QEMU uses KVM when available to virtualize guests at near-native
speeds, but otherwise falls back to software-only emulation.
If "KVM does not perform any emulation", can KVM be a hypervisor
A hypervisor or virtual machine monitor (VMM) is computer software, firmware or hardware that creates and runs virtual machines.
?
Can KVM work as a hypervisor without another hypervisor like QEMU?
Can libvirt also work directly with KVM, without QEMU?
kvm qemu virt-manager virsh
add a comment |
https://en.wikipedia.org/wiki/Hypervisor#Classification says QEMU is type 2 hypervisor, and KVM can be both type 1 and 2 hypervisor:
The distinction between these two types is not always clear. For instance, Linux's Kernel-based Virtual Machine (KVM) and FreeBSD's bhyve are kernel modules[6] that effectively convert the host operating system to a type-1 hypervisor.[7] At the same time, since Linux distributions and FreeBSD are still general-purpose operating systems, with applications competing with each other for VM resources, KVM and bhyve can also be categorized as type-2 hypervisors.
How is "Linux distributions and FreeBSD are still general-purpose operating systems, with applications competing with each other for VM resources" the reason for KVM to be a type 2 hypervisor?
https://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine says
By itself, KVM does not perform any emulation. Instead, it exposes the
/dev/kvm interface, which a userspace host can then use to:
- Set up the guest VM's address space. The host must also supply a firmware image (usually a custom BIOS when emulating PCs) that the
guest can use to bootstrap into its main OS.
- Feed the guest simulated I/O.
- Map the guest's video display back onto the system host.
On Linux, QEMU versions 0.10.1 and later is one such userspace host.
QEMU uses KVM when available to virtualize guests at near-native
speeds, but otherwise falls back to software-only emulation.
If "KVM does not perform any emulation", can KVM be a hypervisor
A hypervisor or virtual machine monitor (VMM) is computer software, firmware or hardware that creates and runs virtual machines.
?
Can KVM work as a hypervisor without another hypervisor like QEMU?
Can libvirt also work directly with KVM, without QEMU?
kvm qemu virt-manager virsh
1
lwn.net/Articles/658511
– A.B
2 days ago
The Type 1/Type 2 distinction dates back to the 1970s, and in particular was created with such computers in mind, and doesn't make as much sense today as a practical distinction.
– Michael Hampton
2 days ago
add a comment |
https://en.wikipedia.org/wiki/Hypervisor#Classification says QEMU is type 2 hypervisor, and KVM can be both type 1 and 2 hypervisor:
The distinction between these two types is not always clear. For instance, Linux's Kernel-based Virtual Machine (KVM) and FreeBSD's bhyve are kernel modules[6] that effectively convert the host operating system to a type-1 hypervisor.[7] At the same time, since Linux distributions and FreeBSD are still general-purpose operating systems, with applications competing with each other for VM resources, KVM and bhyve can also be categorized as type-2 hypervisors.
How is "Linux distributions and FreeBSD are still general-purpose operating systems, with applications competing with each other for VM resources" the reason for KVM to be a type 2 hypervisor?
https://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine says
By itself, KVM does not perform any emulation. Instead, it exposes the
/dev/kvm interface, which a userspace host can then use to:
- Set up the guest VM's address space. The host must also supply a firmware image (usually a custom BIOS when emulating PCs) that the
guest can use to bootstrap into its main OS.
- Feed the guest simulated I/O.
- Map the guest's video display back onto the system host.
On Linux, QEMU versions 0.10.1 and later is one such userspace host.
QEMU uses KVM when available to virtualize guests at near-native
speeds, but otherwise falls back to software-only emulation.
If "KVM does not perform any emulation", can KVM be a hypervisor
A hypervisor or virtual machine monitor (VMM) is computer software, firmware or hardware that creates and runs virtual machines.
?
Can KVM work as a hypervisor without another hypervisor like QEMU?
Can libvirt also work directly with KVM, without QEMU?
kvm qemu virt-manager virsh
https://en.wikipedia.org/wiki/Hypervisor#Classification says QEMU is type 2 hypervisor, and KVM can be both type 1 and 2 hypervisor:
The distinction between these two types is not always clear. For instance, Linux's Kernel-based Virtual Machine (KVM) and FreeBSD's bhyve are kernel modules[6] that effectively convert the host operating system to a type-1 hypervisor.[7] At the same time, since Linux distributions and FreeBSD are still general-purpose operating systems, with applications competing with each other for VM resources, KVM and bhyve can also be categorized as type-2 hypervisors.
How is "Linux distributions and FreeBSD are still general-purpose operating systems, with applications competing with each other for VM resources" the reason for KVM to be a type 2 hypervisor?
https://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine says
By itself, KVM does not perform any emulation. Instead, it exposes the
/dev/kvm interface, which a userspace host can then use to:
- Set up the guest VM's address space. The host must also supply a firmware image (usually a custom BIOS when emulating PCs) that the
guest can use to bootstrap into its main OS.
- Feed the guest simulated I/O.
- Map the guest's video display back onto the system host.
On Linux, QEMU versions 0.10.1 and later is one such userspace host.
QEMU uses KVM when available to virtualize guests at near-native
speeds, but otherwise falls back to software-only emulation.
If "KVM does not perform any emulation", can KVM be a hypervisor
A hypervisor or virtual machine monitor (VMM) is computer software, firmware or hardware that creates and runs virtual machines.
?
Can KVM work as a hypervisor without another hypervisor like QEMU?
Can libvirt also work directly with KVM, without QEMU?
kvm qemu virt-manager virsh
kvm qemu virt-manager virsh
edited 2 days ago
Tim
asked 2 days ago
TimTim
28.3k78269490
28.3k78269490
1
lwn.net/Articles/658511
– A.B
2 days ago
The Type 1/Type 2 distinction dates back to the 1970s, and in particular was created with such computers in mind, and doesn't make as much sense today as a practical distinction.
– Michael Hampton
2 days ago
add a comment |
1
lwn.net/Articles/658511
– A.B
2 days ago
The Type 1/Type 2 distinction dates back to the 1970s, and in particular was created with such computers in mind, and doesn't make as much sense today as a practical distinction.
– Michael Hampton
2 days ago
1
1
lwn.net/Articles/658511
– A.B
2 days ago
lwn.net/Articles/658511
– A.B
2 days ago
The Type 1/Type 2 distinction dates back to the 1970s, and in particular was created with such computers in mind, and doesn't make as much sense today as a practical distinction.
– Michael Hampton
2 days ago
The Type 1/Type 2 distinction dates back to the 1970s, and in particular was created with such computers in mind, and doesn't make as much sense today as a practical distinction.
– Michael Hampton
2 days ago
add a comment |
1 Answer
1
active
oldest
votes
How is "Linux distributions and FreeBSD are still general-purpose operating systems, with applications competing with each other for VM resources" the reason for KVM to be a type 2 hypervisor?
The strict interpretation of type 1/type 2 hypervisors is that
- type 1 hypervisors run alone, and any user-level applications run inside a guest operating system managed by the hypervisor;
- type 2 hypervisors run on top of a host operating system, which can continue to be used alongside whatever guests are managed by the hypervisor.
The distinction isn’t so clear-cut in practice. For example, Xen, which is widely thought of as a type 1 hypervisor, still needs the help of a “Dom0” Linux guest to manage the system’s resources; so it’s not entirely autonomous on bare metal.
Likewise, KVM can be considered a type 2 hypervisor because it runs on top of a host operating system, the Linux kernel, and that host operating system can run other processes alongside whatever VMs are managed by KVM.
If "KVM does not perform any emulation", can KVM be a hypervisor?
Yes, hypervisors don’t imply emulation.
Can KVM work as a hypervisor without another hypervisor like QEMU?
Yes, see this LWN article for an example.
Can libvirt also work directly with KVM, without QEMU?
No, it only supports KVM with QEMU.
add a comment |
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f509474%2fis-kvm-a-hypervisor%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
How is "Linux distributions and FreeBSD are still general-purpose operating systems, with applications competing with each other for VM resources" the reason for KVM to be a type 2 hypervisor?
The strict interpretation of type 1/type 2 hypervisors is that
- type 1 hypervisors run alone, and any user-level applications run inside a guest operating system managed by the hypervisor;
- type 2 hypervisors run on top of a host operating system, which can continue to be used alongside whatever guests are managed by the hypervisor.
The distinction isn’t so clear-cut in practice. For example, Xen, which is widely thought of as a type 1 hypervisor, still needs the help of a “Dom0” Linux guest to manage the system’s resources; so it’s not entirely autonomous on bare metal.
Likewise, KVM can be considered a type 2 hypervisor because it runs on top of a host operating system, the Linux kernel, and that host operating system can run other processes alongside whatever VMs are managed by KVM.
If "KVM does not perform any emulation", can KVM be a hypervisor?
Yes, hypervisors don’t imply emulation.
Can KVM work as a hypervisor without another hypervisor like QEMU?
Yes, see this LWN article for an example.
Can libvirt also work directly with KVM, without QEMU?
No, it only supports KVM with QEMU.
add a comment |
How is "Linux distributions and FreeBSD are still general-purpose operating systems, with applications competing with each other for VM resources" the reason for KVM to be a type 2 hypervisor?
The strict interpretation of type 1/type 2 hypervisors is that
- type 1 hypervisors run alone, and any user-level applications run inside a guest operating system managed by the hypervisor;
- type 2 hypervisors run on top of a host operating system, which can continue to be used alongside whatever guests are managed by the hypervisor.
The distinction isn’t so clear-cut in practice. For example, Xen, which is widely thought of as a type 1 hypervisor, still needs the help of a “Dom0” Linux guest to manage the system’s resources; so it’s not entirely autonomous on bare metal.
Likewise, KVM can be considered a type 2 hypervisor because it runs on top of a host operating system, the Linux kernel, and that host operating system can run other processes alongside whatever VMs are managed by KVM.
If "KVM does not perform any emulation", can KVM be a hypervisor?
Yes, hypervisors don’t imply emulation.
Can KVM work as a hypervisor without another hypervisor like QEMU?
Yes, see this LWN article for an example.
Can libvirt also work directly with KVM, without QEMU?
No, it only supports KVM with QEMU.
add a comment |
How is "Linux distributions and FreeBSD are still general-purpose operating systems, with applications competing with each other for VM resources" the reason for KVM to be a type 2 hypervisor?
The strict interpretation of type 1/type 2 hypervisors is that
- type 1 hypervisors run alone, and any user-level applications run inside a guest operating system managed by the hypervisor;
- type 2 hypervisors run on top of a host operating system, which can continue to be used alongside whatever guests are managed by the hypervisor.
The distinction isn’t so clear-cut in practice. For example, Xen, which is widely thought of as a type 1 hypervisor, still needs the help of a “Dom0” Linux guest to manage the system’s resources; so it’s not entirely autonomous on bare metal.
Likewise, KVM can be considered a type 2 hypervisor because it runs on top of a host operating system, the Linux kernel, and that host operating system can run other processes alongside whatever VMs are managed by KVM.
If "KVM does not perform any emulation", can KVM be a hypervisor?
Yes, hypervisors don’t imply emulation.
Can KVM work as a hypervisor without another hypervisor like QEMU?
Yes, see this LWN article for an example.
Can libvirt also work directly with KVM, without QEMU?
No, it only supports KVM with QEMU.
How is "Linux distributions and FreeBSD are still general-purpose operating systems, with applications competing with each other for VM resources" the reason for KVM to be a type 2 hypervisor?
The strict interpretation of type 1/type 2 hypervisors is that
- type 1 hypervisors run alone, and any user-level applications run inside a guest operating system managed by the hypervisor;
- type 2 hypervisors run on top of a host operating system, which can continue to be used alongside whatever guests are managed by the hypervisor.
The distinction isn’t so clear-cut in practice. For example, Xen, which is widely thought of as a type 1 hypervisor, still needs the help of a “Dom0” Linux guest to manage the system’s resources; so it’s not entirely autonomous on bare metal.
Likewise, KVM can be considered a type 2 hypervisor because it runs on top of a host operating system, the Linux kernel, and that host operating system can run other processes alongside whatever VMs are managed by KVM.
If "KVM does not perform any emulation", can KVM be a hypervisor?
Yes, hypervisors don’t imply emulation.
Can KVM work as a hypervisor without another hypervisor like QEMU?
Yes, see this LWN article for an example.
Can libvirt also work directly with KVM, without QEMU?
No, it only supports KVM with QEMU.
answered yesterday
Stephen KittStephen Kitt
179k24406484
179k24406484
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f509474%2fis-kvm-a-hypervisor%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
lwn.net/Articles/658511
– A.B
2 days ago
The Type 1/Type 2 distinction dates back to the 1970s, and in particular was created with such computers in mind, and doesn't make as much sense today as a practical distinction.
– Michael Hampton
2 days ago