QEMU stands for "Quick EMUlator" and is a processor emulator that relies on dynamic binary translation to achieve a reasonable speed while being easy to port to new host CPU architectures.

learn more… | top users | synonyms

1
vote
1answer
49 views
+100

icmp ping reply not received by ping process, seen by tcpdump/wireshark

I'm having an issue with getting the actual ping process to receive the reply even though I can clearly see the response in the tcpdump output. I'm running on: Mac OS X 10.11.4 El Capitan Bridge ...
-1
votes
1answer
15 views

Kernel panic - not syncing: Attempted to kill init ( using qemu for a Rasbian ARM image) [on hold]

I am using qemu 2.6.0 on my ubuntu 14.04 x86_64 PC. I want to emulate rasbian -- A Linux destro based on ARM Debian for Raspberry Pi. Here's the settings when using qemu /usr/local/src/qemu-2.6.0/...
-1
votes
0answers
15 views

Run same virtual machine twice simultaneously from the same base snapshot

I would like to have a base snapshot and then launch several virtual machines from it simultaneously. These machines have a short lifetime and then shutdown, there is no need to save the changed to ...
1
vote
1answer
2k views

Debian Jessie Qemu KVM GPU Passthrough to Windows Virtual Machine guest Virt-Manager error Bus PCI not found

I'm having problems with Virt-Manager not wanting to boot a VM and giving error: Error starting domain: internal error: process exited while connecting to monitor: char device redirected to /dev/pts/...
8
votes
2answers
16k views

Changing boot device for a QEMU-KVM virtual machine

I am trying to change the boot device for a VM. I go to the VM's XML file in /etc/libvirt/qemu and set <boot dev='cdrom' />. Still, it attempts to boot from the harddrive instead of the cdrom. ...
0
votes
2answers
2k views

Guest networking not working on Debian Jessie Host server KVM with br0 bridged network

GUESTS networking not working at all. In other words guest can not ping host or lan gateway. I have br0 bridge already created, also brctl show that vnet0 was properly added by KVM to br0 on guest ...
0
votes
1answer
15 views

Trying to understand the discrepancies in disk usage inside raw images and on host disk usage

As the title states, I am trying to understand the discrepancies from ncdu and/or du in terms of what I am observing from disk usage. From what I understand, on modern systems, there is difference ...
0
votes
1answer
13 views

mount a kvm qcow2 file

so i have a kvm image that i'm trying to mount: [0c79dafb-abb7-4714-9a0a-4e16f0b305e7]# tree . ├── console.log ├── disk ├── disk.info └── libvirt.xml [0c79dafb-abb7-4714-9a0a-4e16f0b305e7]# qemu-img ...
1
vote
1answer
2k views

How to fix a frozen qemu VM?

I have a qemu hypervisor on RHEL 6.4 that hosts VMs that will quite often lose their connection to the network. When the VM has lost its connection I can view and interact with the it using virt-...
0
votes
0answers
26 views

virt-install fails when binding to spice socket

I'm trying to set up a Windows 2008 server virtual machine on CentOS 7 with virt-install. I currently have two linux containers running without issue. The command I'm running to set up the VM is virt-...
1
vote
0answers
32 views

qemu-kvm VM hangs at iowait with virtio drive

We are seeing instances of a VM hanging with the following symptoms: load average 800, processes stuck, CPU 100% in iowait reading files work, writing files hang the system RAM utilization is high, ...
1
vote
1answer
362 views

Qemu Proxmox VM - Network access to guests for BackupPC backups

Environment I rent a dedicated server from OVH and installed Proxmox 3.3 (which is based on Debian 6 Wheezy) in order to create and manage multiple Virtual Machines on it. Each VM is configured to ...
0
votes
0answers
15 views

QEMU image format

I have an image with .qemu format. I looked here to see QEMU supported formats but there is no .qemu. Is.qemu equal to raw? Thanks
0
votes
0answers
34 views

virsh, how to get full screen resolution via VNC

I've got a few KVM VMs running on my home server, some of them running X. I use virsh to manage them, and tunnel 5900x ports via SSH to access them via VNC. I can't get the resolution to go higher ...
0
votes
1answer
59 views

boot issues after converting running linux to vm manually

I did a file copy of a running debian8 installation to a image. Following is the proceedure. create a vdisk image - raw / vdi. mount it locally. do a file wise copy of a running linux distro: ...
0
votes
1answer
17 views

qemu-img: by accident decreased disk size

I decreased my KVM disk image by accident from 100G to 50G using: sudo qemu-img resize disk.raw 50G I wanted to increase the disk from 100G to 250G. Now the VM is not booting :( And get this ...
0
votes
0answers
16 views

Can't connect to virsh managed QEMU-KVM via network interface

trying to connect via SSH to VM on Debian 8.4 Host. Seems the virtual ethernet adapter don't get an IP4 by DHCP. Can smb. point me in the right direction :( Some cfg. details... #ifconfig eth0 ...
2
votes
1answer
24 views

libvirt kvm qemu virtual machine - hard code domain-id?

Is there a way to hard code the domain-id of a virtual machine kvm guest? I tried adding an id attribute to the XML configuration via virsh edit name And I also tried to edit the XML directly ...
0
votes
0answers
46 views

Qemu kvm necessary kernel and qemu version on jessie host and guests with Skylake

I am running a dedicated server with Debian jessie and the current backported linux-image-amd64/linux-headers-amd64 (currently 4.5), because the server has a Skylake CPU. On the dedicated root, I'm ...
1
vote
0answers
31 views

Gentoo virt-manager IO throttling

I have a problem with virt-manager (or qemu/libvirt) installed on gentoo. Here is My virt-manager installed on Debian Jessie: There I have IO throttling but not on my Gentoo: I tried to search ...
1
vote
2answers
260 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
1answer
2k views

qemu-img snapshot on live VM

I have created multiple KVM VMs using QCOW2 images. Each VM has its own qcow2 file and is not based on any backing file. My question is specifically related to snapshots of QCow2 images on these ...
0
votes
0answers
84 views

How to boot livecd linux distro under kvm virtualization with virt-install or virsh?

I am trying spin up a small livecd linux distro with virt-install under KVM and got access to it via virsh console. And I am kinda loss with --location, --livecd and --cdrom parameters. How should I ...
0
votes
1answer
25 views

QCOW2 virtual size lowering

I'm trying to get the virtual size of a qcow2 container down so that it can fit in a openstack flavor with 10GB disk. root@node-10:~# qemu-img info zztop.qcow image: zztop.qcow file format: qcow2 ...
4
votes
3answers
2k views

attaching usb dongle to KVM VM

I'm struggling to connect a usb device, that gets detected correctly by the host, to a kvm vm. I have a freshly installed Ubuntu Server 14.10 as KVM/QEMU host. I set up an Ubuntu vm using this ...
1
vote
1answer
39 views

KVM/QEMU: “Storage parameter error: directory is not managed on the remote host” when importing an existing image from a mounted drive

A server I manage remotely has a KVM/QEMU image stored on a non-os, mounted drive /mnt/drive. When I use virt-manager to import the disk image, I get the following error: Storage parameter error. ...
0
votes
0answers
38 views

KVM/QEMU Connecting guests only to other guests

Heyho guys, I have one host machine with multiple VMs on it. Their gateway is the host machine (which is doing some NAT etc.). There's one bridge at the host machine and a default virtual network ...
0
votes
0answers
15 views

Errors after unmounting qcow2 image with LVM

I successfully mounted a qcow2 image on my machine (the guest image uses LVM) using: qemu-nbd -c /dev/nbd0 /path/to/qcow2/file mount -o rw /dev/nbd0p1 /mnt/<mountpoint> vgchange -ay VolGroup ...
0
votes
1answer
93 views

How to forward a port from guest to host in qemu (kvm)

Is it possible, and how, to forward a port from guest to host in qemu/kvm? Note do I mean (out of) from guest to host, and not from host into guest (that's widely documented). I think I'm looking ...
0
votes
1answer
62 views

QEMU, Virsh and SMBIOS tables edit

I am currently running qemu-kvm on an Ubuntu server box and I use libvirt with Virsh to create, manage, start and stop VMs. I edited VM's XML configuration through virsh edit command to change CPU ...
0
votes
0answers
24 views

How to configure libvirt to allow console access

I was able to run a Raspbian image with libvirt using this XML configuration file. I can SSH into the VM just fine, but when viewing the "console" with the virt-manager GUI, I never get a login ...
0
votes
0answers
34 views

How to install Ubuntu ARM image with virt-install

How do you use virt-install to create an ARM virtual machine for running an Ubuntu ARM Raspberry Pi image? The docs are unclear to me, but from reading the manpage and looking at several examples, I ...
0
votes
1answer
202 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 ...
0
votes
0answers
16 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 ...
1
vote
0answers
1k 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 ...
3
votes
2answers
659 views

Qemu+libvirt+kvm significant performance lag in VM's

I am troubleshooting poor performance on our new VM host machine which is a Dell PowerEdge R415 with hardware RAID. We've got about 20 VM's running like this: qemu-system-x86_64 \ -enable-kvm \ ...
0
votes
1answer
45 views

qemu-img: Could not open '/dev/stdin': Could not refresh total sector count: Operation not permitted

I want to transfer block device contents over the network directly into a qcow2 image. I started with a small simulation: [root@okvmh1 default]# dd if=/dev/zero bs=1M count=100 | qemu-img convert -p -...
0
votes
2answers
55 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 ...
3
votes
1answer
43 views

vlan qemu: guest listening from other guests

I'm trying to simulate a little network of 3 machines using QEMU where a machine (deb1) is directly connected with the host and the other 2 machines (deb2, deb3): Host ...
0
votes
0answers
9 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!
-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
61 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
1answer
109 views

Serial communication between QEMU host and guest

I'm trying to set up a pair of serial ports between my QEMU host (Debian Jessie x86_64) and guest (also Debian Jessie, but on ARM). Everything except the serial port part works. I'm really new to ...
1
vote
1answer
116 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 ...
2
votes
1answer
266 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
1answer
263 views

Live Backup using Proxmox's snapshot-drive command

I have a KVM server(not on a proxmox node), my VPS is based on qcow2 format and I would like to do a live backup of the vms. I have understood there are two types of backup, Internal and External, I ...
1
vote
0answers
87 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 ...
5
votes
4answers
3k 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
4answers
437 views

How to “really” reduce the size of KVM VMs images?

I've spent many hours searching the web about how to shrink KVM virtual disk images, especially for Windows guests, with no luck. All I've found is to zeroize the VM free space, defrag the virtual ...
0
votes
0answers
42 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 ...