windows 8 - Running Hyper-V and VMWare together

20
2014-04
  • Shiki

    I have two virtualization software on one of my laptops which is dedicated to Windows 8 development.
    A VMWare for generic virtualization and the Windows 8 like Hyper-V for the WP8 SDK.

    Unfortunately these softwares don't like each other.
    Is there a way to get them play along?

    The exact problem is that if I install the SDK, VMWare won't even update or run.
    There is only one way to make them work. Switch Hyper-V on and off. Which is one restart all the time.

  • Answers
  • Andrew J. Brehm

    Here's how you do it:

    Windows Phone 8 SDK on a Virtual Machine with Working Emulator

    This assumes that you want to run Hyper-V within VMware. Apparently VMware, using its binary translation thingamajig, can completely virtualise an x86 CPU, although slowly.

    I don't think you can run run VMware in a Hyper-V VM (which is what Windows is when Hyper-V is installed and you haven't modified the boot menu).

    However, you can modify the boot menu, boot into Windows without Hyper-V and run VMware that way.

    Update: Found the site that explains how to do that.

  • Brian

    From the VMWare Workstation 9 Release notes:

    Nested Virtualization

    Workstation 9 improves the implementation of virtual Intel VT-x/EPT or AMD-V/RVI extensions. This allows users to run ESX as a guest OS and run a 64-bit operating system nested in ESX using less system resources.

    Note: If you enabled the virtualization extensions in a virtual machine running on Workstation 8, you might need to disable the extensions, upgrade the virtual machine to the latest virtual hardware version (compatible with Workstation 9), and then re-enable the extensions.

    Hyper-V

    Hyper-V has been added to the Workstation 9 guest operating system list. This enables customers to run Windows 8 with Hyper-V enabled, or install Hyper-V Server. This can be used for educational purposes or for building prototype Hybrid Clouds. This feature is NOT SUPPORTED and probably never will be. Microsoft does not support nesting of their hypervisor which makes it extremely difficult - if not impossible for VMware to fix issues that may occur in this configuration. For this reason, this capability has been implemented purely to see if we could do it!

    CAUTION: DO NOT ATTEMPT TO RUN HYPER-V ON A VIRTUAL MACHINE IN PRODUCTION.

  • Joel Coehoorn

    VMWare and Hyper-V are both implementations of a software construct known as a hypervisor. Modern computer hardware has special optimization features for hypervisors to support improved performance. These are special circuits built into the cpu and motherboard of your computer.

    Modern hypervisor software, such as VMWare and Hyper-V, depend and rely on this special hardware. If one system is using that hardware, the other cannot.

    In short, there is no way to use both VMWare and Hyper-V at the same time.


  • Related Question

    networking - Windows 8 host can't access hyper-v guest
  • Voyager529

    My laptop running Windows 8 Pro RTM with 12GB of RAM also serves as an "ant farm" where I was testing out a set of Linux appliances. I had three virtual switches: one that shared my wireless adapter, one that shared the wired adapter, and one for the internal network. An Endian VM routed traffic between the external connections and the internal ones, and provided DHCP services to the VMs that were running. I was able to successfully use Opera and Filezilla on my laptop to get to all of the browser based and SSH services (e.g. Webmin on the LAMP appliance I was working with), and all was well.

    In other words, my wireless adapter (say, 10.10.0.24/24) would provide external access to the Endian (192.168.5.1/24), which would in turn route traffic between the Wordpress appliance (192.168.5.2), the outside world (e.g. themes and updates from Wordpress.com), and my laptop itself.

    One day recently, for no discernible reason, traffic stopped flowing betweem my laptop and the guests. I killed the Endian and rebuilt it, no dice. I was only able to configure it from a guest internally (where I did enable DHCP, DNS, etc.). None of the other VMs were accessible from the host, either, only from within the guest network.

    DHCP Guard is off. Router Advertisement Guard is off. Endian is successfully leasing IP addresses to guests. The internal switch is explicitly an 'internal', not a 'private' one. Neither the Endian nor any other VM on the virtual LAN will respond to a ping direct from my laptop. The Endian, along with the rest of the servers, however, can successfully get to the internet.

    How do I restore communication between my laptop and the virtual machines it contains?


  • Related Answers
  • voyager529

    Solved my own issue: While I swore that the Endian box was configured with DHCP enabled, it wasn't. Thus, the bridge adapter between the host and the guest LAN wasn't leasing an IP address, because there was no one to lease it from. I static IP'd a guest box and enabled DHCP on the Endian. The host can now successfully talk to the virtual machines.