3
votes
2answers
43 views

Migrating physical machine to KVM

I have a fairly old debian machine that I need to migrate to KVM-Qemu. What I started is to make a tarball of the root filesystem: tar -cpf rootfs.tar --exclude='dev/*' --exclude='proc/*' ...
0
votes
1answer
31 views

How to start a new instance of QEMU based on the same image and snapshot?

I have a QEMU image (qcow2) with a snapshot stored in it. Right now I'm using libvirt to start it. However, I want to be able to run more than one instance of the same image+snapshot. I guess I can ...
0
votes
0answers
36 views

Windows 2003 server on KVM. Device manager shows error for processor. What CPU should I emulate?

I have moved a Windows Server 2003 VM from VMware to KVM running on Ubuntu 14.04 LTS. It's working very well. The only thing that is not perfect is that Device Manager on the Windows guest shows the ...
0
votes
1answer
26 views

List all devices emulated for a VM

I have created a VM with the below command in qemu . (KVM enabled) #qemu-kvm -m 1024 -enable-kvm -hda /var/lib/libvirt/images/fedora.img NOW, VM is launched. I would like to know the exact devices ...
1
vote
1answer
85 views

Bridging is breaking the server: KVM configuration

I'm pretty new to networking and just can't get my head around this. I'm trying to setup KVM-Qemu so I can run some virtual machines. The instructions I'm following are telling me to use eth0 and ...
0
votes
1answer
50 views

How to mount a URL as a CD-ROM on QEMU?

I'm wondering if it's possible to specify a URL for the cdrom option on QEMU, and if so how would I go about doing that? Normally I'd mount an iso like this: <disk type='file' device='cdrom'> ...
0
votes
1answer
160 views

Disable TCP checksum offloading on KVM virtual network

I have a virtual network for connecting KVM guests with the host. I need to disable TCP checksum offloading on this network. The ethtool works fine but I want to disable it permanently and I could ...
-1
votes
1answer
46 views

Implementing hardware virtualization for custom hardware

When using QEMU/KVM there are certain network adapters that are supported and emulated. If one wanted to emulate the guest OS's original network adapter (e.g - a Broadcom interface that was present on ...
1
vote
1answer
120 views

KVM virtual machine boot messages

Just wondering if anyone knows of a way to stop the following boot messages with a centos 6.5 vm created with qemu-kvm When I start the vm there is a slight delay as the vm posts the following boot ...
0
votes
1answer
106 views

QEMU's QMP to listen on same socket?

Is it possible to have multiple qemu processes (machines) to listen on the same socket? I.e. you have this identical part when starting qemu processes: -qmp unix:./qmp-sock,server,nowait --monitor ...
1
vote
1answer
244 views

Why can't I shutdown running kvm instance?

I have running kvm instance: =# virsh list --all Id Name State ---------------------------------------------------- 2 debian-test running When ...
0
votes
0answers
91 views

Networking issues KVM

I have a server that is running Debian 7.2. I recently set up KVM on it, and created two VMs. Both VMs are unable to connect to the Internet. I was following a tutorial, and I'm certain I followed the ...
-3
votes
1answer
154 views

Knowing when a qemu vm shutdown (initiated via telnet using QMP) is finished

When I start a qemu (Windows Server 2003) virtual machine with -qmp tcp:127.0.0.1:4444,server,nowait I can make it shutdown with the following script #!/bin/bash telnet 127.0.0.1 4444 <<JSON ...
0
votes
1answer
322 views

how to connect multiple kvm/qemu VM guests in to a subnet [closed]

I want to setup a simple subnetwork of KVM/QEMU guest VMs living on a single host (Fedora 19) for testing purposes. The subnet would contain 3 servers: 1 Debian 6.x eth0 ip: 10.0.0.7 eth1 ...
2
votes
1answer
53 views

What can be improved in my first qemu/kvm run?

Just started using kvm (qemu? I'm quite fuzzy with the terminology). To test if everything works fine, I created logical volume on my lvm, and then started virtual machine using: qemu-system-x86_64 ...
0
votes
0answers
321 views

KVM guest cannot write to 9p share owned by non-root

I am aiming to set up full write access to a 9p share for a KVM guest. Both host and guest have the same users/groups with the same IDs. Both host and guest should be able to write to the share using ...
0
votes
1answer
111 views

Why don't the symbolic links in kvm autostart not work

I've deployed 2 kvm guests( db and app) on a Debian7 host. I can set them autostart by root@mhost:~# virsh autostart db root@mhost:~# virsh autostart app This actually creates 2 symbolic links at ...
1
vote
0answers
94 views

qemu-img rebase operation taking longer than expected

#ls -1 Image1.qcow2 #qemu-img create -b Image1.qcow2 -f qcow2 Image1-DeltaFile.qcow2 Now I have an overlay called Image1-DeltaFile.qcow2. If I have another copy of Image1.qcow2 on a different ...
0
votes
2answers
49 views

Automatic VM disk resize

I got a KVM/Qemu setup that works great. Now I want to streamline the provisioning of new VMs. The two obvious ways are to either clone an existing disk or install from scratch (with an automated ...
0
votes
2answers
187 views

qemu don't start quest with disk image on tmpfs

I have 32bit windows 2k3r3 guest (terminal server) with 4GB guest ram and swapping. I created separate disk image for guest swapping and user's temp dirs. I have enouth RAM in host system and want ...
2
votes
2answers
430 views

Can I run a KVM guest with a btrfs subvolume as file system?

I want to run a virtualized Debian stable KVM guest on a Debian stable host (to run untrusted stuff like Skype, Flash or eclipse with third-party plugins). Naturally host and guest will have many ...
0
votes
1answer
164 views

kvm/qemu via libvirt on CentOS - pass string or key/value or file to guest

I have a sizeable deployment of qemu/KVM VMs already, managed through libvirt. They're all CentOS 5 or 6 hosts and guests (the kernel lacks the 9p filesystem flags, so the "mount" shared filesystem ...
0
votes
1answer
103 views

virsh snapshot-create persistent through reboot/ domain destroy-start

If i take a snapshot of a qcow2 image backed domain via virsh snapshot-create domainID and I shutdown the machine (and probably destroy the domain if virsh list still shows it running), will that ...
1
vote
1answer
121 views

kvm - Recover domain from .img file alone

Yesterday I had a drive failure (raid-0) in the host system and had to re-install the os. Fortunately the vps images were on another raid array (raid-5) and the .img files are still available. However ...
1
vote
1answer
696 views

how to make bridge networking with KVM work in Fedora19

I'm attempting to get several virtual machines setup on a Fedora-19 host system, with the traditional bridge network devices (br0, br1, etc). I've done this many times before with older versions of ...
0
votes
1answer
50 views

qEmu doesn't save changes to virtual harddisk

I've installed qemu and AQEMU on my Ubuntu 13.04 from default repository. I created a virtual machine by using the wizard and set the harddisk to 10 GiB. I added a Debian 7.1 .iso file to the device ...
3
votes
1answer
195 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 ...
0
votes
1answer
273 views

Signaling KVM/QEMU VM to quiesce, preparing for live backup

Assume a KVM/QEMU VM, which uses qcow/qcow2 as the image format for virtual disks. Backup is (to be) done on the VM host. As far as my current understanding goes is that while we can create backups ...
-1
votes
1answer
135 views

Kvm poor cpu performance

I have running some Minecraft Servers in a Qemu VM over Libvirt, and the performance is only half good than on real hardware. Libvirt started the vm over: /usr/bin/kvm -S -M pc-1.1 -cpu ...
0
votes
2answers
581 views

How to efficiently share host's folder with KVM guests?

I am configuring the service which stores plenty of files uploaded by nginx in /srv/storage dir on host system. These files are processed by worker KVM guests which may create new files or assign ...
1
vote
2answers
468 views

How safe is it to access qemu/kvm raw or qcow2 disk image files from host

I've read mixed opinions about how safe it is to modify qemu disk image files. There are two distinct situations I'm interested in. 1) let's take a raw or qcow2 disk image file not used by kvm (i.e. ...
0
votes
1answer
181 views

qemu-kvm fail to boot Centos 5.3 after Kernel update at the host (feodra)

After updating Fedora 18 to kernel 3.9.x (current 3.9.4), I can no longer boot my Centos 5 guest OS. When I try to boot, the process halt at start and the CPU core work at 100%. If I boot Fedroa ...
1
vote
3answers
495 views

Standalone KVM server best practices

I'm looking at ordering a powerful server machine to use for virtualization. I'm planning on running debian with KVM+QEMU for the virtualization, and a hardware RAID6 to store the VMs on. I would also ...
1
vote
1answer
54 views

Is it possible to create an equivalent environment of a KVM guest using QEMU for Windows?

I have a KVM guest in a datacenter that is my production server for a service I am developing. I would like to create an equivalent virtual environment on my Windows machine so I can be sure that ...
0
votes
1answer
74 views

KVM copy contents of image into raw smaller LVM2 partition

I have a KVM guest, running on a KVM host...both Gentoo Linux. The guest is called webserver.img. It is 21 gigs large, but I am only using 5 gigs inside the image. I want to make a logical volume ...
0
votes
1answer
59 views

KVM how to determine which virtual disk files are in use by VMs

I tried lsof|grep *.qcow2 and got no results back (why is that? I definitely have VMs running using that disk format). I also considered grepping qcow2 on *.xml within the config directory, but this ...
0
votes
0answers
2k views

VNC faster than Spice for remote access to KVM guest?

Having used RDP before, I'm not exactly thrilled with the performance I am seeing from VNC to my KVM virtual machines. The KVM host is Ubuntu 12.04 server x64. I've read that Spice is faster, and ...
0
votes
1answer
82 views

how do I add a vcpu to one of my KVMs in QEMU?

I want to add a vcpu to a virtual server in QEMU. I tried editing the XML file in /etc/libvirt/qemu and starting the server, but that does not seem to work.
0
votes
2answers
532 views

how do I backup my qemu kvm img files that are block files?

I inherited a pair/cluster of Ubuntu 10.04 servers running DRBD and QEMU/KVM and I want to backup the img files but they appear to be block files on the DRBD fs and I'm not sure how I can back them ...
-4
votes
3answers
440 views

Why is Qemu Virtual CPU on my kvm guests [closed]

can some one please clarify this. I am new to kvm and created two guest instances one linux and one windows. On both Guests, CPU is showing as QEMU virtual CPU,why is it so? if kvm utilizes ...
2
votes
0answers
438 views

virtualbox to qemu but results in no bootable device qemu

I use vagrant to create my development vm. I exported the vmdk to vdi, and then convert the vdi to img. cd virtualbox_dir/test_vm VBoxManage clonehd test_vm.vmdk raw.vdi 0% ..... 100% qemu-img ...
-1
votes
1answer
246 views

Cannot access Qemu/KVM virtual using console, VNC, or SSH, or access via network (IP range no longer valid) [closed]

I have the host sitting here next to me, so you'd think I'd have decent control of the guest. I should add that I have already attempted various other means, such as mounting the drive, but I have ...
0
votes
2answers
180 views

Can't get beyond boot screen after booting from CD in KVM

I've just installed KVM on Debian 6 64 bit and have created 2 guests and booted one of them. I can connect via VNC and I get the Debian CD boot options (text/graphical install). I have tried ...
0
votes
1answer
111 views

See processes inside qemu

Sometimes a virtual machine inside kvm/qemu is saturated (load too high). Even a login (ssh) takes several seconds. But the host is still accessible. How can I investigate why the virtual machine is ...
1
vote
0answers
252 views

qemu/kvm: connect two machines via ttyS0

I would like to connect two machines via ttyS0 Here's what I did on the guest machines: A: Add to /etc/inittab: S0:2345:respawn:/sbin/mingetty ttyS0 Add to /etc/securetty: ttyS0 B: Try to ...
6
votes
1answer
819 views

KVM/Qemu, Ubuntu: Why do more guests CPUs enhance Disk-I/O rapidly?

We have an Heartbeat/DRBD/Pacemaker/KVM/Qemu/libvirt cluster consisting of two nodes. Each node runs Ubuntu 12.04 64 Bit with the following packages/versions: Kernel 3.2.0-32-generic #51-Ubuntu SMP ...
0
votes
2answers
167 views

make vnc server listen on guest's ip address

My host system has the IP 192.168.0.250. Now I want to create a kvm guest using a tap device (so the network card of the guest just acts like a "real" one). The guest has a static ip 192.168.0.249 ...
2
votes
2answers
135 views

kvm process has too large a memory footprint on host

I'm using latest ubuntu quantal and start a kvm guest which should have 2048 MB of memory. Now after a few hours I can see that the kvm process of this guest is around 2700 MB, so 700 MB more than the ...
0
votes
1answer
789 views

kvm with virtio scsi and rbd

I'm currently using virtio-blk but I'd like to change to the new virtio-scsi, especially because it supports trim/ discard. The host is an ubuntu quantal system (kernel 3.5.0, qemu 1.2.0). This is ...
1
vote
2answers
2k views

qemu-img: Could not open $FILE

I received a single-file VMDK from a vendor that has a virtual appliance for a particular product I'm interested in evaluating. We run a KVM solution (Proxmox) so I tried converting the file but on ...