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
269 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
14k 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 ...
4
votes
2answers
11k 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
5k 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
1answer
327 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
6k 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
754 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 ...
3
votes
5answers
622 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
225 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
776 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
871 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
5answers
13k 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 ...
2
votes
2answers
188 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
969 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
887 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 ...
2
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 ...
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
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
311 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
1answer
219 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 $ ...
1
vote
1answer
896 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
2k 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
749 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
60 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
858 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
268 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
3k 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
3k 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
1answer
76 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
45 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
1answer
43 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
0answers
255 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
701 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
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 ...
1
vote
0answers
81 views

Can QEMU be used on Mac OS X to emulate a one-core CPU (preferably only the CPU)?

Can QEMU do this kind of emulation? On Macs there's no an easy way to set CPU affinity, so this could an interesting workaround for the older programs that don't work well in multi-core environments.
1
vote
0answers
548 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 ...
1
vote
0answers
165 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 ...
1
vote
0answers
78 views

-kernel option like in QEMU for BOCHS

I am working on creating my own kernel using C/Asm. I have always used QEMU as my emulator mainly because I can specify -kernel and it boots the kernel directly without a boot loader. I wish to switch ...
1
vote
1answer
379 views

Network setup for web development on KVM guest with host using wifi

I've a laptop running Linux connected to a LAN using wifi. I've used virt-manager to create a KVM/QEMU VM and installed Ubuntu on that. As expected, it can connect to the Internet to download updates, ...
1
vote
3answers
1k views

Cannot open SDL support on Qemu

When I compile qemu for arm platform, I configure as follows: ./configure --cross-prefix=arm-linux-gnueabi- --target-list=arm-softmmu --enable-kvm --enable-sdl --static But get errors below: ...
1
vote
0answers
406 views

Running FreedomBox in Qemu

I wanna run the latest FreedomBox image on my Ubuntu laptop. The FreedomBox image is for DreamPlug, a 1.2 GHz Marvell Kirkwood 88F6281 SoC (ARM9E), and my Ubuntu is v12.10 (3.5.0-17-generic i686). ...
1
vote
0answers
500 views

Virtualized guest vs host CPU usage

I am using qemu with kvm as my hypervisor. I am running a gentoo guest on an ubuntu host. The guest is being given a single processor. When I run a compute intensive job (say empty-loop) I get almost ...
1
vote
0answers
3k 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 ...
1
vote
0answers
112 views

Making qemu-based Marss simulation deterministic

I am using Marss cycle-accurate simulator, which uses QEMU. It is a full system simulator and gives both user and kernel stats. However, even if I take only user-stats, the statistics vary a lot ...
1
vote
1answer
2k 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
0answers
235 views

Using VNC client to access local QEMU VM

I have installed Debian in a QEMU VM and am currently using the default QEMU Manager as the main display, since QEMU allows VNC as the main display. I have a VNC client installed on my PC; can I view ...