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
2answers
175 views

How to install a guest OS in a minimal installation of Centos using KVM?

KVM newbie here, so be tolerant plz. I am trying to install a guest OS in a minimal installation of Centos7. I've been looking for tutorials around the web but all seem to be using a graphical host ...
0
votes
0answers
11 views

KVM Error While Deploying Existing Image

I have KVM running with 2 VM's. I tried backing up one of the images by copying it and then deploying using virtual machine manager using that existing image, that fired up fine. Now the second backup ...
0
votes
1answer
93 views

Expanding/Growing OCFS2 forever

I have a kvm environment where a shared disk mounted by 2 VMs through rbd ceph. What I would like to know that in the future how is it possible to expand OCFS2 filesystem what I planning to use on top ...
0
votes
2answers
236 views

qemu-kvm take 100% cpu during start Win 7

I have Centos 6 with qemu-kvm version: qemu-kvm.x86_64 2:0.12.1.2-2.448.el6_6.4 On Dell Precision with 2x Xeon 5110 When I run VM qemu-kvm process take 100% of CPU and starting Windows on ...
1
vote
0answers
156 views

XFS/EXT4: Why is actual file size on disk larger than apparent size? Clarification

On a CentOS 7.1.1503 (3.10.0-229.el7.x86_64) system running KVM/qemu on an XFS filesystem, I'm attempting to work out what specifically is adding additional space to a VM diskimage file. $ ls -ls ...
0
votes
2answers
403 views

Installing Windows on KVM with LVM disk

I am trying to install a windows server 2012 on a KVM. The host system is Ubuntu Server 14.04. I would like to use a logical volume, say /dev/VG/win, as main device for the guest system. However, the ...
0
votes
1answer
54 views

KVM guest static ip with ports forwarded to another guest

Im on host-machine with Centos 7 and 2 guests on Centos 6.6. I want one of my guests have static external ip but some his ports must be routed to another guest. On host machine I do: iptables -t nat ...
0
votes
1answer
39 views

Proper iptables rules to allow Guests network connection

I have a KVM running on Ubuntu 14.04 with a few guests (mostly CentOS7) behind NAT configuration. It seems the guests can't reach the internet connection if the following firewall rules are activated ...
0
votes
1answer
143 views

KVM TFTP Boot / WDS

I installed all my Chef Infrastructure, PXE install of my Linux VM's, Preseed/Kickstart, etc. via KVM on my local server (Host OS is Debian 8). Installing a new Linux VM is a piece of cake with that ...
0
votes
1answer
185 views

Remote desktop connection to kvm virtual machine starts working after vnc-logon?

I am running a Windows XP on kvm inside my debian system. Everything runs smoothly and I can connect via VNC as well as via Remote Desktop. VNC connection is naturally supported right from boot up ...
1
vote
1answer
60 views

Multiple public IPs routed via Cisco ASA to Proxmox VMs

I have a network with IP 199.221.2.136 (/29). I would like the Cisco ASA5505 [1] to work on .137 as router and use two public IPs (.138 and .139) on two VMs on a Proxmox server. Not sure how to route ...
0
votes
2answers
120 views

IP conflict on a KVM bridge network connection

We're running a CentOS 7 server, with KVM installed on top of it, and the host has 2 Ethernet interfaces attached to it (em1 and em2). A new windows 7 VM was just created, and we wanted that specific ...
0
votes
0answers
263 views

How to use vhost-scsi with Intel P3700 NVME SSD in KVM

I am using proxmox beta 4 in my HP DL 380 server with KVM. I configured Intel P3700 NVME - nvme0n1 as Virtio and on windows server 2008 r2 with virtio-scsi driver. I am getting 100 K random IOPS ...
0
votes
2answers
129 views

Shared filesystem between KVMs

If I want to have shared fs between multiple kvm machines what is the best way to go when I'm already using ceph. I accessing my kvm disks directly through rbd devices but with ext4 on top of this ...
0
votes
0answers
13 views

Determining what type of virtualisation used on VPS/VDS? [duplicate]

I bought VPS/VDS and want to know what virtualization used. I have a root prompt in Debian Linux.
4
votes
2answers
131 views

KVM host won't use memory for caching

I have a KVM host (Linux 3.14.32) running 8 virtual machines. They are overprovisioned (memory allocated for them is greater than available physical memory on the host). However they consume only ...
0
votes
0answers
153 views

Host cpu association with numa node not reflected in guest

In host NUMA node 0 has cpus 0-7 and 16-23 NUMA node 1 has cpus 8-15 and 24-31 But in guest NUMA node 0 has cpus 0-7 and 16-31 NUMA node 1 has cpus 8-15 only My Question is why NUMA node cpu ...
0
votes
1answer
114 views

Installed KVM, but Virtual Machine Manager says localhost(QEMU)

My understanding is that KVM uses the CPU virtualization properties and is much faster than QEMU, which is emulation. I used the Virtual Machine Manager to create the virtual machine. I am nearly ...
1
vote
1answer
22 views

Checking for disk failures and issues in a VM

If you host with a provider who runs a RAID 10 or another RAID based system and your in a VM. Are you able to check for disk failures or RAID failures from within the VM or does it require host based ...
-2
votes
1answer
20 views

RHEL6 undo virtual client rhel6 [closed]

I am running rhel6 on my laptop. I was playing with the Open Client Go Virtual and accidently installed a KVM image of RHEL6. It runs the full virtual machine. I want to unregister, delete and reclaim ...
2
votes
1answer
62 views

KVM fastest network between 2 guests

I wonder if there is any way to speed up the network communication between 2 KVM guests on the same physical machine. Would that help at all if I would configure a separate bridge network for just ...
1
vote
0answers
105 views

Set custom cpu string for qemu/kvm

I have some virtual machines with software, which licensing check depends on cpu string. They're running on kvm - with default cpu string value - which is QEMU Virtual CPU version 1.7.1 After ...
3
votes
1answer
71 views

ganeti network: change bridge name

I try to add an instance to network, first first I need to connect the network to a bridge. I'm using bridge vbr0 instead of standard xen-br0, gnt-cluster info shows that ganeti has the default set ...
0
votes
0answers
355 views

virsh shutdown not working on linux guest

Solution to this issue is usually installing acpi on the guest vm and making sure the vm has the following: <features> <acpi/> <apic/> <pae/> </features> I have that, ...
0
votes
1answer
199 views

Import a vm image to a new host machine with virt-manager

I need to recover a guest machine with Windows 2003 on a new host server on Centos 7 with virt-manager. I've shut down a guest machine and simply copied its .img file from /var/lib/libvirt/images. ...
0
votes
2answers
125 views

Iptables on Centos 7 doesn't work after reboot

I am on Centos 7, removed the new firewall and installed a classic iptables service. I have a guest machine in it with Debian 8.1 and static external ip. I do: echo 1 > ...
0
votes
2answers
1k views

Exporting libvirt+KVM virtual machines to files

I am going to retire an old libvirt + KVM server, but I need to preserve the VMs. Unfortunately, the network is down and I cannot create connections to the system. Is there any way to export the VMs ...
2
votes
2answers
500 views

KVM Virtual Server Disk Resize on Ubuntu with GParted

We have Ubuntu 14.04 server on KVM with MySQL database which is just close to fill its disk space, which is 80 GB. We have upgraded the server to 160 GB disk, but the problem is that the new disk ...
0
votes
0answers
27 views

No package transfer from host to guest on KVM

I want to assign external static IPs to my KVM guests. I do not prefer a NAT solution. What should be the configuration of network and routing tables? I manually assing a static IP to guest. I can ...
0
votes
2answers
32 views

Can libvirtd be used without kvm?

I wanted to try libvirtd with virt-manager (I wanted to test migration.) on a virtual machine (without nested virtualization support enabled, so no kvm...), and I expected it to work (and use full ...
1
vote
1answer
178 views

Extend KVM Volume

I have this setup on KVM Host: virsh # pool-info --pool pool Name: pool UUID: bb13c37c-47fe-c4a9-78a4-9c8abc7524fe State: running Persistent: yes Autostart: yes ...
6
votes
1answer
65 views

Prevent hijacking IPs in KVM/libvirt

How can I prevent a VM user/client from accessing IP addresses he doesn't own but are routed over the same bridge on KVM/Libvirt? IP addresses are routed to a cisco switch vLan consisting of a /24 ...
0
votes
0answers
238 views

Is it possible to passthrough a USB-hub and its devices to a libvirt guest?

Since I am having multiple devices in a libvirt/qemu Windows 8.1 guest I need to plug in and out rather often, I am wondering if it is possible to make life a bit easier. Is it possible to pass ...
0
votes
1answer
71 views

Open VPN and Virtual machines

This is my environment: centos 7 running Gnome with KVM two virtual machines running centos 7 Gnome desktop This is what I would like: Users to log into the any virtual machine from either the ...
0
votes
1answer
239 views

Remote Desktop to KVM Virtual Machine on Centos 7

I have a virtual machine created on centos7. I want to remote connect to it via another computer besides the host. I can not seem find how to access it. I have it set up with a username and password. ...
0
votes
0answers
32 views

KVM Virtual Machines and Public IPs

I currently have some Virtual Machines on my business dedicated server using the KVM layer as apposed to Xen or other virtualization methods. I was wondering if I could get a "best practice" on ...
3
votes
1answer
81 views

How to make sure qemu-img resize does not lose data?

I'm trying to understand how qemu-img resize shrinks the virtual disk. Let's say qemu-img info shows that the virtual size is 20G, and the disk size is only 1G. Now I want to shrink the disk from 20G ...
1
vote
1answer
665 views

Centos 7 public static IP address for a KVM guest

I am on Centos 7 with KVM and virt-manager installed. I have a virtual (guest) machine with Debian 8.1 on it. Network on guest was configured with virt-manages using NAT (with default settings). So ...
0
votes
0answers
147 views

Two NICs for one KVM guest

I deleted an old KVM guest and now have a spare IP address. I now assigned this (previously working!) IP address to another KVM guest, like so: virsh # attach-interface my-guest bridge br0 vnet1 ...
0
votes
1answer
126 views

virsh adding x2apic, cache specific options to kvm config

Anybody know the syntax how to add +x2apic to the virtual machines xml files when I edit them with "virsh edit vm"? From the command line it would be starting with this flag: qemu -cpu ...
2
votes
1answer
624 views

QEMU multiple port forwarding

I would like to forward more than one port. This command run my VM and forwards RDP port successfully: qemu-system-i386 -net nic,model=rtl8139 -net user,hostfwd=tcp::3389-:3389 -m 512M -localtime ...
0
votes
0answers
18 views

Migration from kvm to xen [duplicate]

It is possible to migrate the instance from kvm to xen hypervisor, being migration from full virtualization to paravirtualization , is it possibile.
1
vote
1answer
291 views

virsh: error loading shared libraries: libyajl.so.2 is missing

I just tried to setup some KVMs on RHEL7. My procedure was: yum install qemu-kvm qemu-img yum install virt-install libvirt libvirt-client libvirt-client The I tried out virsh list --all to ...
3
votes
2answers
4k views

Install windows 2012 R2 over KVM-virtualizaton

I'm trying to install Windows Server 2012 R2 over linux KVM-virtualization. The installation process stops and requires drivers to continue. I'm trying with virtio drivers from fedora but doesn't ...
1
vote
1answer
57 views

Is it possible to install virt manager in client mode?

I have a KVM server (updated to Ubuntu 14.04) for several years now, that I handle distantly with virt-manager under different Linux flavours. I recently formatted and reinstalled my main workstation ...
0
votes
2answers
73 views

KVM debian wheezy packages with ceph support

Does anybody know any packages out there for kvm which are compiled with RBD support? I have these installed right now: ii kvm 1:1.1.2+dfsg-6+deb7u8 amd64 ...
-2
votes
1answer
179 views

How do i find the overcommit ratio for CPU on a KVM host or for that matter on any hypervisor?

I have a host and I have installed KVM on it.Now I need to know how much overcommiting of resources it allows, CPU, memory. Is there some command to get the ratios or it all exists in theory and no ...
0
votes
0answers
39 views

How to prevent virt-viewer from asking a password

I am aware of what file I need to create, in order to prevent virt-manager from prompting me for a password. However, I'd like to create a shortcut on my desktop that opens directly the virtual image ...
3
votes
0answers
481 views

QEMU USB passthrough is not working

I stuck at getting USB passthrough working with Windows 8.1 guest OS on Ubuntu Server 14.04. I started by installing qemu using the Ubuntu Documentation (https://help.ubuntu.com/community/KVM). The ...
-2
votes
1answer
62 views

How to edit the XML config file of a domain with virsh? [closed]

How to easily edit the XML config file of a domain with virsh?