none
How do I send commands and information between a Hyper-V VM and the host computer?

    Question

  • This software requires Linux. 

    https://github.com/openai/universe

    https://universe.openai.com/

    This software requires Windows. 

    https://github.com/spatialos/HelloWorld

    To train Universe to play a game on Windows, but Universe runs on Linux. How do I send information between the VM and the host?

    The host is Windows 10 Pro and the VM is Ubuntu Xenial Xerus. 

    I need to stream video from the host and input commands from the VM. 

    Wednesday, February 08, 2017 6:16 PM

All replies

  • Hi Eric,

    >>How do I send information between the VM and the host?

    Add virtual switch and virtual NIC, configure IP settings. Then you could transfer anything you want through network. It is the same as physical machines.

    Here is the reference about Hyper-V network:

    https://technet.microsoft.com/en-us/library/jj945275.aspx?f=255&MSPPError=-2147217396

    >>I need to stream video from the host and input commands from the VM. 

    There is no built-in feature to transfer video and commands.

    Best Regards,

    Leo


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, February 09, 2017 5:56 AM
    Moderator
  •   It appears you are trying to use a vm for a purpose it was not designed for.

      A vm has its own OS and is effectively a separate machine. It is not designed to be controlled by the host OS.

       Perhaps you could connect to the vm using remote desktop and control the streaming video that way. 


    Bill

    Thursday, February 09, 2017 6:10 AM
  • I agree with Bill.  Forget about virtualization.  This has nothing to do with virtualization.  How would this be done if the machines were physical.  You would use the exact same method for communicating.  You may want to ask the 'vendors' of the two applications how to accomplish this.  How does universe converse externally?  How does HelloWorld receive external communications?

    . : | : . : | : . tim

    Thursday, February 09, 2017 12:48 PM
  • Hi,
    Are there any updates?
    You could mark the reply as answer if it is helpful.
    Best Regards,
    Leo

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, March 02, 2017 7:55 AM
    Moderator