Questions tagged [kvm-virtualization]

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, kvm-intel.ko or kvm-amd.ko. KVM also requires a modified QEMU although work is underway to get the required changes upstream.

Filter by
Sorted by
Tagged with
4
votes
3answers
12k views

How to assign multiple public IP-Adresses for 2 KVM-Guests

I am new to this whole topic and I try for days now to figure out how to assign multiple public ip-addresses to KVM-guests through a KVM host. I found tons of examples howto get such a setup with 1 ...
4
votes
5answers
982 views

IOps required to boot a KVM instance

What are the minimum requirements to boot a KVM instance. I want to boot 1000 instances all at the same time and I am using a NAS environment. I want to make sure that I know what the IO requirements ...
4
votes
4answers
7k views

How to add virtual storage as SSD in KVM

Being previously a VirtualBox user, I moved to KVM(QEMU/libvirt or whatever it's called) recently. I know that in VirtualBox, when you add a new storage device to the VM, there is a checkbox labeled ...
4
votes
3answers
3k views

Is KVM stable enough for production use in 2011?

We are planning to virtualize the existing infrastructure by an open source virtualization solution. KVM and Xen are on the final list. Big cloud players are still using Xen, and we found that KVM is ...
4
votes
3answers
9k views

sysctl.conf not running on boot

At what point is sysctl.conf supposed to be read during boot, and why might it not be running? I have the following settings which are not being applied when I reboot: net.bridge.bridge-nf-call-...
4
votes
4answers
2k views

The state of XEN vs KVM for inhouse virtual server farm like live farm

so we have a life server Farm, conventional stuff not virtualized. This is to stay that way for the time beeing. The servers we are talking about are: Loadbalancer, DB master, DB Slaves (2x), ...
4
votes
1answer
22k views

How to convert a raw disk image to a copy-on-write image based on another image for use with kvm and virt-manager?

I have a virtual Windows machine running on kvm. Presently it has a 90GB raw disk image. I would like to clone this VM without having to keep two copies of the 90GB raw disk image around. It seems ...
4
votes
2answers
2k views

Limit disk I/O one program creates?

Hardware: one virtualization server. Dual Nehalem, 24GB RAM, 2 TB mirrored HD. Software: Debian, KVM, virt-manager on the server with several virtual machines that use Linux too. 2 TB Disk is a big ...
4
votes
1answer
5k views

KVM Live or Near-Live Migration from LVM to filesystem backend

My guest machine has 2 partitions (80GB + 1TB). Both of them is on LVM. I want to transfer all disks to another machine with minimum downtime. I transferred another machine with nc. It takes 4 days ...
4
votes
2answers
10k views

Extremely slow qemu storage performance with qcow2 images

I'm running some images using libvirt on a small Openstack cluster. Storage performance on these machines is extremely poor: my monitoring tool shows 100% utilisation (usually on writes but sometimes ...
4
votes
1answer
11k views

error: unknown OS type hvm - help deploying VM - OpenNebula [closed]

I have the following errors when I try to create a VM: Log: Tue Mar 12 16:57:23 2013 [DiM][I]: New VM state is ACTIVE. Tue Mar 12 16:57:23 2013 [LCM][I]: New VM state is PROLOG. Tue Mar 12 16:57:23 ...
4
votes
4answers
22k views

How to migrate a physical system to a KVM virtual server with only network access?

I have an obsolete linux app-server running which I would like to migrate to a KVM virtual server with greater specifications. I do not have physical access to the machine itself or its harddisks. I ...
4
votes
1answer
8k views

Libvirt: Can't shutdown or reboot virtual guest

I can't reboot or shutdown the guest vm from the host machine virsh -c qemu:///system reboot vm1 Domain vm1 is being rebooted After executing this, nothing happens. The guest vm keeps working. ...
4
votes
1answer
1k views

shutdown kvm-guests without libvirt/virsh

We use kvm on ubuntu 10.4 as virtualisation-solution (we have bash-scripted the whole networking, subneting, starting of vms..... Is there a way to shutdown a kvm-guest without the usage of libvirt/...
4
votes
1answer
7k views

Bandwidth monitoring on KVM

Is it possible to monitor/limit bandwidth for KVM guests? I'd like to give people VMs on my server but I want to be careful not to go over my monthly bandwidth limit. The only places I can find that ...
4
votes
2answers
6k views

How to export a specific virtualbox snapshot as a raw disk image

I created a Linux appliance for my friends. It's a small Ubuntu installation with Trac, lighthttp and ufw configured. I made it using VirtualBox. Now I want to export the latest snapshot version ...
4
votes
1answer
1k views

IPv6 connectivity lost on KVM guest after 20 minutes

I have a KVM virtualization server setup at Hetzner. Hetzner provides me with a master IP (95.xxx.xxx.235) and a /29 IPv4 subnet (95.xxx.xxx.184/29) and a /64 IPv6 network (2a01:xxxx:xxxx:xxxx::/64). ...
4
votes
4answers
596 views

How to create a environment where each user's vm is isolated

I want to know if it is possible to create a multi user environment using KVM libvirt that is each user can create there own vm but that must not be accessible by others saw this Multiuser use of virt-...
4
votes
3answers
4k views

Restrict access to KVM virtual machines to specific users

On my server I have a KVM virtual machine called "cards2". It was created by executing (as root): # virt-install --connect qemu:///system --virt-type kvm --name cards2 --ram 2048 --disk /var/kvm/...
4
votes
1answer
18k views

How to configure and use qemu-guest-agent in Ubuntu 12.04? My main aim is to get the IP address of guest VM from Host machine

In the documentation it is not very clear that how to install and use qemu-guest-agent in Ubuntu 12.04. So can anyone help me out ? http://wiki.libvirt.org/page/Qemu_guest_agent It is a daemon ...
4
votes
1answer
3k views

Is OpenStack live migration possible without shared storage?

Like many people I am considering creating 'private cloud' using either OpenStack or VMware. VMware vMotion has a nice feature which allows Live Migration of VMs even without shared storage. I have ...
4
votes
4answers
11k views

How to detect hypervisor host name/IP from inside a KVM virtual machine?

We have a small fleet of KVM/libvirt hosts with a few hundred virtual machines on it, managed by a group of sysadmins in disparate locations. I've run into a problem where I am connected to a virtual ...
4
votes
1answer
6k views

Virtmanager connection via custom SSH command?

I'd like to use virt-manager to manage my libvirt/kvm virtual machines running on a remote host, but the method I use to ssh into that host it a bit complicated. I need to use custom ports along with ...
4
votes
1answer
3k views

How can I run Startup Repair on a KVM virtualized Windows Server?

I have Windows Server 2008 R2 running virtualized in a KVM virtual machine. Recently the virtual machine decided to stop booting, and it offered to Launch Startup Repair. However, upon entering ...
4
votes
1answer
5k views

KVM second private network (bridged), how to get working?

this seems to be a hard problem. I would therefore be very thankfull for your advice. I spend two days trying to get this running, but with no success. (The Public IP Stuff is working, but not the ...
4
votes
5answers
14k views

where are kvm-snapshots stored?

I run several VM's on KVM/ubuntu, which all get started with the -snapshot parameter (the VM's only compute several things which can be destroyed after reboot). Out of the docs I've read, the changes ...
4
votes
4answers
7k views

KVM + LVM: Where to put LVM?

Hy, I'm currently setting up a new Server using libvirt+kvm. Afterwards there should be about 5 virtual-machines on this server running (+some testing machines). The storage is put on a raid-5 device ...
4
votes
2answers
5k views

How to create a qcow2 file that is not thin provisioned?

When I do the below then the qcow2 file is less than 200KB. # qemu-img create -f qcow2 /var/lib/libvirt/images/urb-dat0.qcow2 10G # du -hsc /var/lib/libvirt/images/urb-dat0.qcow2 196K /var/lib/...
4
votes
2answers
624 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 ...
4
votes
1answer
3k views

How to place a virtual machine in DMZ?

I have an Ubuntu 12.04 server running few virtual machines with KVM. I would like to expose some of these virtual machines on the internet, to make it possible for customers to test the products we'...
4
votes
1answer
22k views

How to increase video memory in libvirt/KVM gui?

In the 'Virtual Hardware details', it lists the model as 'cirrus' with 9MB of RAM. The RAM field cannot be changed, but how to increate the video RAM? My host OS is RH6 and gust OS is Fedora16. EDIT: ...
4
votes
3answers
2k views

Cloning a guest KVM instance with with a new IP address

I had an Ubuntu 10.4 VM running on another Ubuntu KVM host. I'd like to clone this VM but with a new IP address? I know that I would have to stop my VM, clone it, somehow give it a new IP address and ...
4
votes
2answers
1k views

What monitoring solution for servers, databases and web applications ? Nagios or Hyperic? [duplicate]

For the purpose of a startup, I have a loan for one physical dedicated server with several virtual machines inside it For now there is mainly 2 VM on this server: VM "tools", using ubuntu server 10....
4
votes
2answers
3k views

Running KVM/XEN/Hyper-V VMs from a RAM disk, is this possible? Practical?

Currently I'm using ESX (v3 and v4) to test a scripted OS (Windows 2003) and application install DVD. The DVD ISO (8GB) is mounted on a 1Gbps NFS datastore and the VMDK's (20GB) are on an SSD mounted ...
4
votes
4answers
5k views

Ubuntu Clustered KVM's

I'd like to set up three virtualized server on one box running Ubuntu KVM. I'd also like to have a second machine mirroring the above mentioned on a cluster so that if the first machine physically ...
4
votes
1answer
132 views

HA configuration for KVM machines installed on shared iSCSI storage

My requirement is to provide HA to a Zimbra Server. We want Zimbra files to be installed in a Netapp SAN which is providing around 5.7 TB as a SAN iSCI Drive. Since Netapp comes in with Dual ...
4
votes
1answer
1k views

systemd bridge for VM + multiple static IPs

I have a Ubuntu 18.04 server with 3 public IPs. The main IP is already preconfigured. I would like to configure IP2 and IP3. IP2 is to be used for a SSL domain and IP3 for a virtual machine (qemu ...
4
votes
1answer
9k views

KVM gets stuck at “Booting from hard disk”

I am trying to run Ubuntu-server-16.04 virtual machine on a KVM converted from .vhdx (Hyper-V) to .qcow2 (KVM). When I import my virtual disk image and start virtual machine, the KVM hangs on "...
4
votes
1answer
3k views

Are CPU microcode updates always ignored by Hypervisors?

Question I know that Vmware hypervisors at least have a setting to ignore CPU microcode updates from within the guest OS (no surprise). CPU microcode update available. The guest OS tried to ...
4
votes
3answers
3k views

How can I keep important VMs in memory without disabling swap?

VM Host -> Xenon E5-2440 w/ 48G mem... Everything runs CentOS6.5 (2.6.32-431) I have 4 guest VMs running each w/ 2G of memory. Their disk images are local files. The host machine is also running a ...
4
votes
1answer
3k views

KVM: Run a script when a guest is shutdown from within?

I am running KVM as virtualization engine. Is there a way to make QEMU/libvirt run a script on the host when a guest is shutdown from within (shutdown -h now)? I want to be able to run some custom ...
4
votes
4answers
5k views

DRBD & KVM replication is possible?

i have two KVM servers with some virtual machines. Server (A) KVM with qcow2 images Server (B) KVM mount NFS for partiton (with qcow2 images present on server A). My question is simple, what is the ...
4
votes
2answers
3k views

Does Proxmox VE Support LVM as block storage for KVM guests?

Does Proxmox VE Support LVM as block storage for KVM guests to avoid the overhead of going through the filesystem layer on the host system ?
4
votes
1answer
3k views

KVM and bridge_stp setting

In which situation one should enable the bridge_stp for the host bridge when using KVM? Is it worth keeping it disabled when not needed?
4
votes
2answers
663 views

Ganeti KVM settings

When I have played with KVM using libvirtd/virsh, I disabled section in libvirt's xml configs for VMs an this gives me CPU usage from 7-8% in idle mode per VM to 1-2% for windows guests. This was a ...
4
votes
2answers
16k views

What is the correct way to setup a bonded bridge on Centos 6 for KVM guests?

What is the correct way to setup a bonded bridge on Centos 6 for KVM guests? I'd currently playing around with a setup of two KVM-hosts which will each host several guests. I have two HP DL380:s with ...
4
votes
2answers
8k views

No ARP reply on tap0 (KVM bridged networking)

I wanted to assign an external IP address to my KVM guest and went the bridged networking way. Unfortunately the guest has no network connectivity and I don't know why. After investigating it seems ...
4
votes
1answer
10k views

virt-manager Spice copy paste doesn't work

I have a Debian 9 KVM host runs on a dedicated server. I use virt-manager on my laptop (Ubuntu 16.04) to connect it remotely. Everything works quite well except copy/paste actions between VM's SPICE ...
4
votes
2answers
758 views

Virtualization limits for Ubuntu Server 14.04 LTS with KVM?

Essentially I'm after something like this: Virtualization limits for Red Hat Enterprise Linux with KVM but for Ubuntu Server 14.04 LTS. I'm trying to create some KVM guests with very large 1TB+ RAM ...
4
votes
3answers
19k views

proxmox KVM routed network with multiple public IPs

I have a dedicated hosting with hetzner. Additionally i have bought a 6IP subnet. My main IP is: 148.111.111.200 My main subnet is: 255.255.255.224 My additional IPs are 148.222.222.1 to 148.222.222....

1
3 4
5
6 7
41