QEMU (short for "Quick EMUlator") is an open source machine emulator and virtualizer.

learn more… | top users | synonyms

12
votes
2answers
2k views

How crazy is “sudo qemu -hda /dev/sda”(mounting host's sda as client's hda)?

I was playing with qemu on Linux when I discovered that I could just run sudo qemu -hda /dev/sda And it would boot up my system again! I closed qemu immediately after Grub was loaded successfully ...
9
votes
4answers
18k views

How do I convert an .img file to vhd?

I have an image file (linux based image) and want to convert it to VHD so that it can be used to create hyper-V VMs. I used "qemu-img convert" to convert raw to vpc format, but vpc doesnt work for ...
9
votes
2answers
546 views

Full hardware emulation

I want to emulate some old desktop PC in order to run my application there (the emulated machine) as a stress test. Is this possible? I looked around and some people mentioned Qemu, which is Open ...
8
votes
2answers
23k views

Is it possible to resize a QEMU disk image?

Like the title says: Is it possible to resize a QEMU disk image in Linux? And if so, what happens to the partitions within it? Are they automatically resized as well (doubtful) or is there just a new ...
8
votes
2answers
20k views

Does QEMU's performance (still) lag VirtualBox's and is there a way to improve it without the hardware support+kvm kernel module?

I've noticed several articles that have claimed that QEMU is slower than VirtualBox (without hardware assistance) but several are years old, and the newest seemed to be from last year. Is it true ...
7
votes
5answers
18k views

Windows 7 fails to install on KVM with qemu

I'm trying to install Windows 7 on a virtual machine on my 64 bit Ubuntu Karmic box. I get to the point of selecting my language settings and clicking 'install now', but a short while later I get a ...
7
votes
1answer
10k views

How to boot a KVM virtual machine raw image to VirtualBox?

I have received a .img file of a server which is a Virtual Machine running in a KVM environment. The Virtual Machine was installed with Ubuntu. I would now like to take this .img file and "emulate" ...
7
votes
1answer
2k views

Qemu & VNC - how to use absolute pointing device

I'm using QEMU with VNC for display running a Windows XP guest OS. When I connect with a VNC client, the mouse pointer position is pretty badly correlated to where my real mouse pointer is. Is there ...
7
votes
1answer
1k views

ARM Compiled QEMU - “standard VGA not available”

I followed this guide to compile QEMU so that I could run a Raspberry Pi Archlinux image in it - which I learned how to do in this guide. I'm trying to run x-server on the virtualized Archlinux image,...
6
votes
1answer
3k views

How do I get AVX support in QEMU?

I want to play with the new AVX instructions. I saw that QEMU might have support, so I built it from Git (yesterday). I set the CPU to SandyBridge and I booted Tiny Core Linux. TCL has kernel 3.0 and ...
6
votes
1answer
2k views

QEMU within VirtualBox and bridged connections all the way down

I'm trying to get an ARM QEMU system out on my LAN. I tried running QEMU directly from Windows (Windows 7 x64), with success except I could not get a TAP adapter to bridge to my wireless connection. ...
6
votes
1answer
5k views

How to boot a physical Windows partition with qemu?

I have gentoo and windows 7 installed alongside on my only hard drive. I want to start my windows install from within gentoo through qemu. Boot menu works fine but windows bluescreens on me soon after ...
5
votes
1answer
8k views

How to enable network with a raspberry pi emulated on qemu?

I'm trying to emulate a raspberry pi on my ubuntu 13.04. I installed qemu and it works well except for the network. I followed this procedure. On the virtual machine, the file /etc/network/interface ...
5
votes
1answer
8k views

How to access internet from QEMU?

I am running qemu version 0.13 on windows XP. My Host OS is Windows XP and my guest OS is Debian 4(Etch). How do I connect to internet from Debian OS? My windows OS can connect to Internet. The ...
5
votes
1answer
1k views

How can I get qemu's Ctrl+Alt keys working in -curses mode?

So here's the situation; I currently have qemu installed on an OpenBSD 5.3 snapshot. This is a console setup so I have to either run with -curses or -nographic. The problem here is that I'm having ...
5
votes
3answers
2k views

Is there any way to run 64bit Virtual Machine on 64bit processor without hardware virtualization (amd-v, vt-x)?

We have a 64bit virtual machine (CentOS) that we'd like to run on 64bit host-machine (may be running under any OS), but that host-machine doesn't support hardware virtualization, which, you know, ...
5
votes
1answer
8k views

qemu: Set or force higher screen resolution than 640x480

I set up a virtual machine using qemu-system-arm (ARM emulation) running Debian squeeze. Now I have the problem that in the "Monitors" preferences, I can only select 640x480 as resolution. Tried all ...
4
votes
2answers
763 views

iPod Touch 5G won't recognize in qemu Windows 7 VM

I have an iPod Touch 5G, and a Windows 7 VM. I am trying to pass through the iPod Touch to the VM so Windows can recognize it, but I am getting the following error in the qemu monitor. (qemu) ...
4
votes
3answers
4k views

vga-passthrough with kvm/qemu on optimus-capable laptop

i have an asus n550jv laptop with the following output from lspci -nn | grep "VGA|3D": 00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics ...
4
votes
5answers
711 views

How does it hurt to use Linux (Ubuntu) as a guest OS for all my tasks?

I have a machine running Windows, where the disk has two partitions C (50 GB) and D (250GB). I do research in Information Retrieval and need to work with a large corpus (more than 50 GB) and in Linux....
4
votes
1answer
4k views

How do I bridge a connection from Wi-Fi to TAP on Mac OS X? (for the emulator QEMU)

I'm trying to setup a bridge between my Wi-Fi connection and an emulator (QEMU). I need a virtual machine to be on the same LAN as the host, with its own IP address. QEMU requires using a TAP (...
4
votes
0answers
534 views

Using directory as initrd in QEMU

Is there a way to use a directory as initrd when booting QEMU? I know how to use the -kernel and -initrd flags for QEMU to boot a kernel and initrd without needing to first create a bootable device ...
3
votes
1answer
8k views

Unable to configure qemu on Ubuntu 14.04

I'm trying to configure QEMU on Ubuntu 14.04 (x64): $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.1 LTS Release: 14.04 Codename: trusty ...
3
votes
4answers
11k views

Qemu in an ssh session or the quest for the nographic option?

I ssh to a machine and I would like to start a qemu session inside this ssh session. I thought that the nographic option would do the trick. -nographic Normally, QEMU uses SDL to display the ...
3
votes
1answer
4k views

qemu kvm - can't start VMs after installing xen hypervisor

I had been using QEMU KVM for long time and have few VMs. Recently I installed XEN Hypervisor following this instructions but decided to apt-get remove xen-hypervisor-4.2-amd64 Problem is that now, ...
3
votes
1answer
609 views

QEMU: How to find bottleneck in my virtual machine?

I am running an ubuntu virtual-machine on a 12.04 ubuntu server. Unfortunately the machine is extremly slow (just htop consumes 15%), even though having 8 cores etc. Do you know a way to find the ...
3
votes
2answers
217 views

What emulator / VM software can I use to create a Win32-portable Linux Guest?

I want to create a portable VM setup so that I can boot a Linux install regardless of which Windows XP / Windows 7 host machine I am on. I was looking at Qemu but it doesn't appear to have a ...
3
votes
1answer
872 views

QEMU with GPU pass through won't start

I'm running Ubuntu and trying to configure QEMU with a GPU pass through. I was following those guides: https://www.youtube.com/watch?v=w-hOr44oBAI https://www.pugetsystems.com/labs/articles/...
3
votes
2answers
562 views

Qemu user mode networking doesn't work

I try to use network in guest system. I installed an OS in a virtual machine, but I did not get the network configured. When I try to ping, for instance google.com I get the IP address for the domain, ...
3
votes
3answers
5k views

Installing Windows 8.1 64 on Qemu Fails - no disk can be found due to Virtio driver issues

I'm unable to install Windows 8.1 x64 with the following steps on a qemu virtual machine: qemu-img create -f qcow2 Windows8.img 20G qemu-system-x86_64 -machine pc,accel=kvm:tcg -cpu host -m 2048 -...
3
votes
1answer
614 views

What VNC clients support qemu's audio extension?

I've read that QEMU implements an extension for providing audio over a VNC connection Unfortunately despite doing a lot of web searches and even installing some different VNC clients and ...
3
votes
0answers
349 views

qemu: How to use resolutions > 1024x768 in Windows 8(.1)?

In previous Windows versions, I was able to get higher resolutions in qemu/qemu-kvm by passing the -vga std or -vga vmware command line parameters. However, when I try the same for Windows 8 (and 8.1)...
3
votes
0answers
2k views

pulseaudio, in a KVM virtual machine (as root) and your desktop (not root) playing audio at the same time?

How do you get pulseaudio to play sound in a KVM virtual machine (running as root) and your desktop apps (not running as root) at the same time? It seems that by default, it will only play sound for ...
3
votes
2answers
2k views

qemu - fastest user-mode emulation platform?

I'm planning to run Linux under user-mode qemu but don't know which platform (eg x86, ppc etc) is the best to pick (performance wise). The host is Linux x86-64 running in OpenVZ (so can't modify ...
2
votes
1answer
8k views

QEmu to share a directory with the host

My problem is that networking devices in my device tree are not very stable so I thought the best way to share a folder between qemu and the host system is mount the same img without cache on both ...
2
votes
1answer
1k views

open a console on a virtual machine

I have a KVM Virtual machine running, I can see that using "ps aux | grep kvm". What I need to open a console into that VM. How do I do that?
2
votes
1answer
7k views

How to build a portable windows virtual machine without admin permissions and with high performance?

I need to build a portable virtual machine that could be used on user restricted PCs that need admin permissions. I've heard about QEMU. But the problem is that it is very very slow when running. Is ...
2
votes
1answer
3k views

Copy/paste issue in Ubuntu virtual machine (QEMU-KVM) with Awesome window manager

I have Ubuntu 12.10 virtual machine running in QEMU-KVM. Copy/paste between host and vm works fine when using Unity as window manager but not while using Awesome. What is the difference between those?...
2
votes
2answers
3k views

How do I create a wifi network bridge with qemu on OS X?

I grabbed a small FreeBSD live CD and QEMU, and I'm trying to bridge my Mac OS X 10.8 wifi connection so that the guest OS is available on my LAN. However, the guest OS never gets a DHCP lease. This ...
2
votes
2answers
8k views

How do I use the “-cpu” option in Qemu?

Using QEMU 0.14.1 under Ubuntu 11.10 with kernel 3.0.0-17-generic, if I run qemu -cpu ? I get: $ qemu -cpu ? x86 [n270] x86 [athlon] x86 [pentium3] x86 [pentium2] x86 ...
2
votes
1answer
2k views

How To Change The Floppy Image Of Qemu?

I'm developing my own OS, but I'm having some problems with Qemu, because I need to change the floppy image from grub.img to os.img while the emulation is running, but how can I do this?
2
votes
1answer
4k views

chroot: failed to run command ‘/bin/bash’:

I am trying to modify a kernel image before using it for qemu. I am trying to add a compiled binary to the image. I am using 64 bit Linux 14.02. What I am doing is, linaro-media-create --image_file ...
2
votes
1answer
365 views

Control fan speed under linux without nvidia drivers

I have quemu-kvm configuration like this - IGP on host (linux) and Nvidia on guest (windows). I blacklist nvidia drivers under linux (arch dist.). Is there a way to set GPU fan speed under linux (it'...
2
votes
1answer
3k views

Virtualize an existing windows 8.1 installation on arch

I have the following setup: Intel i5 4570s SSD for os sda1: EFI boot partition sda2: ext4 with arch installed sda3: swap sda4: microsoft reserved sda5: ntfs with windows 8.1 installed HDD for data ...
2
votes
1answer
1k views

How can I get hard drive to work for QEMU-virtualized Windows Home Server 2011?

I have configured a Windows Home Server 2011 guest with virt-install and virsh, but the windows installer can't find any hard drives. Nor can it load any virtio drivers for it. This is my first qemu/...
2
votes
2answers
2k views

Can the ARM build of ubuntu 11.04 run in Qemu (on Ubuntu 11.04 amd64)?

Is it possible to run the ARM image of ubuntu-11.04-preinstalled-netbook-armel+omap4 in qemu? (Also used on the Pandaboard) I have extracted the vmlinuz-2.6.38-1208-omap4 doing the following: fdisk ...
2
votes
0answers
97 views

Bridged qemu machine cannot receive packets, these are dropped

I've created virtual machine (ppc) with bridged interface (using bridge helper) on archlinux. Machine can send packet out, but cannot receive anything. I can see packets (dhcp discover,request and/or ...
2
votes
0answers
176 views

QEMU CPU Emulation Capability

Is it possible to emulate any/all Sandy Bridge CPUs using QEMu? Specifically, I am trying to get something akin to an Intel Xeon E5-26xx (a SandyBridge processor) running on hardware employing a ...
2
votes
1answer
5k views

failed to access perfctr msr - When running Fedora on a VM

I'm trying to run a Virtual Machine with Fedora, and I choose to "Start fedora" from a list where I can start it or troubleshoot problems. The I get the following output: [ 0.00000] tsc: Fast TSC ...
2
votes
1answer
743 views

“ACPI\QEMU0001” unknown ACPI device after Windows 2008 install with libvirt

After installing Windows 2008 in a libvirt virtual environment (command below for reference), I'm stuck with an "Unknown device" in Device Manager. The Hardware Ids show ACPI\QEMU0001. I tried using ...