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
1 answer

Azure Rest API What resourceRestoreRequest syntax for VM Restore

I'm using Python with Rest API requests to manage backup&restore on Azure VM. I'm able to backup VM, but I can't restore them. My code in Python to POST headers = {"Authorization": 'Bearer ' + restapi_azure_authentication()} myResponse =…
Matthieu
  • 21
  • 2
2
votes
1 answer

Cannot restart Google Cloud VM

I ended my trial period with google cloud, and I have upgraded my account, still my virtual machine is stopped and I get this following error, which I couldn't manage to solve. Starting VM instance "hasoffer-api" failed. Error: The default network…
Lucasaudati11
  • 577
  • 1
  • 4
  • 8
2
votes
3 answers

Azure Classic VM. How to fix Error: "We couldn't complete the updates. Undoing changes. Don't turn off your computer."

An automated Windows update this morning left my Windows Server 2012 R2 Classic Virtual Machine on Azure in a semi-crashed state. The VM is a web server, and all the files and applications in it are still accessible via the browser. In other words,…
Valtinho
  • 327
  • 1
  • 3
  • 16
2
votes
1 answer

Vagrant stuck trying to start up: No valid rapl domains found

I am running Homestead via Vagrant, I have just updated my box and tried to start it. I get the following log: ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH…
InvalidSyntax
  • 9,131
  • 20
  • 80
  • 127
2
votes
2 answers

Show pointer value in kernel printouts (instead of ) on parallels VM that runs OS X 10.12

I'm working on a Kext that runs under 10.12.4 VM (I use parallels) and I'd like to enable pointer printouts (currently all pointers are hidden and appears on /var/log/system.log as ) Prior to 10.12 there was option to directly put away…
user7256215
2
votes
2 answers

the command "docker-machine ls " list nothing on my mac

I installed the latest stable docker for Mac, and started the docker directly without a virtual box. I know that it must have started a virtual box, so I use "docker-machine ls" to find the default machine, but it list nothing. How can i find the…
stephzcj
  • 695
  • 1
  • 6
  • 9
2
votes
2 answers

How does Docker bypass needing an OS?

In simple terms, how does a Docker image/container work on another machine that doesn't have an OS? It seems like with VMs, if you have a machine A with OS A and machine B with OS B and you want to run your code that originated from machine A on…
stackjlei
  • 9,485
  • 18
  • 65
  • 113
2
votes
10 answers

What's your choice for testing your program in a virtual machine?

When testing our software on several different systems (98-XP-Vista-Seven-Linux-etc), I think that the best choice is to use virtualized systems. What's your choice: VMware, Virtual Box or MS Virtual PC/Server? and why?
Click Ok
  • 8,700
  • 18
  • 70
  • 106
2
votes
2 answers

Vagrant: Forwarded Ports doesn't work

I have a spring application which is compileable/runs on vagrant and listens to localhost:8080 (inside vagrant). This is my Vagrantfile: Vagrant.configure("2") do |config| config.vm.box = "ubuntu/xenial64" config.vm.network :forwarded_port, guest:…
SteveOhio
  • 569
  • 2
  • 8
  • 20
2
votes
3 answers

Real-World Dangers of C Memory Leaks?

I am learning C, and am concerned about memory leaks. I understand that rebooting will generally flush memory, and assuming I don't run the program again, I will be fine. I am considering using a second, high-power machine. How badly can I screw up…
user7811680
2
votes
1 answer

Importing Appliances (Hortanworks Sandbox) into Virtual box showing up ERROR: Callee RC: NS_ERROR_CALL_FAILED (0x800706BE)

Trying to import Hortonworks Sand box into my virtual box on Mac machine. Upon importing I am getting Callee RC: NS_ERROR_CALL_FAILED (0x800706BE) error message do know how to resolve this
2
votes
1 answer

when installing kivy in The Kivy Android Virtual Machine

I have a problem when installing Kivy in The Kivy Android Virtual Machine. This is all the terminal help me if you can't or propose idea I'm in kivy VM. kivy@kivy-VirtualBox:~/Desktop/work/pygame$ python main.py [INFO ] [Logger ] Record log…
2
votes
2 answers

Record Sound in Windows Server 2016 VM - Google Cloud Platform

I'm trying to record sound in a 2016 windows server virtual machine. After I initialize the virtual machine and install audacity (or other sound recording software) I receive this error. Error while opening sound device. Please check the recording…
2
votes
1 answer

DNS server not working in QEMU usermode networking

I am trying to get QEMU 2.8.0 on Windows host to work with my Linux guest with vanilla 2.6.11.12 kernel but it is responding with unknown host. I am using user mode networking (SLIRP). Here's my qemu network status: And my ifconfig: And my…
markf78
  • 597
  • 2
  • 7
  • 25
2
votes
2 answers

Vagrant creating multiple terminals in guest machine

I have vagrant and an ubuntu server 16.04 box started with it. By using vagrant ssh command everything is fine if you need just one terminal, but I need many terminal sessions not just one because I have to start 3 nodejs processes and some other…
Kristi Jorgji
  • 1,154
  • 1
  • 14
  • 39
1 2 3
99
100