Linux Kernel Virtual Machine is a virtualization system (VM)

learn more… | top users | synonyms

13
votes
3answers
16k 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?
10
votes
2answers
3k 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" ...
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?
10
votes
1answer
7k 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
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 ...
9
votes
3answers
13k 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 ...
8
votes
1answer
8k 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). ...
7
votes
7answers
12k 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
7
votes
2answers
19k 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
7k 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" ...
6
votes
3answers
7k 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. ...
6
votes
2answers
4k 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 ...
6
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 ...
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
4answers
8k 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 ...
3
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. ...
3
votes
1answer
584 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
555 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
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
0answers
302 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 ...
3
votes
1answer
588 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
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
554 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
3answers
8k 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
4k 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
611 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
21k 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
3answers
4k views

Wireless bridge on KVM virtual machine

I have a VM host (KVM) that's connected to a wireless router. I'd like the virtual guests to be in the same broadcast domain as the host; i.e, receive their IP from the router's DHCP. (=Layer 2 ...
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
2answers
1k 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
122 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
3answers
2k 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 ...
2
votes
2answers
741 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
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
45 views

Centos 7 KVM cifs mount issues

I am having a issue with Centos changing my KVM images folder from the default to a Cifs Shared folder. Any time I try it, it returns a error like so: [root@localhost Centos_Atomic]# systemctl status ...
2
votes
0answers
443 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
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 ...
2
votes
0answers
510 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
175 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
98 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
3answers
6k 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
2answers
2k 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
2answers
4k views

Error while creating a VM using KVM

I am trying to set up a VM on my Ubuntu 13.04 Desktop and it's giving me error when I try to start the VM. The error states: virsh # start vm1 error: Failed to start domain vm1 error: internal error ...
1
vote
1answer
205 views

Configure FirewallD to allow bridged virtual machine network access

I have a Windows guest running on a virt-manager QEMU/KVM virtual machine. My primary NIC eno1 is in a bridge br1 which is configured with my host IP address configuration. This VM is connected to ...
1
vote
1answer
443 views

Unable to resume KVM guest after rebooting host

I'm running KVM on Linux Mint 17.1, kernel 3.16.0-31-generic. The only guest is a Windows 8.1 VM. I've noticed that if I reboot the host while the guest is running, I'm unable to resume the guest ...
1
vote
1answer
304 views

How to change the disk interface type for my Windows 8.1 guest on KVM

I recently setup a Windows 8.1 VM with KVM and virt-manager. I initially set the disk interface to be IDE, but I'd like to change it to virtio. However, if I just change the interface in the ...