ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved KVM nested virtualization ? stable and why would you ?

    IT Discussion
    5
    20
    1.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Emad RE
      Emad R @JaredBusch
      last edited by

      @JaredBusch

      Unethical reasons.

      since KVM and usually other hyper visors allow you to play with CPU and core count of the guest VMs, I wondered if you can get away with limitations of other paid Hypervisors that limit the core count.

      Not sure, just wondered what everybody else uses that tech for.

      scottalanmillerS 3 Replies Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @Emad R
        last edited by

        @msff-amman-Itofficer said in KVM nested virtualization ? stable and why would you ?:

        @JaredBusch

        Unethical reasons.

        since KVM and usually other hyper visors allow you to play with CPU and core count of the guest VMs, I wondered if you can get away with limitations of other paid Hypervisors that limit the core count.

        Nope, it does nothing of the sort. Every hypervisor lets you do that. Licensing isn't affected by the number of "presented vCPUs". So what you are suggesting does, quite literally, nothing. For example, Windows is licensed by the number of hardware cores that you have - no relationship to the number shown to the OS by the hypervisor. You gain nothing by faking this, but you lose performance and reliability.

        1 Reply Last reply Reply Quote 1
        • scottalanmillerS
          scottalanmiller @Emad R
          last edited by

          @msff-amman-Itofficer said in KVM nested virtualization ? stable and why would you ?:

          Not sure, just wondered what everybody else uses that tech for.

          Nothing at all 🙂 It's a neat idea, I wish that VirtualBox had it to make testing on my laptop a little easier for playing with different hypervisors, but outside of that, it's effectively a useless technology. I'm not aware of any real use of it in production.

          stacksofplatesS 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @Emad R
            last edited by

            @msff-amman-Itofficer said in KVM nested virtualization ? stable and why would you ?:

            I wondered if you can get away with limitations of other paid Hypervisors that limit the core count.

            I'm not sure what you mean. Do you mean like virtualizing loads of VMware ESXi Free instances on top of KVM? While feasible, it would be really silly. You'd have all the limitations of ESXi combined with all of the limitations of KVM plus all of the overhead of both. The only hypervisor with limitations is ESXi Free which I doubt any of us would run in production anyway. It, too, is really just for lab use.

            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller
              last edited by

              One use of nesting that I know of is when a vendor demands that you run a specific hypervisor, like VMware ESXi, and will not support you unless you do; but you run KVM or Xen in production. You can virtualize the hypervisor for that vendor to meet their support requirements without changing your core infrastructure.

              But that's pretty weak versus just replacing the vendor, in most cases.

              Emad RE 1 Reply Last reply Reply Quote 1
              • Emad RE
                Emad R @scottalanmiller
                last edited by

                @scottalanmiller

                Its posts/replies like this, makes me wonder why this site does not have ''mark as solution'' option given to the topic opener, and when done the topic will have green color for example.

                But maybe that will be a double edge sword, cause it will block future answers and thinking on the topic...

                JaredBuschJ scottalanmillerS 2 Replies Last reply Reply Quote 1
                • JaredBuschJ
                  JaredBusch @Emad R
                  last edited by

                  @msff-amman-Itofficer said in KVM nested virtualization ? stable and why would you ?:

                  @scottalanmiller

                  Its posts/replies like this, makes me wonder why this site does not have ''mark as solution'' option given to the topic opener, and when done the topic will have green color for example.

                  But maybe that will be a double edge sword, cause it will block future answers and thinking on the topic...

                  The topic opener can do that. First the topic opener must market as a question. Then the topic opener can market individual solution as an answer.

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @Emad R
                    last edited by

                    @msff-amman-Itofficer said in KVM nested virtualization ? stable and why would you ?:

                    @scottalanmiller

                    Its posts/replies like this, makes me wonder why this site does not have ''mark as solution'' option given to the topic opener, and when done the topic will have green color for example.

                    But maybe that will be a double edge sword, cause it will block future answers and thinking on the topic...

                    I did it for you, assuming that I picked the response that you meant. There is the functionality that you want, it just isn't as obvious as you'd hope.

                    1 Reply Last reply Reply Quote 0
                    • stacksofplatesS
                      stacksofplates @scottalanmiller
                      last edited by

                      @scottalanmiller said in KVM nested virtualization ? stable and why would you ?:

                      @msff-amman-Itofficer said in KVM nested virtualization ? stable and why would you ?:

                      Not sure, just wondered what everybody else uses that tech for.

                      Nothing at all 🙂 It's a neat idea, I wish that VirtualBox had it to make testing on my laptop a little easier for playing with different hypervisors, but outside of that, it's effectively a useless technology. I'm not aware of any real use of it in production.

                      You could just run KVM on your laptop and then you would be able to do that.

                      DashrenderD 1 Reply Last reply Reply Quote 0
                      • DashrenderD
                        Dashrender @stacksofplates
                        last edited by

                        @stacksofplates said in KVM nested virtualization ? stable and why would you ?:

                        @scottalanmiller said in KVM nested virtualization ? stable and why would you ?:

                        @msff-amman-Itofficer said in KVM nested virtualization ? stable and why would you ?:

                        Not sure, just wondered what everybody else uses that tech for.

                        Nothing at all 🙂 It's a neat idea, I wish that VirtualBox had it to make testing on my laptop a little easier for playing with different hypervisors, but outside of that, it's effectively a useless technology. I'm not aware of any real use of it in production.

                        You could just run KVM on your laptop and then you would be able to do that.

                        Does KVM give you local console/GUI access?

                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch @Dashrender
                          last edited by

                          @Dashrender said in KVM nested virtualization ? stable and why would you ?:

                          @stacksofplates said in KVM nested virtualization ? stable and why would you ?:

                          @scottalanmiller said in KVM nested virtualization ? stable and why would you ?:

                          @msff-amman-Itofficer said in KVM nested virtualization ? stable and why would you ?:

                          Not sure, just wondered what everybody else uses that tech for.

                          Nothing at all 🙂 It's a neat idea, I wish that VirtualBox had it to make testing on my laptop a little easier for playing with different hypervisors, but outside of that, it's effectively a useless technology. I'm not aware of any real use of it in production.

                          You could just run KVM on your laptop and then you would be able to do that.

                          Does KVM give you local console/GUI access?

                          He is already running Linux, but not sure what flavor. So in theory he could use KVM there and still see desktop. Not what you would ever do on a server, but for his laptop? Sure.

                          DashrenderD 1 Reply Last reply Reply Quote 1
                          • DashrenderD
                            Dashrender @JaredBusch
                            last edited by

                            @JaredBusch said in KVM nested virtualization ? stable and why would you ?:

                            @Dashrender said in KVM nested virtualization ? stable and why would you ?:

                            @stacksofplates said in KVM nested virtualization ? stable and why would you ?:

                            @scottalanmiller said in KVM nested virtualization ? stable and why would you ?:

                            @msff-amman-Itofficer said in KVM nested virtualization ? stable and why would you ?:

                            Not sure, just wondered what everybody else uses that tech for.

                            Nothing at all 🙂 It's a neat idea, I wish that VirtualBox had it to make testing on my laptop a little easier for playing with different hypervisors, but outside of that, it's effectively a useless technology. I'm not aware of any real use of it in production.

                            You could just run KVM on your laptop and then you would be able to do that.

                            Does KVM give you local console/GUI access?

                            He is already running Linux, but not sure what flavor. So in theory he could use KVM there and still see desktop. Not what you would ever do on a server, but for his laptop? Sure.

                            Interesting - OK so installing KVM does what hyper-V does, installs the hypervisor under the installed OS and then gives you full local access to Dom0? nice

                            scottalanmillerS 1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @Dashrender
                              last edited by

                              @Dashrender said in KVM nested virtualization ? stable and why would you ?:

                              @JaredBusch said in KVM nested virtualization ? stable and why would you ?:

                              @Dashrender said in KVM nested virtualization ? stable and why would you ?:

                              @stacksofplates said in KVM nested virtualization ? stable and why would you ?:

                              @scottalanmiller said in KVM nested virtualization ? stable and why would you ?:

                              @msff-amman-Itofficer said in KVM nested virtualization ? stable and why would you ?:

                              Not sure, just wondered what everybody else uses that tech for.

                              Nothing at all 🙂 It's a neat idea, I wish that VirtualBox had it to make testing on my laptop a little easier for playing with different hypervisors, but outside of that, it's effectively a useless technology. I'm not aware of any real use of it in production.

                              You could just run KVM on your laptop and then you would be able to do that.

                              Does KVM give you local console/GUI access?

                              He is already running Linux, but not sure what flavor. So in theory he could use KVM there and still see desktop. Not what you would ever do on a server, but for his laptop? Sure.

                              Interesting - OK so installing KVM does what hyper-V does, installs the hypervisor under the installed OS and then gives you full local access to Dom0? nice

                              No, KVM has no Dom0. It's more like VMware ESXi. There is no "underneath" like with Xen or Hyper-V.

                              1 Reply Last reply Reply Quote 1
                              • scottalanmillerS
                                scottalanmiller
                                last edited by

                                This is where KVM and ESXi have a superior architecture. No need for a Dom0 VM.

                                DashrenderD 1 Reply Last reply Reply Quote 1
                                • DashrenderD
                                  Dashrender @scottalanmiller
                                  last edited by

                                  @scottalanmiller said in KVM nested virtualization ? stable and why would you ?:

                                  This is where KVM and ESXi have a superior architecture. No need for a Dom0 VM.

                                  uhhh.. ok - then can you do what JB suggested? Install KVM into your CentOS that's already on your laptop?

                                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @Dashrender
                                    last edited by

                                    @Dashrender said in KVM nested virtualization ? stable and why would you ?:

                                    @scottalanmiller said in KVM nested virtualization ? stable and why would you ?:

                                    This is where KVM and ESXi have a superior architecture. No need for a Dom0 VM.

                                    uhhh.. ok - then can you do what JB suggested? Install KVM into your CentOS that's already on your laptop?

                                    That's what Boxes is.

                                    stacksofplatesS 1 Reply Last reply Reply Quote 0
                                    • stacksofplatesS
                                      stacksofplates @scottalanmiller
                                      last edited by

                                      @scottalanmiller said in KVM nested virtualization ? stable and why would you ?:

                                      @Dashrender said in KVM nested virtualization ? stable and why would you ?:

                                      @scottalanmiller said in KVM nested virtualization ? stable and why would you ?:

                                      This is where KVM and ESXi have a superior architecture. No need for a Dom0 VM.

                                      uhhh.. ok - then can you do what JB suggested? Install KVM into your CentOS that's already on your laptop?

                                      That's what Boxes is.

                                      Ya don't use that crap though. I run VirtManager on my laptop. The console full screen through SPICE is awesome. Even over the network, on a LAN you could think you're using that machine instead of a VM.

                                      1 Reply Last reply Reply Quote 3
                                      • 1 / 1
                                      • First post
                                        Last post