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
2
votes
2 answers

How do you start a debug mode in Virtualbox GUI tool?

I've been playing with VirtualBox implementations of Xubuntu. I'm learning provisioning test boxes with content using both VBoxManage and Vagrant. Unfortunately my boxes work very erratically. I'd like to enable the debug mode in VirtualBox to…
zipzit
  • 3,778
  • 4
  • 35
  • 63
2
votes
1 answer

Running `docker stack deploy` on a local VM results in "No such image" error even though the image is on the public registry

I'm trying to follow the Docker Get Started guide. Currently I'm at part 4. Everything up until the point docker stack deploy -c docker-compose.yml getstartedlab worked well. However, after trying to deploy the services, when I run docker stack ps…
xji
  • 7,341
  • 4
  • 40
  • 61
2
votes
2 answers

VMWare Player - swapping to disk more if more memory allocated

Windows XP as base OS. Laptop has 4GB RAM and 2*2.2GHz cores. About 3 year old laptop Am using Windows7 in VMWare Player. If I allocate more than 1GB of RAM to the Win7 machine in the VMWare player settings it goes so slow, and is continually…
Dave Mateer
  • 6,588
  • 15
  • 76
  • 125
2
votes
2 answers

Certification Test Tool 1.2 for Azure WinRM cannot complete the operation

I'm currently trying to connect to my Virtual Machine with Windows Server 2012 Datacenter and connect to it via Certification Test Tool 1.2 for Azure. And always getting this error: Connecting to remote server xyz-vm.westeurope.cloudapp.azure.com …
Johannes Schweer
  • 229
  • 1
  • 2
  • 19
2
votes
2 answers

Disk size of a docker image

As someone new to docker world and coming from a virtual machine mindset. I downloaded a docker image for elastic search from docker hub.I am thinking about any configurations I need to do because a lot of data will be forwarded to this image. I…
whoami
  • 1,689
  • 3
  • 22
  • 45
2
votes
1 answer

An Alternative for Firebase functions ? Is it okay to run them on a VM?

I am using firebase functions for an Uberlike product. I can't get expected performance. Specially it takes a long time to load data from realtime-db. Up to 2-3 seconds for a read. It's may be due to called start, which is discussed here. => Why is…
2
votes
2 answers

Virtual Box does not start Genymotion machine

Virtual box version 5.0.28 , genymotion on running device gives error: Virtual Box cannot start virtual device.On running virtual device from virtual box it shows error :The virtual machine 'Google Nexus 5 - 4.4.4 - API 19 - 1080x1920' has…
Bhupesh_decoder
  • 75
  • 1
  • 11
2
votes
1 answer

VM CPU usage at 100%

CPU usage on our metrics box is at 100% intermittently causing: 'Internal server error' when rendering Grafana dashboards The only application running on our machine is Docker with 3 subcontainers cadvisor graphite grafana Machine spec OS…
gpullen
  • 1,093
  • 2
  • 14
  • 28
2
votes
0 answers

In VMWare fusion Pro, why I can not map an IP address to "localhost"?

I am running a web application in the host machine and accessing it from Window 8 running in VMWare fusion Pro for the purpose of testing my application with IE11. I have set up Custom Network Connection so that my host IP address in the virtual…
apollo
  • 2,467
  • 1
  • 20
  • 29
2
votes
0 answers

Capture traffic from virtualbox emulating android with fiddler in windows 10 local machine

I'm emulating an android x86 on my virtualbox and I want to capture traffic with fiddler in the local machine (windows 10) how can I do that? thanks
2
votes
0 answers

Disconnecting Virtual Machine using tscon.exe reduces screen resolution

I'm running automation tests on vm but as soon as i disconnect from vm using a batch file(tscon.exe) the resolution of vm automatically changes as the resolution is important in my case as i am comparing images
2
votes
2 answers

Android device not being recognized inside Ubuntu running in VirtualBox on Windows 7?

I am running Ubuntu inside VirtualBox installed on Windows 7. For some reason, when I type adb devices after connecting my phone, nothing happens. It just gives me a message saying that no devices were found. The device is recognized in Windows but…
Legend
  • 113,822
  • 119
  • 272
  • 400
2
votes
4 answers

Run C++ in VM, Securely

So, I am making a online application that user's can submit code and the output will be shown to the user. I have made Security a top priority and have taken the following steps to make sure that the code runs securely: Running the code on a VM, On…
Cody Butz
  • 294
  • 4
  • 15
2
votes
1 answer

"Acknowledge interrupt on exit" control in VT-x causes CPU lockup

I am working on supporting posted interrupts in a VMM that I'm writing that uses Intel VT-x virtualization. One of the VM entry requirements specified in the documentation for enabling posted interrupts is that the "Acknowledge interrupt on exit"…
Jack Humphries
  • 13,056
  • 14
  • 84
  • 125
2
votes
1 answer

Identification of a host from vmware

I know a software that is able to identify me as a host even when it runs inside a vm (using vmware running Windows 7 x64, host is Windows 10 x64). They generate some unique signature/hardware fingerprint and it's based on hardware. This fingerprint…
Konrad
  • 6,385
  • 12
  • 53
  • 96