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

    Running nested VMs in Fedora 26 KVM / QEMU on Hyper-V

    IT Discussion
    5
    8
    1.2k
    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.
    • ObsolesceO
      Obsolesce
      last edited by

      Creating a Linux VM on Hyper-V is easy. Creating a nested VM inside your Linux VM running on Hyper-V... well, it's not going to work out of the box.

      Here's how to do it: https://www.timothygruber.com/hyper-v-2/run-a-nested-vm-on-kvm-qemu-vm-in-hyper-v/

      Why would you want to? In my case, there was a developer who needed to compile code on a special Linux VM, and immediately needs to test it inside a throw-away VM running in there.

      Doing this on his own or another physical PC or other means was not an option.

      travisdh1T jmooreJ RomoR 3 Replies Last reply Reply Quote 3
      • travisdh1T
        travisdh1 @Obsolesce
        last edited by

        @tim_g Yuck. That's why they pay you the big bucks, right?

        1 Reply Last reply Reply Quote 1
        • jmooreJ
          jmoore @Obsolesce
          last edited by

          @tim_g Yeah that looks like a pain to do. Nice explanation though, thought you did well. Liked the few articles you have up, keep them coming.

          1 Reply Last reply Reply Quote 0
          • RomoR
            Romo @Obsolesce
            last edited by

            @tim_g said in Running nested VMs in Fedora 26 KVM / QEMU on Hyper-V:

            Creating a Linux VM on Hyper-V is easy. Creating a nested VM inside your Linux VM running on Hyper-V... well, it's not going to work out of the box.

            Here's how to do it: https://www.timothygruber.com/hyper-v-2/run-a-nested-vm-on-kvm-qemu-vm-in-hyper-v/

            Why would you want to? In my case, there was a developer who needed to compile code on a special Linux VM, and immediately needs to test it inside a throw-away VM running in there.

            Doing this on his own or another physical PC or other means was not an option.

            Wouldn't this be a good case to use a LXC/LXD container and not have to mess with nested virtualization?

            ObsolesceO 1 Reply Last reply Reply Quote 0
            • ObsolesceO
              Obsolesce @Romo
              last edited by

              @romo said in Running nested VMs in Fedora 26 KVM / QEMU on Hyper-V:

              @tim_g said in Running nested VMs in Fedora 26 KVM / QEMU on Hyper-V:

              Creating a Linux VM on Hyper-V is easy. Creating a nested VM inside your Linux VM running on Hyper-V... well, it's not going to work out of the box.

              Here's how to do it: https://www.timothygruber.com/hyper-v-2/run-a-nested-vm-on-kvm-qemu-vm-in-hyper-v/

              Why would you want to? In my case, there was a developer who needed to compile code on a special Linux VM, and immediately needs to test it inside a throw-away VM running in there.

              Doing this on his own or another physical PC or other means was not an option.

              Wouldn't this be a good case to use a LXC/LXD container and not have to mess with nested virtualization?

              No, the throw-away (nested) VMs have to be Windows images that are used with the product systems.

              1 Reply Last reply Reply Quote 0
              • Reid CooperR
                Reid Cooper
                last edited by

                Out of curiosity, why could he not make the throw away VM on top of Hyper-V?

                ObsolesceO 1 Reply Last reply Reply Quote 0
                • ObsolesceO
                  Obsolesce @Reid Cooper
                  last edited by

                  @reid-cooper said in Running nested VMs in Fedora 26 KVM / QEMU on Hyper-V:

                  Out of curiosity, why could he not make the throw away VM on top of Hyper-V?

                  He doesn't have Hyper-V, and we don't give users access to the Hyper-V Servers. No SCVMM, so no granular control over VMs and HyperV.

                  Reid CooperR 1 Reply Last reply Reply Quote 0
                  • Reid CooperR
                    Reid Cooper @Obsolesce
                    last edited by

                    @tim_g said in Running nested VMs in Fedora 26 KVM / QEMU on Hyper-V:

                    @reid-cooper said in Running nested VMs in Fedora 26 KVM / QEMU on Hyper-V:

                    Out of curiosity, why could he not make the throw away VM on top of Hyper-V?

                    He doesn't have Hyper-V, and we don't give users access to the Hyper-V Servers. No SCVMM, so no granular control over VMs and HyperV.

                    Oh, I guess that I was confused.

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