Linux Kernel Virtual Machine is a virtualization system (VM)

learn more… | top users | synonyms

10
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?
8
votes
2answers
8k 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?
6
votes
1answer
1k 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" ...
5
votes
3answers
5k 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
1k 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. ...
4
votes
2answers
10k 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 ...
4
votes
2answers
4k 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 ...
4
votes
1answer
1k 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 ...
4
votes
1answer
992 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 ...
4
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, ...
3
votes
1answer
1k 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
2answers
586 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 ...
3
votes
1answer
225 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
1answer
889 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
1answer
184 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
1answer
537 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
528 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
1answer
546 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
3answers
1k 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. ...
2
votes
2answers
2k 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 ...
2
votes
1answer
480 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
112 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
2answers
334 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 ...
2
votes
1answer
761 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
1answer
311 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 ...
2
votes
0answers
95 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
68 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 ...
1
vote
2answers
3k 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?
1
vote
2answers
494 views

How can I use a separate partition to store the VM images in KVM?

I have the following setup on my host [root@fake ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 32G 30G 785M 98% / tmpfs 12G 76K 12G ...
1
vote
1answer
2k 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 ...
1
vote
3answers
5k views

How can I run an existing WinXP partition (dual boot machine) inside KVM?

I use KVM to run virtual machines on Ubuntu Jaunty and virt-manager to configure them. My machine is dual-boot, and I don't want to have to reboot for my occasional uses of Windows. So I set up a VM ...
1
vote
3answers
4k 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 ...
1
vote
1answer
323 views

KVM in Ubuntu cannot trap Windows7 keyboard shortcut

I am running Windows7 as a guest OS inside KVM running in Ubuntu Desktop 10.04 Everytime I do Alt+Tab within Windows7, the shortcut is caught by Ubuntu. How can I 'trap' the shortcut to stay within ...
1
vote
1answer
748 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?
1
vote
2answers
1k views

GDB breakpoint problems attaching to QEMU

I have the following problem: When I connect gdb to qemu for debugging, it won't break on breakpoints. I can set breakpoints, break with ctrl+c etc. Any clues how this can be fixed? I have: $ qemu ...
1
vote
1answer
41 views

One speaker set for two computers

In my case, i have a setup of a linux host machine and a windows virtual machine, i have a soundblaster dedicated sound card and an intergrated intel hd soundcard. I was thinking i want to use the ...
1
vote
2answers
303 views

freebsd guest works from commandline `kvm`, hangs before boot inside virt-manager

I have a FreeBSD-7 guest (in a qcow2 disk image) which works just fine when I start it from the commandline with # kvm -drive file=freebsd7.disk But when started from the virt-manager GUI, it gets ...
1
vote
3answers
1k 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
489 views

cgroups in CentOS

I am using a KVM to manage my VMs. I would like to limit the CPU usage of a particular VM (set a cap on the VM). I was using xen all along, and was able to do this using credit scheduler. I am new to ...
1
vote
1answer
323 views

Cloning in KVM-Qemu

How does kvm clone the qcow2 images? I couldn't find any documentation on the internals of the cloning.
1
vote
2answers
1k views

Windows 7 amd64 guest in kvm does not have sound

my host system is gentoo amd64, guest system is Windows 7 amd64. the guest system can work, except it does not have sound. I start kvm with -soundhw ac97, QEMU_AUDIO_DRV='alsa', and after I get into ...
1
vote
0answers
30 views

nova-compute libvirt x86_64 emulator Error

I was trying to install openstackin Ubuntu12.04 server. I find that Nova-compute is not getting started and the error is the below. I followed some of the suggestions in various forums, but nothing ...
1
vote
0answers
6 views

can't connect to kvm rhel guest from fedora host over any port other than 22 (ssh)

I have a kvm guest running Red Hat Linux in a Fedora 19 host. Running a ruby app in the guest on port 3000. I can ping the guest, and ssh into it from the host, but I cannot access the app itself. ...
1
vote
0answers
19 views

VPN access kvm guests

OpenVPN is installed on my host system running kvm as virtualization and I've several guests with static/public (Bridged) and private IPs (NAT), every guest uses Samba to share some folders. how can ...
1
vote
0answers
181 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 ...
1
vote
0answers
544 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 ...
1
vote
0answers
172 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 ...
1
vote
0answers
268 views

KVM USB Passthrough and Zydas usb wireless adapter: device or resource busy

i'm tring to setup a kernel testing virtualmachine for a 80211 module. i start my machine with this command: kvm -m 512 -net nic -net vde -usb -usbdevice host:0ace:1215 ktesting.img i set up a ...
1
vote
1answer
312 views

KVM guest displaying on an attatched monitor

I have a Debian Squeeze KVM hypervisor running a server guest VM and a Desktop guest OS VM. Is it possible for the Desktop guest to send it's display to monitor directly attatched to the computer? An ...