KVM is the Kernel Virtual Machine, a virtualization hypervisor built into the Linux kernel.

learn more… | top users | synonyms

4
votes
1answer
2k views

Proxmox Master Node crashes

I've inadvertently discovered a Proxmox bug. I run a personal cluster of 4 nodes (a technology lab for giggles and gags). Each node has a Dell Perc 5i and 4 HDDs in RAID 10. The standard Proxmox ...
4
votes
1answer
370 views

Migrate a qcow2 image between storage pools

I have 2 storage pools. host_images (directory storage pool) remote_images (nfs storage pool) How do I copy qcow images from remote_images to host_images using libvirt APIs? I've tried using the ...
1
vote
2answers
24 views

Modified QEMU XML file does not appear to be used

I've created a qcow2 image snapshot of a KVM guest image. I've modified the XML file for the image to use the new snapshot file but when I halt and restart the guest, and create a file on the guest ...
3
votes
2answers
133 views

Accidentally removed a libvirt image file, can I recreate it?

I accidentally removed the wrong image file in my /var/lib/libvirt/images directory. I'm not sure how to recreate one or to undo my removal. Any hints?
0
votes
0answers
16 views

Shutting down kvm guest without acpi

I've got a KVM guest that won't shut down from virsh or from virt-manager. Most everything I've read says to install ACPI on the guest and do a bunch of configuring on the host to make this work. Is ...
1
vote
1answer
26 views

migrate i386 qemu VM to amd64 VM host

I have an i386 qemu VM: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 3 model name : QEMU Virtual CPU version 1.1.2 stepping : 3 microcode ...
4
votes
1answer
37 views

100% CPU utilisation and hang after virsh migrate

I've been experimenting with ZFS + DRBD + live migration (I want to understand it well enough to write my own automation scripts before I start playing with ganeti again, and then openstack cinder). ...
1
vote
0answers
16 views

Fedora Host, Kali VM, KVM/QEMU mouse not working

I have a Fedora 23 host, and I tried to install Kali Linux using Virtual Machine Manager, and every time I did it -- no matter how I configured it -- the mouse would not work. It would only go down ...
2
votes
0answers
23 views

Is there a way to make faster QEMU snapshots without using libvirt?

I have a Lenovo ThinkPad T430 running Red Hat Enterprise Linux 6.7, kernel 2.6.32 and QEMU-KVM 0.12.1 (per corporate policy I am not allowed to run a more cutting-edge distribution or any more recent ...
1
vote
0answers
20 views

ebtables drop / limit smtp port

I am using bridged devices, main node runs on CentOS 7 and Guest are KVM VM's. I have tried rules as below on host node to block port 25 but was not successful. ebtables -A FORWARD -p IPv4 --ip-...
1
vote
0answers
25 views

How to set up NAT on the host for virtual machines in Fedora 23 with Firewalld, in order to make them visible to other devices on the network?

Host: Fedora 23 Guest: CentOS 7.0 KVM/QEMU Here is what I am trying to do. Set up NAT on the host system (Fedora 23) so that the guest (CentOS 7.0) would be visible from outside (by other devices ...
1
vote
1answer
945 views

Allow multicast packages from the bridge to wire in KVM

On a CentOS 6.5 host, I have a couple of guests - Ubuntu 12.04 and CentOS 6.5. The Ubuntu guest is generating mcast traffic that is visible via a tcpdump on the br3 interface. It is also visible on ...
1
vote
0answers
49 views

Enable “kvm=off”, “x-vga=on” and “-vga=none” from within Virt-Manager?

I have virtual machine created from Virt-manager, it's Windows. I have attached host PCI device (GPU) to the guest VM, it's recognized, but not used I know options x-vga=on and -vga=none are friends ...
0
votes
0answers
29 views

IP NAT Routing with systemd-networkd and KVM

my setup looks like: KVM Hypervisor Ubuntu 15.10 with libvirt systemd-networkd configuration ==> 10-static.network <== [Match] Name=eth0 [Network] Bridge=br0 ==> 20-bridge.network <==...
0
votes
2answers
1k views

KVM Guest installation

After ran below command virt-install --name=vm01 --disk path=/var/lib/libvirt/images/vm01.img,size=10 --ram=512 --os-type=linux --os-variant=rhel6 --network bridge:br0 --nographics --cdrom=/home/ISO/...
1
vote
1answer
26 views

KVM guest access to host usb-serial dongle

I have a KVM virtual machine running CentOS 7 on a host running Fedora 24. I have a usb-serial dongle (actually a RFID reader but that should really not matter) that is installed on the host. The host ...
0
votes
1answer
30 views

problem of denied access using kvm

I would like to test kvm with opensuse tumbleweed. I successfully installed kvm, but I am stuck in creating my first VM. The trick is that I want to have the VM's directory in an external HDD. When ...
1
vote
2answers
54 views

libvirt: command to start up all guest virtual machines which have auto-start enabled

I'm using Debian Jessie as a virtual machine host using libvirt/qemu/kvm. I've set some of the guest virtual machines to automatically start when the host OS boots up, this is working fine. For ...
4
votes
2answers
4k views

Cannot Start KVM VM Because Missing BIOS

Whenever I attempt to start a KVM VM on Ubuntu 14.04 with the "kvm" command, I get the following error: qemu: could not load PC BIOS 'bios-256k.bin' I have searched for this file and found it ...
1
vote
1answer
33 views

Proxmox hook for VMs

We have Proxmox installation. We want to execute a command after new VM was added. It is required for QEMU port redirection since setting redir option is not avaialble on GUI: qm set 102 -args "--...
3
votes
1answer
872 views

KVM to Ovirt VM migration

I installed ovirt on a machine that was already hosting KVM virtual machines. I am now trying to migrate those VMs over to RHEV format, but I am receiving SASL authentication errors using virt-v2v. I ...
0
votes
0answers
20 views

How can i make incremental backup?

I have a linux based HOST system with KVM. And a GUEST system using Windows Server 2012R2 on a lvm partition. How i can make an incremental backup of this lvm set? Or better yet, how can I make a ...
7
votes
1answer
5k views

setup kvm on a wireless interface on a laptop machine

I am trying to setup KVM in ubuntu 14.04 host machine. I use a wireless interface to access the internet in my machine. I have setup the wireless interface in my /etc/networks/interfaces as below. ...
0
votes
1answer
839 views

Configuring bridge network in kvm (debian wheezy 7.2)

I am desperately trying to run untangle 10 as a guest in kvm. My host system is debian 7.2 My problem is that I am unable to configure bridges/(virtual)NICS which are successfully identified by ...
2
votes
0answers
38 views

Virtual Machine failover with KVM [closed]

I'm trying failover of VM's in KVM Linux as a learning program. Scenario: 2 HV Bare metal (2 physical servers) having CentOS with KVM. On both the HV there are multiple web-server with guest ...
0
votes
1answer
21 views

Moving VirtualBox disks to cloud services

Currently, the official way of deploying a custom distribution or different operating system on Linode is installing it locally in a virtual machine and copying the resulting disk verbatim to a Linode ...
2
votes
1answer
567 views

Getting an already installed Android x86 partition to run on KVM

(Originally posted on SuperUser here, but posted here due to lack of responses.) I have Android installed on sda3, and it boots fine when loaded from Grub with the following commands: set root='(hd0,...
5
votes
1answer
2k views

One host, two virtual machines that cannot ping each other. How to solve

We have Virtual Machines operating within the KVM environment. We setup one as a dev server running Apache etc., and the other as a Windows development environment. The two environments are setup ...
0
votes
0answers
23 views

Input/output error when copying Qemu raw image

I'm trying to clone a VM on a CentOS 6 server using virt-clone, but every time I run it I get: ERROR failed reading from file '/var/lib/libvirt/images/myimage.img' : Input/output error I've also ...
0
votes
0answers
20 views

KVM snapshot slow booting after some time

I'm using Red Hat system and using KVM for virtual machines. Currently I have 8 snapshots in my virtual machine called "Win7", where each snapshot is built based on the snapshot before to fix some ...
5
votes
0answers
54 views

How to migrate all the memory pages of a process from one NUMA node to another NUMA node?

In Linux, I want to migrate the memory pages of a KVM virtual machine from one NUMA node to another NUMA node on runtime. But I cannot find any interfaces to do that in the KVM hypervisor or using the ...
0
votes
1answer
44 views

How to make the Windows guest machine use more the one CPU?

I do believe this question has been posted before not only here but on Linux forums as well. However I could not implement the solutions, I am probably missing something obvious. KVM Host: Fedora 23 ...
0
votes
0answers
31 views

Assign Static IP to KVM CentOS Guest.

I am attempting to set up a CentOS(7) guest on my Linux Mint(17.3) system using KVM. My Mint host has a static IP (10.10.16.247) configured already and is currently fully network functional.I have a ...
0
votes
1answer
199 views

Accessing Console Of Ubuntu 16.04 KVM Guest

When I added Debian 8 to my KVM management tool, I found that I could not access the console unless I added console=ttyS0 to the grub boot configuration. It wasn't great but it worked. I am in the ...
1
vote
1answer
53 views

How to avoid the difference in options that were used for creation of ext4 partitions on different Linux distro?

I have some set of scripts that create qcow2 file with grub legacy (0.97) with special patch to boot from ext4 and ext4 file system for '/'. When I run those scripts on Ubuntu 12.04/14.04 the VMs ...
1
vote
0answers
47 views

Use of virtio on QEMU without KVM

I want to write a simple driver for use inside a QEMU virtual machine, which will be communicating with the host through a respective backend special virtual device. The said driver and backend ...
4
votes
3answers
5k views

Install VM from command line with virt-install

Disclaimer : I now use virt-manager to create and manage my VM and it is really a life saver. It can be used remotely if the host does not have graphical display. The occurrences of vnc in the ...
2
votes
1answer
3k views

How to manually configure a monitor in CentOS7, attached via KVM?

I have a fresh desktop install of CentOS7 with Gnome 3. I need to use this machine with a KVM but for some reason CentOS7 cannot detect my monitor through the KVM I have, so it defaults to "Unknown ...
2
votes
0answers
110 views

GPU pass-through KVM Fedora 23

I am attempting to pass a GPU to a windows 10 VM running on a Fedora 23 host: Virt-manager Host: Fedora 23 Guest: Windows 10 64 bit guest UEFI OVMF GPU: R7 AMD Radon 250 is the GPU that I am ...
7
votes
2answers
2k views

Can virtfs/9p be used as root file system?

Is it possible to use a folder shared from the host to the guest via virtfs/9p as the root file system inside the guest? Loosely related to my previous question: Can virtfs/9p be used to share the ...
2
votes
1answer
147 views

Android-x86_64 installer does not boot in QEMU/KVM - EFI Shell appears instead

I downloaded Android x86_64 5.1-rc1 as bootable img installation image. I want to install it to a virtual machine running on Ubuntu 16.04 64 bit with UEFI using QEMU/KVM and virt-manager as graphical ...
0
votes
0answers
177 views

KVM network packet loss to guest

I am running a server with Debian 8.3, uname output Linux x 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux I am using KVM to run a virtual machine with CentOS 7.2....
1
vote
0answers
28 views

Firewalld forwarding between zones not working

I have a centos 7 kvm hypervisor running multiple VMs that are configured to use NAT networking. These VMs run their services, of which ssh is the most important for administration purposes. I would ...
1
vote
1answer
900 views

How does KVM set its own netfilter rules?

I've been poking around with KVM VM's on Centos 6.4 not having an internet connection on my VM's, I found something curious: Upon booting the machine, iptables has rules in the FORWARD chain to allow ...
1
vote
1answer
270 views

Arch linux ( kvm/qemu virtualization ) failed to open libiscsi.so.4

I have fallowed the steps from Arch Linux #KVM and #qemu 1) sudo pacman -S then installed libs libvirt libiscsi libaio qemu qemu-arch-extra qemu-block-iscsi qemu-block-rbd qemu-block-gluster ...
1
vote
0answers
37 views

UUID of LUKS changes when cloned

I am trying to install Centos 7 (under LUKS) on a virtual machine in Fedora 23 using virt-manager and after that to clone that image to multiple USB drives. The problem is that the virtual machine ...
11
votes
6answers
35k views

How to find the IP address of a KVM Virtual Machine, that I can SSH into it?

I have follow this guide (Virtualization With KVM On Ubuntu 11.10) to setup my KVM (Virtual Machines Software) on my Ubuntu 11.10 Server. However, I didn't setup my VM's IP address when creating the ...
2
votes
2answers
918 views

how to check default cache mode for disk in kvm

KVM/qemu support various types of cache - none, writethrough, writeback. How to check which one is default and is used on system when no cache= is specified? For RHEL6 i found that it's writethrough ...
0
votes
0answers
23 views

Which ports to open in ufw for Windows in QEMU

I'm running Windows 7 in QEMU under Debian using bridge-networking. However when i have ufw enabled and start Windows i can not connect to the Internet. As soon as i disable ufw the virtual Windows-...
0
votes
0answers
47 views

CVE-2016-3710 mitigation in CentOS 7

I have a box running CentOS 7 for KVM virtualization purposes. What is proper steps to mitigate CVE-2016-3710 in my OS? $ rpm -qa --changelog qemu | grep CVE-2016-3710 shows nothing. Current ...