Questions tagged [virtual-machines]

A virtual machine (VM) is a completely isolated guest operating system installation within a normal host operating system. It is a software implementation of a machine (i.e. a computer) that executes programs like a physical machine.

Modern virtual machines are implemented with either software emulation or hardware virtualization. In most cases, both are implemented together. Usually the term refers to system virtual machines which provide a complete system platform which supports the execution of a complete operating system (OS). Note that process virtual machine exist too, which are designed to run a single program (a single process).

An essential characteristic of a virtual machine is that the software running inside is limited to the resources and abstractions provided by the virtual machine—it cannot break out of its virtual environment.

2821 questions
16
votes
3 answers

MSTSC: Black Areas on Remote Desktop

I'm connecting from Windows Server 2012 R2 to Hyper-V virtual machine running Windows 8.1 via RDP (mstsc.exe). The VM is hosted on the same machine from which I'm connecting. Everything was fine until today. When I connected to the VM today, I've…
16
votes
2 answers

Renaming an Azure VM

I am looking to rename an Azure VM. I have copied a VM from one subscription to another using this…
Nick Chambers
  • 163
  • 1
  • 1
  • 5
16
votes
4 answers

Vagrant shared folder and file change events

I have ubuntu virtual machine that I'm accessing through Vagrant. On my host (Mac OSX), there is a folder with couple of files, that I share to virtual machine. In that virtual machine, I want to use guard to watch for files changes and perform some…
16
votes
5 answers

Defrag in Windows VM?

I've read conflicting advice on this issue so thought I'd ask here. Should I be running a scheduled defrag within my VM?
SteB
  • 989
  • 6
  • 15
  • 31
15
votes
2 answers

Running Mac OS X on Hyper-V

I have my workstation setup with a Windows Server 2008 running Hyper-V. Now I really want to install OS X for testing purposes. Have anyone had any success running Mac OS X in an Hyper-V environment? Thanks
Thomas
  • 181
  • 1
  • 1
  • 5
15
votes
7 answers

How to setup /etc/issues to show the IP address for eth0

I've got a couple of linux virtual machines with bridged interfaces, and I'd like the IP address of the machine to show up after the machine boot (in the login, where it usually shows the release and kernel). From what I can tell the message is…
Bruno Lopes
  • 615
  • 2
  • 6
  • 8
15
votes
15 answers

Web based KVM management for Ubuntu

We've got a single Ubuntu 9.10 root server on which we want to run multiple KVM virtual machines. To administer these virtual machines I'd like a web based KVM management tool, but I don't know which one to choose from the list of tools mentioned on…
Tim
  • 215
  • 1
  • 2
  • 9
14
votes
2 answers

How to get free space from mounted drive Redhat 7

In our VM infrastructure, we have clustered hosts going to a SAN. What i am trying to figure out is how much "white space" is left over when deleting files within our Redhat servers. On our Windows server we use sdelete and that clears up that…
Anthony Fornito
  • 9,546
  • 1
  • 34
  • 124
14
votes
6 answers

How to decrease the size of a KVM virtual machine disk image?

How do you decrease or shrink the size of a KVM virtual machine disk? I allocated a virtual disk of 500GB (stored at /var/lib/libvirt/images/vm1.img), and I'm finding that overkill, so now I'd like to free up some of that space for use with other…
Cerin
  • 3,600
  • 19
  • 61
  • 79
13
votes
5 answers

Renting a dedicated, but getting a VPS. How to detect?

When renting a dedicated server, how can one be certain than he/she is not getting a VPS or some other virtual machine variant instead of a true dedicated hardware box? Which checks can be run (assuming it is a linux box) to detect such case?
mr-euro
  • 848
  • 3
  • 14
  • 31
13
votes
3 answers

Having Mac OS X on a XEN virtual machine

Is it possible to have Mac OS X guest on a XEN host? If yes, how? There are difference for Mac OS X Server? In particular I'm interested in the installation of a testing Mac OS X Server inside a XEN domU, being the host a Debian linux server in the…
drAlberT
  • 10,949
  • 7
  • 39
  • 52
13
votes
4 answers

Can a virtual machine (VM) "hack" another VM running on the same physical machine?

Questions: if a VM is corrupted (hacked), what do I risk on others VMs running on the same physical machine? What kind of security issues is there between VMs running on the same physical host? Is there (can you make) a list of those (potential)…
Totor
  • 2,916
  • 3
  • 23
  • 31
13
votes
5 answers

virsh: VM console does not show any output

I have a VM which I can start with virsh. According to virsh dumpxml VM1, this is the allocated pty:
blueFast
  • 4,200
  • 13
  • 37
  • 54
13
votes
8 answers

What is this server doing?

I have a bunch of linux virtual servers left over from a previous IT department. They have names like 'magic' or 'stuff'. I'm not quite sure what they're doing...or if I need them... How would you guys and gals go about finding out the purpose of…
blsub6
  • 1,131
  • 6
  • 25
  • 45
13
votes
4 answers

Is it dangerous to change the value of /proc/sys/net/ipv4/tcp_tw_reuse?

We have a couple of production systems that were recently converted into virtual machines. There is an application of ours that frequently accesses a MySQL database, and for each query it creates a connection, queries, and disconnects that…
Sagar
  • 534
  • 3
  • 7
  • 21