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

learn more… | top users | synonyms

10
votes
2answers
1k 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 ...
8
votes
2answers
304 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 ...
6
votes
2answers
16k 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 ...
5
votes
2answers
7k 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 ...
4
votes
5answers
14k 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 ...
4
votes
2answers
13k 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 ...
4
votes
1answer
874 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 ...
4
votes
1answer
480 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 ...
4
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, ...
3
votes
4answers
7k 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
5answers
648 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 ...
3
votes
1answer
2k 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 ...
3
votes
1answer
1k 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 ...
3
votes
1answer
109 views

How to mount KVM virtual machine 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 has Ubuntu installed. I would now like to take this .img file and "emulate" the ...
3
votes
1answer
306 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
920 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. ...
3
votes
2answers
1k 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
2answers
198 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 ...
2
votes
1answer
1k 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
2k 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 ...
2
votes
1answer
399 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 ...
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
1answer
41 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, ...
2
votes
0answers
263 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 ...
2
votes
1answer
330 views

Problems switching to QEMU control panel with -nographics

It seems that the terminal does not recognise CTRL+ALT+2 when typed, so I don't know how to quit the QEMU emulation, or switch to the QEMU control panel. I am running Mac OSX Lion, and I type $ ...
2
votes
0answers
4k 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 ...
2
votes
1answer
3k 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 ...
1
vote
1answer
1k views

linux 'top' not showing all processes

I am running linux top command to see processes running inside qemu VM. Sometimes, a process does not appear in them, but if I run, ps -eo psr,pcpu,comm | grep myprocessname then the process is ...
1
vote
1answer
3k views

How to convert a VirtualBox virtual machine to QEMUwto image?

How do I convert a VirtualBox virtual machine to a QEMUwto image?
1
vote
1answer
882 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?
1
vote
2answers
1k views

GDB breakpoint problems attaching to QEMU

I have the following problem: When I connect gdb to qemu for debugging, it won't break on breakpoints. I can set breakpoints, break with ctrl+c etc. Any clues how this can be fixed? I have: $ qemu ...
1
vote
1answer
40 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
72 views

Will QEMU emulate processors newer than the one in which it's running?

If I compile QEMU in Linux running on a 486 processor, will it be able to emulate the Pentium processor features on it (like MSR)? And, if it doesn't, is there any way to emulate the Pentium features ...
1
vote
1answer
1k 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, ...
1
vote
1answer
324 views

Is it safe to uninstall qemu and libvirt?

Fedora installs both by default. I didn't found what are them exactly for, but yum autoremove selects them for autoremoval. Is it safe, for a normal user (I mostly use this machine for documents and ...
1
vote
2answers
4k 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 ...
1
vote
1answer
4k 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 ...
1
vote
1answer
2k views

How to use qcow2 disk image in Linux?

I have a large qcow2 formatted disk image, which I use as storage. Often I need to move data to and from this disk image. I mount the disk using the qemu-nbd tool as follows: modprobe nbd max_part=63 ...
1
vote
0answers
64 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 ...
1
vote
0answers
31 views

KVM Arch install - no network

I often use KVM to try out various Linux distros. All I have tried so far get an automatic network, Red Hat and Debian have all connected out of the box, no problem. Makes installations very easy. ...
1
vote
0answers
67 views

How to forward usb port to guest OS using qemu

I have lots of usb devices and I would like to connect them to guest os. Currently I'm forwarding one device at a time. $ qemu-system-x86_64 ... -usbdevice host:xxxx:yyyy I would like to give ...
1
vote
1answer
907 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 ...
1
vote
0answers
346 views

nova-compute libvirt x86_64 emulator Error

I was trying to install openstackin Ubuntu12.04 server. I find that Nova-compute is not getting started and the error is the below. I followed some of the suggestions in various forums, but nothing ...
1
vote
0answers
90 views

How to bootstrap a MIPS NetBSD iso in qemu?

I'm trying to bootstrap a NetBSD 4.0 iso in qemu, but am not having much luck. My host computer is running OS X, and I successfully installed qemu with homebrew, but have been unable to bootstrap the ...
1
vote
0answers
47 views

QEMU: weird display output when install debian on mac osx

I got weird display when I tried to install debian on osx 10.9.1 qemu-system-i386 -hda debian.img -cdrom ~/Downloads/debian-testing-i386-netinst.iso -boot d QEMU is the newest version brewed from ...
1
vote
1answer
152 views

How to start QEMU on Windows with monitor enabled?

I've downloaded the latest 64-bit version of QEMU for Windows and it installed fine. However, I now have problems switching to Monitor mode when trying my code. The documentation says Ctrl-Alt-[1, 2, ...
1
vote
1answer
2k 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 ...
1
vote
1answer
352 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 ...
1
vote
0answers
17 views

windows VMs unpredictibly require login

I have a cluster of VMs on a number of cloned servers using libvirt/qemu. Occassionally the windows 7 vms randomly require a login screen, even though I've done everything I can think of and can ...