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
39
votes
3 answers

EC2 instance image on VirtualBOX?

Is there any way of getting the saved EC2 instance image and running it on virtualbox on my personal computer?
Sujit
  • 2,403
  • 4
  • 30
  • 36
39
votes
1 answer

In Vagrant which is better out of halt and suspend?

When I'm about to shutdown my host machine off should I: vagrant halt OR vagrant suspend What's the difference?
danday74
  • 52,471
  • 49
  • 232
  • 283
39
votes
12 answers

virt-manager guest resize not working

Installed virt-manager, target virtual machine is debian jessie with spice-vdagent installed shared clipboard, and latency-free mouse input works Display: Spice Video: QXL Channel spice: spicevmc, virtio, com.redhat.spice.0 (confirmed /dev devices…
ThorSummoner
  • 16,657
  • 15
  • 135
  • 147
39
votes
7 answers

Login credentials of Ubuntu Cloud server image

I am trying to build a cloud infrastructure using VM's In the Openstack manuals, it is mentioned that the images in this link contain, Openstack pre-installed. I downloaded the trusty-server-cloudimg-amd64-disk1.img file and I loaded it using KVM. I…
Sherwin Varghese
  • 481
  • 1
  • 5
  • 7
38
votes
3 answers

Docker Processes Shown on Host Process List

I was setting up a Selenium server using docker, basically following this github tutorial. I have no problem setting up the server, but I noticed that the processes that I started inside the docker image actually got shown up on my host process…
B.Mr.W.
  • 18,910
  • 35
  • 114
  • 178
38
votes
9 answers

creating symbolic link: Protocol error

I have created linux (Centos) on my virtual box. When I ssh to it and I try to create symbolic link (on my shared folder with full access): ln -s path/folder/example myFolder I get error: ln: creating symbolic link `myFolder': Protocol error Is…
TroodoN-Mike
  • 15,687
  • 15
  • 55
  • 78
37
votes
2 answers

Java's Virtual Machine's Endianness

What endianness does Java use in its virtual machine? I remember reading somewhere that it depends on the physical machine it's running on, and then other places I have read that it is always, I believe, big endian. Which is correct?
JoeCool
  • 4,392
  • 11
  • 50
  • 66
37
votes
3 answers

Sign virtual box modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) Centos 8

I started using Centos 8 recently, and I installed VirtualBox to manage my virtual machines, the problem that I encountered with is that my VirtualBox couldn't boot any VMs and it told me to execute this script /sbin/vboxconfig as root, when I run…
Younes LAB
  • 1,136
  • 1
  • 9
  • 16
37
votes
2 answers

How to safely run user-supplied Javascript code inside the browser?

Imagine a scenario where I want to continuously invoke user-supplied Javascript code, like in the following example, where getUserResult is a function that some user (not myself) has written: for (var i = 0; i < N; ++i) { var x =…
Domi
  • 22,151
  • 15
  • 92
  • 122
37
votes
3 answers

Where can I get a virtual machine online?

I am looking for some VPS/ Virtual machine which should be available all the time and I must be able to access it from any computer having internet. I know a few paid services but just wondering If I can get a VM for free.
conetfun
  • 1,605
  • 4
  • 17
  • 38
37
votes
15 answers

Unable to ping vmware guest from another vmware guest

I would like to ping one vmware guest from another one. Both are Windows XP and use NAT. I set IP manually for VMnet8 to 192.168.18.1. (no using Obtain IP address automatically). Also I'm not able to ping neither guest1 nor guest2 from host. I'm…
Vladislav Krejcirik
  • 593
  • 2
  • 6
  • 10
36
votes
9 answers

When trying to install OS in Hyper-V, it ignores boot order and goes to "Start PXE over IPv4" instantly

I'm trying to create a VM from an .iso file on my computer. In my boot order settings, the DVD Drive with as value the .iso is at the top. I've tried several different VM's (Ubuntu18.04, Windows 10 and Windows Server 2016) all of which give me the…
PinkDraconian
  • 501
  • 1
  • 4
  • 11
35
votes
1 answer

What is the difference in the "Host Cache Preference" settings when adding a disk to an Azure VM?

When adding a VHD data disk to a VM I am asked for a "Host Cache Preference" (None, Read Only, Read/write). Can someone tell me the effect of choosing one over the other? Specifically, I am using a VM as a Build Server so the disks are used for…
Mark
  • 2,926
  • 3
  • 28
  • 31
34
votes
3 answers

How to get VirtualBox 6.0 and WSL working at the same time

When I turn on Windows Subsystem for Linux option in Windows features on or off, VirtualBox outputs the following error every time I run a VM: Call to WHvSetupPartition failed: ERROR_SUCCESS (Last=0xc000000d/87) (VERR_NEM_VM_CREATE_FAILED). Result…
33
votes
1 answer

Excessive mysterious system time use in a GHC-compiled binary

I'm working on an exploration of automatic bounding of constraint-base searches. As such, my starting point is the SEND MORE MONEY problem, with a solution based on nondeterministic selection without replacement. I've modified the approach to count…
Carl
  • 26,500
  • 4
  • 65
  • 86