Linux Kernel Virtual Machine is a virtualization system (VM)

learn more… | top users | synonyms

15
votes
3answers
18k views

Change CD-ROM via virsh

I have a KVM virtual machine that is managed via libvirsh. Now I want to use a different ISO image inside the VM. How do I change the DVD in the virtual drive using virsh?
12
votes
2answers
4k views

libvirt/9p/kvm mount in fstab fails to mount at boot time

I am trying to mount a shared folder using qemu-kvm/9p and it fails to work if I add it to the fstab file. I get an error at boot that the device cannot be mounted, yet after start if I run "mount -a" ...
11
votes
6answers
2k views

Virtualbox, VMware, KVM or other for Ubuntu virtualization?

Is any one of these better than the others? What are the differences in practical terms for home use?
10
votes
8answers
15k views

How to exit a “virsh console” connection?

Is there any special characters involved? I want to be able to open a console connection in my application and exit upon completion of a task
10
votes
3answers
16k views

Virtualized Screen Resolution

I have a 64 bit Ubuntu 9.10 workstation with two virtualized guest OSes using KVM/QEMU. Also both 64-bit. One is Fedora 12 the other is beta of Ubuntu 10.04. The problem is that I would like to use ...
10
votes
2answers
8k views

Prevent radeon driver from attaching to specific PCI devices?

I have two Radeon cards in this machine, a 6570 and a 6950: lspci | grep VGA: 01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Turks [Radeon HD 6570] 02:00.0 VGA compatible ...
10
votes
1answer
8k views

Implementing PCI-Passthrough with Linux-KVM on Debian

I am attempting to use PCI-Passthrough to attach an old video card (Radeon 4770) to a virtual machine. I am using Linux-KVM to run my virtual machines on a Debian Linux (Wheezy, 3.2.0-4-amd64) host. ...
9
votes
2answers
6k views

How do I prevent virt-manager from asking for the root password?

When starting virt-manager, it asks for the root password. It looks like virt-manager causes the libvirtd daemon to run pkcheck with a couple of arguments, which then shows this authentication dialog....
8
votes
1answer
10k views

Mirror Port via iptables

I have a dedicated Linux (Debian 7.5) root server, with a number of guests set up. The guests are KVM instances, and get network access via bridge-utils (NAT, internal IPs, use the host as a gateway). ...
8
votes
2answers
21k views

KVM image failed to start with virsh, permission denied

My host OS is Ubuntu Server 11.04 (natty) After following the instructions detailed by Ubuntu's help, I created one KVM image using sudo ubuntu-vm-builder kvm hardy --libvirt qemu:///system The ...
7
votes
1answer
10k views

How to boot a KVM virtual machine raw image to VirtualBox?

I have received a .img file of a server which is a Virtual Machine running in a KVM environment. The Virtual Machine was installed with Ubuntu. I would now like to take this .img file and "emulate" ...
7
votes
1answer
3k views

Running the same Windows both in KVM and physical

I have kind of an advanced question for you, I would like to install Windows on my hard drive (which is GPT formatted) but I would like to be also able to run it in KVM. To clarify, the same Windows ...
6
votes
3answers
8k views

Is it possible to run a Windows partition as a VM?

My laptop is setup as dual boot between Windows 7 (64-bit) and Ubuntu Linux (64-bit). Because I spend most of my work time in Linux I need a Windows 7 VM to be able to use Microsoft Office tools, etc. ...
5
votes
1answer
3k views

Where can I config service startup options in Ubuntu?

I'm not used to using Ubuntu or Debian as a server. I'm more accustomed to Red Hat/Fedora ways and even Gentoo (yikes). Under Red Hat installs, you can often configure most services that start from ...
5
votes
3answers
2k views

Is there any way to run 64bit Virtual Machine on 64bit processor without hardware virtualization (amd-v, vt-x)?

We have a 64bit virtual machine (CentOS) that we'd like to run on 64bit host-machine (may be running under any OS), but that host-machine doesn't support hardware virtualization, which, you know, ...
4
votes
3answers
2k views

How to buy a windows 7 VM?

I'm a Linux user and would like to have a Windows 7 Virtual Machine on KVM. Microsoft licensing confuses me and I don't want to buy a copy of Windows 7 that won't allow me to install it as a KVM VM. ...
4
votes
4answers
9k views

Guest and host cannot see each other using linux-kvm and macvtap

I'm migrating a kvm virtual machine from an old host (both hardware and OS) to a new one. For networking, virt-manager proposed me a new option: macvtap. This looked a good alternative to setting up ...
4
votes
1answer
679 views

Windows 10 in KVM: change boot disk to Virtio

I have installed a Windows 10 virtual machine using an IDE disk and would now like to change the disk to use the Virtio driver. For other versions of Windows, the approach in this question seems to ...
3
votes
1answer
1k views

HASP dongle in kvm?

Is there a way to use a HASP dongle (Aladdin) in a kvm virtual machine (guest) running Windows 7 professional with Ubuntu 10.04 or 10.10 as host?
3
votes
3answers
3k views

vga-passthrough with kvm/qemu on optimus-capable laptop

i have an asus n550jv laptop with the following output from lspci -nn | grep "VGA|3D": 00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics ...
3
votes
1answer
606 views

QEMU: How to find bottleneck in my virtual machine?

I am running an ubuntu virtual-machine on a 12.04 ubuntu server. Unfortunately the machine is extremly slow (just htop consumes 15%), even though having 8 cores etc. Do you know a way to find the ...
3
votes
1answer
2k views

ubuntu libvirt serial console requires ttyS0 restart to connect?

I'm attempting to configure serial access from my libvirt host to one of its guests. I've configured the device on the guest and started it: jsharpe@sel-app1:~$ cat /etc/init/ttyS0.conf # ttyS0 - ...
3
votes
1answer
606 views

What VNC clients support qemu's audio extension?

I've read that QEMU implements an extension for providing audio over a VNC connection Unfortunately despite doing a lot of web searches and even installing some different VNC clients and ...
3
votes
0answers
466 views

Linux windowed GPU passthrough

I've read that GPU passthrough on linux (ubuntu/mint) is possible with the correct types of hardware. I'm looking for a specific use case of passthrough and I'm wondering whether technology has ...
3
votes
0answers
417 views

Cannot create a virtual machine on Fedora: Activation of org.freedesktop.machine1 timed out

I am trying to create a new VM within Fedora using virt-manager. However, I get the following error: Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line ...
3
votes
0answers
340 views

qemu: How to use resolutions > 1024x768 in Windows 8(.1)?

In previous Windows versions, I was able to get higher resolutions in qemu/qemu-kvm by passing the -vga std or -vga vmware command line parameters. However, when I try the same for Windows 8 (and 8.1)...
3
votes
1answer
667 views

How can I write a Windows (NTFS) .img file to a partition and add it to grub?

I'm trying some crazy stuff here. First, I had a VirtualBox machine with Windows XP installed, using .vdi format. Then I exported the image to a OVA, extracted the .vmdk and converted it to a raw .img ...
3
votes
0answers
2k views

pulseaudio, in a KVM virtual machine (as root) and your desktop (not root) playing audio at the same time?

How do you get pulseaudio to play sound in a KVM virtual machine (running as root) and your desktop apps (not running as root) at the same time? It seems that by default, it will only play sound for ...
3
votes
1answer
1k views

How to enable Virtualization Technology in Samsung Chromebox

I need to enable Virtualization Technology (VT) in my Samsung Chromebox (Series 5) from Google IO 2012 because of Android x86 emulator from Intel. I am on Developer BIOS, but I have no clue, how to ...
2
votes
4answers
555 views

Best, easy to use open source virtualization solution for Ubuntu 10.04?

I am a big fan of VMWare Workstation - it works great and is so easy to use... However, I like open source. I realize there's VirtualBox, but ideally I was looking to something to do the following: ...
2
votes
4answers
9k views

Find IP of VM running KVM

How can I find the IP of the VM on KVM(using Nmap)? If not,are there any functions in Libvirt to do that?
2
votes
1answer
5k views

Using virt-install to mount multiple cdrom drives/images

I would like to create a windows xp guest from the windows xp upgrade cd I have, along with one of a few full versions I have around. However, when I reach the stage in the installer where I am ...
2
votes
1answer
614 views

My KVM is not perform that good as announce

I am using normal PC with the following specifications: Intel Core 2 6600 @ 2.40GHz RAM: 2G Motherboard: Intel DG965RY HDD: 7200 rpm @ 250G I have enabled Intel VT in BIOS setting. I install the ...
2
votes
4answers
24k views

virt-manager kvm modules are not available

Fedora 16 latest updates running on a HP Mini 210 with an Intel(R) Atom(TM) CPU N550 @ 1.50GHz Updated answer: ============== sudo yum groupinstall Virtualization Only installed virt-viewer ...
2
votes
1answer
1k views

open a console on a virtual machine

I have a KVM Virtual machine running, I can see that using "ps aux | grep kvm". What I need to open a console into that VM. How do I do that?
2
votes
1answer
3k views

Copy/paste issue in Ubuntu virtual machine (QEMU-KVM) with Awesome window manager

I have Ubuntu 12.10 virtual machine running in QEMU-KVM. Copy/paste between host and vm works fine when using Unity as window manager but not while using Awesome. What is the difference between those?...
2
votes
1answer
4k views

How to ignore a USB device in udev

I want to pass a USB device (to be precise: a smart card reader) to a KVM virtual machine, and therefore have to prohibit that it is claimed by any driver on the host machine. I tried to write a udev ...
2
votes
2answers
2k views

Convert KVM virtual machine to LXC container

I have 2 virtual machines (with Debian, using KVM) with virtual hard drives: /srv/kvm/ssh.img /srv/kvm/www.img Both have 3 partitions (/, /home, swap). I want to convert them in a RootFS usable ...
2
votes
1answer
2k views

Virtualization: tips to speed up a Linux KVM guest

I set up an host Linux system with KVM and I installed another Linux as a guest (Debian 6). I nside the guest I launch a vncserver and I access it from the host using vncviewer. It works fine for my ...
2
votes
1answer
130 views

is it safe to expose physical interface without ip (bridged) to the outside world?

I have a KVM on Ubuntu as a home server. My gateway is a VM with WAN interface connected to the bridge configured as auto eth1 iface eth1 inet manual auto br1 iface br1 inet manual bridge_ports ...
2
votes
1answer
343 views

Control fan speed under linux without nvidia drivers

I have quemu-kvm configuration like this - IGP on host (linux) and Nvidia on guest (windows). I blacklist nvidia drivers under linux (arch dist.). Is there a way to set GPU fan speed under linux (it'...
2
votes
2answers
783 views

oVirt requirements and other web based mgmt tools for kvm

I'm evaluating different virtualization management tools for KVM virtualization. I've a kvm ready server with 32GB ram. I'm looking for web based management tools where different people can manage/...
2
votes
4answers
5k views

Host-only-like interface in KVM

I just migrated from Virtualbox to KVM, everything is very good. But I've a little bit confused in network adapter type. In Virtualbox I have host-only adapter, which are virtual nic (no bridge), and ...
2
votes
1answer
1k views

Can kvm guest get more CPUs than it has?

When I run a vm with a single virtual CPU inside KVM, is it possible that the vm can actually get more CPU cycles than one whole CPU can has, if there is no other vm running in the host? In another ...
2
votes
3answers
3k views

How to tell if I am on a XEN or KVM Server?

Is there a way to tell if I am on a XEN or KVM linux server? Reason I asked is nothing is on top yet I am seeing load averages high well after I do tasks and I am getting hangs/spikes when I do simple ...
2
votes
0answers
500 views

How to set up a VM gateway/DHCP and virtual network in CentOS KVM?

Today I have a working setup where the physical host runs W2k3. It has 2 physical NIC's. It runs Vmware server and I have a ClearOS VM installed acting as a FW/DHCP/DNS for both the host and all the ...
2
votes
0answers
338 views

How to improve graphical performance of Windows 8 on KVM?

I installed Windows 8 on KVM. But its graphical performance is less than desirable. First I tried to use SPICE protocol to solve this problem, but it doesn't support Windows 8. Next I tried to use ...
2
votes
0answers
527 views

How to set up linux watchdog daemon with Intel 6300esb

I've been searching for this on Google for sometime now and I have yet to find proper documentation on how to connect the kernel driver for my 6300esb watchdog timer to /dev/watchdog and ensure that ...
2
votes
0answers
192 views

Mouse movement in KVM is much slower than VirtualBox, any work arounds?

I'm running KVM in latest Ubuntu, mouse seems pretty slow compared to host machine, the cursor looks "heavy" to me, Anyone know what could possibly wrong ? I use a wireless mouse that connects ...
2
votes
1answer
100 views

Mapping KVM guest VMs to subdomains

I've just installed KVM on a Ubuntu host system and intend to install two guest VMs on it. I have a domain, e.g. example.com. How can I configure my system so that VM(a) is accessible by example.com ...