Questions tagged [virtual-machine]

A virtual-machine is software emulating complete computer hardware. There are various applications that supply this functionality. **Note**: For questions on the Java VM, use the specific tag [jvm], and for the Android virtual machine, use the tag [dalvik]. For other questions on implementation details of other kinds of VMs like interpreters, automata or Turing-machines, use the tag [vm-implementation]. ONLY QUESTIONS ABOUT PROGRAMMING ARE ON-TOPIC.

If you need non-programming help setting up a virtual machine, ask those questions on Server Fault or Super User.

A virtual-machine is software emulating complete computer hardware. There are various applications that supply this functionality.

The term virtual-machine can be used for a single file containing the software which emulates all the hardware. Virtual-machine software use various hardware and software tricks to speed up the running software.

Programs run on a real machine do not need to be changed to be run on a virtual machine. A program running on a virtual machine works exactly the same as if it were running on its own hardware.

Some virtual machine software include:

8242 questions
33
votes
7 answers

Error VT-x not available for Vagrant machine inside Virtualbox

I have an Ubuntu Virtual machine that is configured to have VT-x enabled, 6 Processors, and 25 GB RAM. Inside that virtual machine I am trying to start a vagrant machine with the following configuration: master.vm.box =…
user2230605
  • 2,390
  • 6
  • 27
  • 45
33
votes
9 answers

Windows Azure Virtual Machine - Opening a port

I am trying to open a port in a Windows Azure virtual machine. I have a game listening on that port, and I am able to access it via localhost, so the game is running. I have also opened the port in the firewall and created an endpoint in the virtual…
Irina
  • 1,333
  • 3
  • 17
  • 37
32
votes
4 answers

Mac os on VirtualBox does not recognize Iphone

I have been trying to connect an iPhone to Mac OS High Sierra, I've installed on VirtualBox for testing swift app I am trying to develop. However, even I connect the phone to the USB, I can't select the phone from the devices.The message in the…
Haridu
  • 489
  • 1
  • 5
  • 7
32
votes
4 answers

What is Azul "Zing"?

What is Azul "Zing" platform? Visiting Azul site (link) turned into a marketing horror - and after wading through every little bit of it, I still don't have a clue. Does anyone have any experience with it? What are the requirement for your…
Ran Biron
  • 6,317
  • 5
  • 37
  • 67
32
votes
10 answers

How to add an ssh key to an GCP instance using terraform?

So I have a terraform script that creates instances in Google Cloud Platform, I want to be able to have my terraform script also add my ssh key to the instances I create so that I can provision them through ssh. Here is my current terraform…
Alex Cohen
  • 5,596
  • 16
  • 54
  • 104
32
votes
18 answers

Vagrant hangs at "SSH auth method: Private key

I am running VirtualBox 5.0.24 and Vagrant 1.8.5 on Digital Ocean VPS running on Ubuntu 14.04 LTS Precise I am using the box ubuntu/precise64 Everything works fine but when i do vagrant up it hangs at the SSH auth method: Private key and the exit…
Nishant Dixit
  • 543
  • 1
  • 4
  • 12
32
votes
6 answers

`ssh` executable not found in any directories in the %PATH%

ERROR: c:\Users\dhawal.vora>vagrant ssh `ssh` executable not found in any directories in the %PATH% variable. Is an SSH client installed? Try installing Cygwin, MinGW or Git, all of which contain an SSH client. Or use your favorite SSH client with…
voraD
  • 515
  • 2
  • 5
  • 7
31
votes
8 answers

VirtualBox: extend partition

I have virtualbox-4.1.0 with centos-5.6 installed in. Now I would like to extend the VM image, which I previously allocated for virtual machine installation, it was 8Gb, that's not enough now. Is there a way to extend the partition without loosing…
Mark
  • 6,052
  • 8
  • 61
  • 129
31
votes
3 answers

Unable to boot Windows 10 guest using VirtualBox with enabled Hyper-V and WSL2 installed

I recently updated my Windows 10 version to version 2004. I also updated WSL to WSL2. I encountered a problem while trying to use a Virtual Machine (Windows 10 Host/Windows 10 Guest) through VirtualBox 6.1.8. Everytime I try to boot it, it becomes…
tbmsilva
  • 339
  • 1
  • 3
  • 9
31
votes
3 answers

Connecting to a Vagrant VM externally

I use Vagrant when developing websites and have done for the last year or so. I would like to test out some functionality on an iPad but I can't figure out how to get the iPad to connect to the Vagrant box on my Mac. Is it possible to do this?
Craig Ward
  • 2,425
  • 5
  • 33
  • 51
30
votes
2 answers

Android Understanding Heap Sizes

I'm fairly new to Android development and I can't seem to grasp the Java Out of Memory exception. I know it means that my app has gone over the VM budget but after Googling this many times I still don't seem to grasp this concept. I'm afraid that my…
John P.
  • 4,358
  • 4
  • 35
  • 47
29
votes
9 answers

SyntaxError: invalid syntax to repo init in the AOSP code

I have tried to repo init the source code Ubuntu build machine and it is successfully able to clone the code. repo init -u git@github.com:xxx/xx_manifest.git -b xxx Now I am trying repo init the source code in VM Ubuntu machine. In between getting…
GNK
  • 1,036
  • 2
  • 10
  • 29
28
votes
3 answers

Boot a native OS on a hard disk as a virtual machine

I'm searching for a solution to boot a native OS on a hard disk as a virtual machine. It's like what VMware Fusion did on a Mac which boots Windows in Boot Camp as a virtual machine. In detail, I have Windows installed on /dev/sda2 and Ubuntu 11.10…
YankeeWhiskey
  • 1,522
  • 4
  • 20
  • 32
28
votes
5 answers

dnsmasq, serve different ip addresses based on interface used

Basically my situation is that I'm running a VM for developing web sites. The host machine has its dns pointing at the VM which, is running dnsmasq, which resolves the addresses of various dev sites; i.e. test.mysite.vm, etc. The issue is, when I go…
Ian Chadwick
  • 1,547
  • 1
  • 19
  • 21
28
votes
2 answers

How to enable VT-x in BIOS and KVM modules on Linux?

I have Dell Inspiron 15 5000 Series laptop containing intel core i5 6200U processor. I am using Windows 10 Home edition. It has the virtualization device and I already checked in BIOS for the virtualization, which is enabled. But in android studio I…
Hussam Cheema
  • 536
  • 1
  • 7
  • 13