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
votes
0answers
5 views

Qemu sound device as jack client in host [on hold]

How do I make the virtual sound card of a qemu virtual machine (using kvm) appear as a jack (jack audio connection kit) client? It seems to default to pulseaudio, which I am also running.
1
vote
0answers
15 views

Force libvirt to pass always the same device number to the guest on USB device reconnection

I have a HP plotter connected with a USB cable to a debian server through a USB hub. On the server there is a virtualized Windows XP. Everytime I reboot the plotter a different device number is ...
1
vote
3answers
1k 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 ...
0
votes
0answers
23 views

gluster libgfapi HA

I was exploring KVM_qemu with gluster distributed storage. My goal was to build a test cluster with complete HA . i.e HA for VMs as well as gluster storage . I'm planning to setup a 3 node gluster ...
0
votes
1answer
14 views

Changing qemu/libvirt default gateway IPv4 IP to something other than x.x.x.1/24

General info: I have a KVM-libvirt/qemu running on ArchLinux; 3.18.2-2-ARCH ls | egrep -i 'libvirt|qemu' libvirt-1.2.11-1-x86_64.pkg.tar.xz libvirt-glib-0.2.0-1-x86_64.pkg.tar.xz ...
1
vote
1answer
1k 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 ...
0
votes
1answer
1k views

setting CPU cache size and model for KVM guest

Is there any possibility to create a custom CPU model for KVM Linux guests, or at least to modify parameters such as cache size and model name? I know I can set CPU features, topology and pinning and ...
0
votes
0answers
17 views

QEMU stop/continue memory releasing

When using qemu-monitor console, i do PAUSE / CONTINUE of different VMs with stop/cont commands, which works ok, and my main CPU usage stays low. Is it possible to keep memory usage low this or ...
0
votes
0answers
16 views

mounting logical volume attached to vm while vm is running

i am experimenting lvm2 and qemu-kvm. and I want to share and ask some questions. at the end of there is appendix what i am doing. a logical volume on host is attached on guest host (vm) as vda. this ...
0
votes
0answers
54 views

virt-install fully automated install

I'm looking into ways of installing/deploying a VM completely automated (no user interaction). So far I have tried QEMU and virt-install along with QEMU. The issue with qemu is that injecting ...
1
vote
2answers
537 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 ...
0
votes
1answer
93 views

qemu, kvm: Guest: No DHCPOFFERS received

I'm trying to set up a virtual machine (guest) wich should act as router (ubntu 14.04). The host is a CentOS 7 machine (4x LAN). The guest should get a public ip address over it's eth0 (guest), wich ...
0
votes
1answer
36 views

Qcow2 images growing far beyond what they should

I am using ubuntu 12.04 and have seen this: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1025244 Our qcow2 images are growing far beyond what they should... with some of them growing to as ...
2
votes
1answer
2k views

qemu-system-x86_64w.exe : could not open disk image D:\img.img: Permission denied

I'm trying to use qemu on Windows (8), because I have to emulate an USB mass storage device (VirtualBox still doesn't handle USB3 which my computer only have .. and if I could have qemu working it ...
0
votes
1answer
1k views

How can I set up a VM of Solaris 11 / Sparc on Windows / x86 host? [closed]

I need to test a custom binary that was originally compiled for an earlier version of Solaris on Solaris 11. Being poor, I don't have a spare SPARC server lying around on which I can install Solaris ...
0
votes
0answers
47 views

Why ssh tunnel cannot create in the virtualbox or qemu with force mode (-f)?

I try on the dedicated server root@debian:~# strace -e open -f sshpass -p guest ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null guest@198.51.100.11 -C -N -D 127.0.0.1:22220 -f [pid ...
1
vote
1answer
103 views

Linux QEMU issue with bridge network interface

I am trying to setup a bridge interface for one of my QEMU running on CentOS 7. I have below scripts for TAP interface running $ cat /etc/qemu-ifup ifconfig ens192 down ifconfig ens192 0.0.0.0 ...
0
votes
0answers
134 views

KVM does not boot with .iso disk images. Device or resource busy?

I've been trying to set up a windows VM on my Ubuntu box by following the linked blog post http://www.pugetsystems.com/labs/articles/Multiheaded-NVIDIA-Gaming-using-Ubuntu-14-04-KVM-585/ So I have ...
0
votes
1answer
59 views

why linux bridge shows 2 mac addresses for one qemu vm?

I am new to qemu networking and pretty confused about the following situation. I launched 5 VMs. Each connects to br0 through a tap device. I also have a dnsmasq listening on br0 for DHCP. The ...
1
vote
1answer
353 views

qemu/virt-manager no permisson on shared folder

I have a strange problem. Iam trying to create a shared folder via the add-hardware->filesystem option. For Type and Modus i choose Passtrought and for Driver Path. The Source Path is /free and target ...
0
votes
0answers
116 views

Guest-VM can only ping CentOS KVM host, cannot access anything else

[root@KVMHOST]# ifconfig br0 Link encap:Ethernet HWaddr 00:1E:67:6B:17:2F inet addr:200.200.100.54 Bcast:220.225.255.255 Mask:255.255.0.0 inet6 addr: fe80::21e:67ff:fe6b:172f/64 ...
0
votes
3answers
483 views

qemu.img: conversion of a VMDK image failed with error “invalid VMDK image descriptor”

I trying to convert a VMDK image (Windows installed) to RAW format with the qemu-img command. However, it is failing with the following error: $ qemu-img convert -f vmdk -O raw image.vmdk ...
2
votes
2answers
636 views

Windows guest on KVM/Qemu suffers horrible key lag

Host OS is Arch Linux with the following versions:- qemu 2.1.0-2 libvirt 1.2.7-1 linux 3.15.8-1 Guest OS is Windows 7 64-bit. This problem did not exist when I first created this VM and started ...
1
vote
2answers
2k views

does KVM raw images support preallocation?

I was trying to create a raw image with this command: qemu-img create -f raw -o size=200G,preallocation=metadata file.img but seem that it raw images doesn't support preallocation. if so why there ...
1
vote
1answer
78 views

qmp-shell doesn’t recognize commands

So, there is a python script that allows to connect to QEMU monitor from a usual shell. I had to download a bunch of files from the QEMU source tree, and add -qmp unix:./qmp-sock,server,nowait to the ...
0
votes
1answer
675 views

How can I change Qemu KVM machine architecture from 440fx to q35 with virsh edit or virt-manager

Still trying to get GPU passthrough working and decided to change machine type from older 440fx to q35 ie pc-q35 but if I do virsh edit on the config it refuse to save saying "PCI Bridges not ...
0
votes
1answer
432 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 ...
1
vote
0answers
95 views

libvirt / kvm guests take very long time to start after host reboot

Host system is CentOS 6.5 x86_64. I have setup an Ubuntu guest by following this wiki. The guest works, but: if I reboot the host, it takes a very long time (about 30 minutes on the last reboot) ...
0
votes
0answers
393 views

Convert VHD to use on QEMU KVM

I try to convert a .vhd file (VPC) and get this error. I tried different .vhd files without success. I tried also with a fresh exported VHD with disk2vhd and backup Hyper-V .vhd. qemu-img convert -f ...
1
vote
0answers
69 views

Enable SDL for KVM under CentOS 7

I'm trying to set up a VM in CentOS 7 with an SDL display, but every time I try to run it, I get the following error: Error starting domain: internal error: process exited while connecting to ...
0
votes
2answers
394 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
43 views

Connect to the text console of a running VM

I have a running VM with vnc disabled. This is the command running it: qemu-system-x86_64 -enable-kvm -name scratch -S -machine pc-i440fx-trusty,accel=kvm,usb=off -m 512 -realtime mlock=off -smp ...
0
votes
2answers
146 views

unable to start the installation of a kvm win7 guest

I am using this command (using virt-install on a debian 7 host) to start the installation of windows7 guest OS. I have assembled the following from a plethora of sites virt-install --connect ...
0
votes
1answer
46 views

QEMU guest can access HTTPS sites, but not HTTP

So I'm configuring a QEMU guest on my Debian Wheezy server, using virt-manager. As guest I've installed Ubuntu 14.04.1 server. The server contains the following iptables rule: iptables -t nat -A ...
0
votes
2answers
47 views

Version control for virtual disk images

Is there any existing system for efficiently tracking the version history of a virtual disk image? Essentially, I have a disk image which is used as a "template" root filesystem for testing programs. ...
14
votes
2answers
1k views

understanding relationship between Qemu and KVM

What is the difference between KVM and Qemu? As I understand, latter is able to provide "user mode emulation" which means that one can run a single executable built for some other architecture like ...
0
votes
1answer
93 views

Restarting the networking on the HOST makes GUEST lose connection

I am probably missing something but have a KVM virtualized HOST/GUEST setup. The GUEST is using a bridge (br0) on the HOST for internet connectivity. When I make a "/etc/init.d/networking stop ; ...
1
vote
2answers
94 views

Cut'n'paste between X11 Desktop and the virt-manager VNC graphical console of a Win7 VM guest on a Server

I have a licensed copy of MicroSoft Windows 7 professional installed and running as guest on my Linux server running qemu-kvm. This works just fine. But I was unable to figure out how to ...
0
votes
1answer
129 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 ...
0
votes
1answer
569 views

How to speed up QEMU on Windows host?

We want to run our Ubuntu 64bit web server virtualized/emulated on a Windows 64bit host. Intended use is to distribute the VM to customers who might not have "elevated" or "admin" rights on the ...
10
votes
2answers
7k views

free up not used space on a qcow2-image-file on kvm/qemu

we are using kvm/qemu with qcow2-images for our virtual machines. qcow2 has this nice feature where the image file only allocates the actually needed space by the virtual-machine. but how do i shrink ...
0
votes
3answers
353 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 ...
0
votes
1answer
166 views

EL6/KVM guest dies with “pthread_create failed: Resource temporarily unavailable”

I've got a CentOS 6.5 x86-64 KVM server with a bunch of guest VMs of different breeds, mostly EL5 and EL6. However one and only one of them keeps crashing every couple of days with: pthread_create ...
0
votes
0answers
144 views

Importing an ARM qemu machine using libvirt

Context: I'm trying to virtualise a raspbian disk image using qemu so that I can easily use it with vagrant/puppet. The steps I've figured out so far are create a VM using qemu import this VM into ...
0
votes
0answers
1k views

Gnome Boxes on CentOS 7 with Windows 7 as a guest

I just installed CentOS 7 and tried to use Gnome Boxes to create some virtual machines. As long as I stick to other Linux distributions everything is fine. But I really do have trouble installing ...
2
votes
0answers
98 views

LibVirt (QEMU) Shutting down from inside guest

I am currently running LibVirt with Qemu on Debian Wheezy: Versions: libvirtd (libvirt) 1.2.4 qemu-x86_64 version 2.0.0 (Debian 2.0.0+dfsg-4~bpo70+1), Copyright (c) 2003-2008 Fabrice Bellard It's ...
0
votes
2answers
192 views

Host Websites on Virtual IP VMs

I have Proxmox Virtulization server installed. But i have one real(Public) IP. Incoming request to Proxmox server must be bind Virtualized servers. Dnsmasq installed in Proxmox Virtualization Server. ...
1
vote
2answers
3k views

Is there any way to shrink qcow2 image without converting it raw?

Is there any way to shrink qcow2 image without converting it raw? I cannot convert it to raw because I don't have disk space enough for raw image.
4
votes
2answers
118 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/*' ...
11
votes
1answer
4k views

Read/write access for passthrough (9p) filesystems with libvirt/qemu?

I have recently started experimenting with the support for passthrough filesystems in recent versions of KVM/QEMU/libvirt. Making the filesystems available for read access has "just worked", but I'm ...