KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V). It consists of a loadable kernel module, kvm.ko, that provides the core virtualization infrastructure and a processor specific module, ...

learn more… | top users | synonyms (3)

0
votes
0answers
15 views

linux bridge with vlans

I have a couple servers that I need to use lacp on that would hook in to the bridge for kvm to tap off of. I need to split out several vlans from there. my cisco switch has 2 ports set to trunk ...
0
votes
0answers
10 views

Unable to access VM after DHCPACK libvirt

The installation of a particular software makes my VM lose its connectivity. The point where it hangs is 2016-04-05 16:49:11.996 | Listening on LPF/o-hm0/fa:16:3e:b2:43:4c 2016-04-05 ...
0
votes
0answers
12 views

How to make live snapshot in qemu?

I have two live qemu virtual-machines with KVM support(-enable-kvm) in daemonized mode(-daemonize). I don't use libvirt. One of those virtual-machines use virtual HDD in qcow2 file-format and another ...
0
votes
0answers
31 views

KVM/libvirt: Using virtio disk driver in Debian installer

I try to install Debian in a KVM-based VM using the virtio disk driver/bus and virt-install to run the installer. However, it seems that the installer lacks the virtio driver. Once I switch to ...
0
votes
0answers
18 views

NFS client latency spikes on KVM host machine

We run a small OpenStack environment with KVM hypervisors and shared NFS storage. The problem is: guest KVM machines' CPU usage spikes make NFS client latency grow. For example: same NFS volume ...
0
votes
1answer
42 views

how to connect kvm virtual machines directly to external IP's

I know this question was asked here and there but no answer works for me. After hours of googling I can't figure it out. I have Ubuntu 14 server and I need to make few virtual servers - I want ...
0
votes
0answers
10 views

Ubuntu KVM host

I got a default installation of Ubuntu 14.04 on my lab-pc and wanted to run a few VMs there using the virtual machine manager. I followed the official ubuntu docs and actually everything seems to be ...
0
votes
1answer
101 views

Difference between qemu-kvm, qemu-system-x86_64, qemu-x86_64

For new features, I recently updated qemu-kvm 1.5.3 to qemu 2.5.0, but I saw several qemu binaries, /usr/local/bin/qemu-x86_64 and /usr/local/bin/qemu-system-x86_64. It seems qemu-system-x86_64 is the ...
1
vote
1answer
33 views

Recovering KVM VMs when booting from mirrored host OS

Im running KVM on a Ubunutu 14.05 server. The server has 2 1.2TB drives which will each have 1 VM (elastic search nodes). I did a dd to clone the main OS and can boot from either disk without issue. ...
0
votes
0answers
993 views

Using NAT in qemu

I have used Qemu to install a windows xp guest. The command I run is qemu -m 2048 -gda winxp64.img \ -boot d -usbdevice tablet \ -enable-kvm -vnc :10 \ -netdev user,id=network0 -device ...
2
votes
0answers
72 views

Linux swap partition not mounted by systemd on boot after dist-upgrade

Recently, I performed a dist-upgrade from Debian Wheezy to Jessie. The upgrade was performed without any error but after the upgrade the swap partition was no longer mounted/activated. The mentioned ...
0
votes
2answers
35 views

Can't create KVM virtual machine with same name after initial failed attempt

I am running on an CentOS server. I first created a KVM machine for an Ubuntu VM, but something didn't go right (I couldn't connect to the VNC session) so I aborted it. There was a warning on the ...
0
votes
0answers
34 views

CentO7 multiple TCP port forwarding entries, does not allow certain ports

I have CentOS7 KVM setup that is using TCP port forwarding to forward SSH sessions to three guests running behind a NAT virtual bridge. This is the setup i'm looking establish 2020 -> ...
0
votes
1answer
42 views

Max number of KVM guests in Centos host

On this page, Redhat state that RHEL 5, 6 & 7 are all limited to a maximum of 4 concurrently running KVM guests. Other products that they offer, such as "Red Hat Enterprise Virtualization", do ...
1
vote
1answer
62 views

CentOS 7.2.1511 libvirt firewall configuration

I have a few CentOS7 setups in which I use iptables to forward ports from host to guests. Recently, i updated to 7.2.1511 and it seems libvirt insists firewalld to be active vs using iptables command ...
0
votes
0answers
8 views

How to determine that virt-install successfully installs an OS?

I run without --noautoconsole . When virt-install end the work? I want to get information from virt-install that OS installed. Can I enable VNC and serial console together?
0
votes
2answers
42 views

virsh qemu kvm editing xml has no effect

When I try to add a network section to a kvm/qemu xml, the xml wont update with the information. When I edit the uuid, or make a mistake, i get an error. if i change the memory amount, it reverts to ...
0
votes
0answers
8 views

libvirt-Can I use 'virsh save' this command only get 'vm physical memory'?

I use 'virsh save ' to create an image,but I only want to get 'vm physical memory'.I don't know how to do it now.If you know the answer please tell me.Thanks!
0
votes
1answer
87 views

Ubuntu preseed static IP configuration (virt-install)

I want to create Ubuntu 14.04 VM with virt-install and preseed configuration. I have provided: d-i netcfg/enable boolean true d-i netcfg/choose_interface select auto d-i netcfg/disable_dhcp boolean ...
-1
votes
1answer
25 views

Modifying qemu without screwing up my current install

I currently have kvm installed on my Debian laptop: kvm --version QEMU emulator version 2.1.2 (Debian 1:2.1+dfsg-12+deb8u5a), I want to modify it to supported nested virtualization (ESXi VMs). ...
0
votes
0answers
19 views

kvm host refuses to shutdown when guests are suspended

I've been able to do this before but now all the sudden when I suspend the guests on my Debian kvm host and then shutdown the host it hangs with "a job is running for suspend active libvirt guests" ...
0
votes
0answers
48 views

Proxmox-Server reboots sporadically

I just mentioned that my proxmox-system is rebooting from time to time when performing backup-tasks (bacula, not the proxmox-backup-system). The logs are showing the following: Mar 8 02:30:01 ...
0
votes
0answers
18 views

how to change or modify libvirt xml domain definition?

first of all excuse my bad english. I would like to know if it is possible to modify default xml domain definition location (/etc/libvirt/qemu). I would like to change this default path. tanks your ...
1
vote
1answer
18 views

Creating libvirt “mcast” networks using virt-install?

I would like to create virtual machines with mast network interfaces. This is possible to by first creating a guest using virt-install, then modifying the domain XML. Is there a way to do this from ...
1
vote
1answer
67 views

What are the steps to export a VM from KVM to ESXi?

I want to be able to export a KVM based VM to an ESXi 5.1/5.5 host. My current methods ends up with the VM not being able to boot on the ESXi host. (I have tried importing the same .ova on VirtualBox ...
0
votes
0answers
16 views

How to set up vm delay start when KVM host boot? [duplicate]

I have a KVM host server and running 6 VMs on it. When the server recovers from power failure, all the VMs always autostart at the very same time. I want to autostart one by one, preferably the ...
0
votes
3answers
72 views

Assigning multiple IPs to the same machine with one interface

I have a server with a single physical interface eth0. I intend on running VMs on this server. To that end I have an IPv4 block which is routed to said server. What I'm trying to achieve is to spin-up ...
0
votes
1answer
51 views

Win7 KVM guest with Virtio network driver can't connect to network

I have a ubuntu 15 and KVM. I have an XP guest that appears to basically work. I then set up a Win7 64 bit guest. It would not connect to the LAN. Then I found out about virtio drivers. I ...
2
votes
1answer
59 views

How can I reconfigure a Linux guest in Proxmox to use a virtio-based HDD instead of IDE?

I'm running Proxmox 3.3.1 to host a virtual machine running Linux (64bit, kernel version 3.2.0). The virtual machine uses a 512GB HDD which was unfortunately configured to use the ide driver when ...
0
votes
1answer
163 views

Unable to install Fedora 23 in VM using KVM on Linux Mint 17.2

I'm unable to install Fedora-Live-Workstation-x86_64-23-10.iso into a QEMU virtual machine using virt-manager on Linux Mint 17.2. I've verified that the SHA256 checksum on the ISO is correct. I can ...
2
votes
1answer
207 views

KVM / QEMU: connect to VM without GUI [closed]

Short Version (Solution is below): I have a Windows PC. I have a Debian server (without desktop environment). I have a Ubuntu VM running on Debian server via KVM/QEMU. Question: How can I connect to ...
0
votes
2answers
45 views

How to tell which disk files a KVM guest is using?

I have an Ubuntu guest running under KVM that has several partitions of the same size, each using different virtio RAW disk files on the host. How do I tell which partition on the guest is using ...
1
vote
1answer
63 views

virsh net-define for CoreOS cluster

I have a kvm/qemu/libvirt host with several VMs running happily on br0 with IP addresses that are in the same network as the host they run inside, 192.168.10.0/24. So I'm playing with CoreOS and ...
0
votes
1answer
75 views

Cloning Windows 2012 R2 domain controllers with KVM

Virtual domain controller cloning is a new feature from Windows Server 2012 that I use because it's a very useful and simple way to add additional domain controllers to an Active Directory domain. ...
2
votes
0answers
147 views

tuning tips for CPU load for OpenBSD guest on qemu-kvm Server

I have a CentOS KVM Server running 1 OpenBSD, 1 CentOS and 2 FreeBSD guests. Only the openBSD guest has a higher CPU load on the KVM Server. 8-10% on Server whilst Guest is at idle. The only service ...
0
votes
0answers
62 views

Libvirt & USB Hub Passthrough

I have a virtual machine which I wish to have a USB Hub and all of its devices allocated to a virtual machine. The Hub in question is a USB hub which itself is plugged into one of the ports on the ...
2
votes
1answer
35 views

iptables: add routing for internal guests and port forwarding [closed]

I have the following rules working fine - before I added a private network with a single VM (which can ping all machines on the host but not the outside). I want the VM (192.168.100.2) to reach the ...
0
votes
1answer
34 views

Creating a new domain in libvirt from a base domain

TL;DR at bottom I am building a web interface for libvirt as a project. I am using libvirt-php as the language binding to libvirt and everything is working, except for domain creation, sort of. The ...
0
votes
0answers
37 views

KVM is there a way to map physical memory to host. Like Xen mapping to Dom0

Been looking for an answer to this for a while. I am switching over from Xen virtualisation to KVM, and have been reading about KVM's ability to overcommit memory. I was wondering if anyone can help ...
0
votes
0answers
38 views

Turn off output/force DPMS on unloaded GPU without driver

I'm running a KVM VGA Passthrough VM on my desktop, passing it my dedicated GPU. This VM does not automatically start as I don't always need it. When the VM isn't running, my desktop doesn't touch the ...
0
votes
1answer
35 views

same libvirt config, one machine boots, the other does not

I am migrating a bunch of vms from an old machine to a new one. The old one was using some in-house scripts and lvm logical volumes, the new one uses libvirt and plain files. The configs are rather ...
1
vote
2answers
187 views

Installing VirtIO SCSI on Windows Guest fails

I'm running Windows 10 as guest via KVM / qemu. Unfortunately, Windows doesn't recognize the fedora virtio drivers I want to install for better HDD perfomance. The driver itself does show up, but ...
0
votes
0answers
42 views

NATted host cannot talk to itself unless virbr0 is in promiscuous mode

We have the following situation: A hypervisor using KVM-Qemu/libvirt with a single VM. The VM has the internal IP 192.168.122.151 on the default network pool using virbr0 on the hypervisor. We've ...
0
votes
0answers
30 views

Migrate Virtual Machine from KVM to Xen

I'm trying to migrate a Virtual Machine from Qemu KVM to Xen Hypervisor 4.1, but have problems with it. What is the best and simplest way to do it? What I've done so far: I have installed ...
20
votes
2answers
3k views

Very strange file size (more than 600 PB) on a small filesystem

I had a file on an XFS filesystem which size was about 200 GB. It was a QCOW2 image containing a virtual disk of a KVM-driven virtual machine. Something went wrong (maybe it was some glitch of ...
0
votes
1answer
45 views

How to create virtual networks by using libvirt?

I have installed qemu/kvm and have tried to create some virtual machines and network them together. What I would like to achieve is 2-3 virtual machines in their own private network (e.g. ...
0
votes
0answers
19 views

Do I need acpid daemon in virtualization guest?

I get VPS with KVM virtualisation (server for hosting services). I remove most of desktop services (like dbus, consolekit, xorg) because of security and stability concern. Guest run on virtualised ...
0
votes
0answers
19 views

Add new subnets to KVM Host

I need to assign a handful of /27 subnets to my KVM host node (Centos 6). I routed them correctly at the Cisco switch, so that's all go. Traceroute & ping works fine on gateway on each subnet, ...
1
vote
0answers
29 views

How to do remote calls from server A to B to create virtual machines

This is my first question on serverfault so I hope I'm doing this right as I'm usually on Stackoverflow :-) I have two Ubuntu 14.04 LTS servers, server A and B. Server A runs the web server where ...
0
votes
0answers
70 views

Hardware raid, LVM and KVM cache policy

I have a question about right cache policy for KVM using LVM and hardware raid-controller. So from the bottom: 1. We have LSI RAID controller 9260, 512Mb cache and BBU. Later we also will have ...