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?










-2















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?










share|improve this question



















  • 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















-2















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?










share|improve this question



















  • 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













-2












-2








-2








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?










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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












  • 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










1 Answer
1






active

oldest

votes


















3















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.






share|improve this answer























    Your Answer








    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
    );



    );













    draft saved

    draft discarded


















    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









    3















    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.






    share|improve this answer



























      3















      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.






      share|improve this answer

























        3












        3








        3








        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.






        share|improve this answer














        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.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered yesterday









        Stephen KittStephen Kitt

        179k24406484




        179k24406484



























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

            Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

            Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.