QEMU (short for "Quick EMUlator") is a free and open-source hosted hypervisor that performs hardware virtualization.

learn more… | top users | synonyms

2
votes
1answer
2k views

How do you mount an ext2 formatted qemu disk image?

I am having issues mounting an image I created with the qemu-img program. Every time I attempt to invoke mount upon the subsequent file, it responds with failed to setup loop device: No such file or ...
2
votes
1answer
535 views

Can QEMU/KVM+OCFS2 be configured to punch holes in sparse image files when files are deleted in the guest?

I'm using sparse raw image files for guest VMs and OCFS2 on the host (local-only, not clustered) for the reflink feature. I understand from Googling around that OCFS2 is one of the filesystems that ...
2
votes
1answer
576 views

Do I need hardware support for KVM for virtio paravirtualisation

Unfortunately I need to run virtual system on the machine without hardware support for visualisation. From kvm page I read that kvm is needed however it is not mentioned whether they mean the kernel ...
2
votes
1answer
87 views

Getting an already installed Android x86 partition to run on KVM

(Originally posted on SuperUser here, but posted here due to lack of responses.) I have Android installed on sda3, and it boots fine when loaded from Grub with the following commands: set ...
2
votes
1answer
224 views

Install Solaris 8 on Qemu-SPARC

I've been struggling with installing Solaris 8 Sparc-32bit on Qemu for a while. So far I've viewed several sites with instructions on how to install Solaris-sparc32bit on Qemu. But only yesterday was ...
2
votes
1answer
424 views

virt-install cpu0 unhandled rdmsr

I'm trying to install a guest VM using KVM on a partition. I use virt-install. I call the following command: virt-install -n centos --ram=1536 --vcpus=1 ...
2
votes
1answer
147 views

connect two VMs and one VM to the internet

Disclaimer: My knowledge about networking as well as qemu is little to none. I'm using QEMU to run a Debian VM that runs an application. For testing purposes I now want to create a second VM running ...
2
votes
1answer
417 views

Coreboot + QEMU Tutorial Request (Google has failed)

Can anyone point me in the direction of an end-to-end idiot-proof coreboot+qemu tutorial? I'm having trouble understanding how qemu is set up to emulate different hardware (also having trouble ...
2
votes
0answers
201 views

Shared folder between QEMU Windows guest and Linux host

In the past I have used Virtual Box which has very good support for sharing a folder on the host with a Windows guest. I am looking for similar functionality for QEMU. The documentation suggests to ...
2
votes
0answers
72 views

USB ethernet device not working in VM

I'm having trouble getting a USB ethernet device working in a qemu-kvm/libvirt VM. The problem is that even though the guest OS sees the USB device just fine it can't mount it. lsusb on the guest ...
2
votes
0answers
119 views

persistent network interface naming and kvm

I wonder why my network interface is still named eth0 in my kvm guests. udevadm just outputs # udevadm test-builtin net_id /sys/class/net/eth0 2> /dev/null ID_NET_NAME_MAC=enxc2184ae7ab3f I ...
2
votes
1answer
2k views

Arch Linux in Qemu : Failed to access perfctr msr error

I got the Arch Linux (march build) iso file through bittorrent lately. I tried to run it in VM, but it only gets up to the main screen (The screen where you select what you want to do) shown below: ...
2
votes
0answers
187 views

What is the structure of Libvirt Qemu VM dump/save files?

I need to do some exploration of Qemu-KVM virtual machines physical memory (particularly I need to check the fact of the physical memory intersection). In order to do that I'm trying to save VM's ...
2
votes
1answer
104 views

How much time do user => kernel mode transitions take?

I'm running Android-on-Linux, and communication of OpenGL ES calls over the QEMU pipe is very slow. QEMU pipes should be the fastest possible way to do this; could this be due to the repeated ...
2
votes
1answer
210 views

QEMU for ARM programs with GDB [closed]

I want to emulate an ARM processor for running the assembly programs using QEMU in RHEL. I have installed QEMU but I still have problems in running the assembly program. I got the assembly program, ...
2
votes
2answers
640 views

ttyO ports do not have the good port address on QEMU 1.4.0 running image for beagleboard-xm

I'm running an Linux Image (kernel 3.2.8) for beagleboard-xm on QEMU's 1.4.0 emulator Ubuntu distribution for 13.04. My image is created using Buildroot beagle_defconfig. I added some pkgs to be able ...
2
votes
1answer
153 views

QEMU Direct Access to Video Card (or, QEMU Video Output without X11)

I have a system that boots up into Linux at power on and then needs to boot into Windows XP Embedded. After messing around with kexec and grub4dos, things aren't working out too well. One idea that ...
2
votes
0answers
682 views

Qemu doesn't boot kernel after “Uncompressing Linux… done, booting the kernel. ”

I've compiled qemu for s5pc110 (it's from http://gitorious.org/samsung-linux-platform/qemu, somebody had added support for s5pc110), version 0.12. But when I load the kernel: qemu-system-arm -M ...
2
votes
1answer
2k views

How to convert Windows 7 partitions to qcow2?

I know I can use qemu-img tool to convert a raw partition into a image file. But Windows 7 has two partitions. I tried: qemu-img convert /dev/sda1 /dev/sda2 win7.qcow2 But the generated file does ...
2
votes
2answers
1k views

Using mplayer inside kvm/qemu

Is it possible to use mplayer inside kvm/qemu configuration? What video driver should I use? The only driver that worked was sdl and it was super slow. EDIT: I just found out that VirtualBox works ...
1
vote
2answers
287 views

start qemu by giving it a path to a linux root

Good evening, I installed ArchLinux on a USB stick, and I would like to boot it in qemu. Unfortunately, most examples I found boot an image (iso..). The stick is definitely bootable as if I restart ...
1
vote
2answers
1k views

Running Linux kernel in Virtualbox

I just built a Linux kernel on Ubuntu and now I want to make it run on VirtualBox. I wanted it to be in an img format. I created a hard drive image by doing the commands: $ qemu-img create disk.img ...
1
vote
2answers
69 views

grep contents of files based on a list of files

Running CentOS 6.5, qemu-kvm. I have a script which builds a list of running VM's. I want to pull information from those .xml files of only the VM's that are running. cat /dev/null > ...
1
vote
2answers
74 views

how to access the running VMs?

A colleague of a friend of mine established a voluntary project for a gaming union. But the problem now is, that the person is unavailable and I don´t know how I should access the running VMs. I spent ...
1
vote
1answer
3k views

qemu no boot device found!

I am trying to set up a Linux x86_64 virtual machine on a 32bit Linux computer and I've been told aqemu's Wizard is a good option. I can follow the wizard steps, but when I try to start the virtual ...
1
vote
2answers
65 views

how to pass Ctrl-C in qemu

I configured Qemu's grub the following way: GRUB_TERMINAL="serial console" GRUB_SERIAL_COMMAND="serial" GRUB_CMDLINE_LINUX="..console=ttyS0" and run the Qemu process with "-nographic" command line ...
1
vote
2answers
921 views

Installing Ubuntu-13.0 Desktop in Qemu

Following are the details of my system: Fedora Core-18, i686. I am trying to install ubuntu in the qemu. Following are the commands I executed: qemu-img create ubuntu.img 8G qemu-system-i386 -hda ...
1
vote
1answer
1k views

Qemu Arm how to passthrough a PCI Card

I'm trying to access a PCI wifi adapter on a Qemu, simulating vexpress-a9 board. I'm following is this tutorial which shares a passthrough PCI card of the host machine to a guest machine running on ...
1
vote
3answers
609 views

How can I get kqemu or even just qemu to show up in virsh capabilities on CentOS 6.4?

I have a CentOS 6.4 box that I'm trying to set up a VM on to run WinXP. This box doesn't have VT, which may not be ideal, but I'll settle for less than ideal. Apparently I should be able to install ...
1
vote
3answers
2k views

Qemu terminating on signal x from pid xxxx

I've been all over google and back and I cannot locate any information on this particular error. qemu: terminating on signal 15 from pid 3111 I'm using Virtualizor to launch new KVM VPS on my ...
1
vote
1answer
769 views

fdisk hangs on “Syncing disk” when resizing a raw QEMU image

I'm using fdisk to resize the partitions on a raw QEMU image. When I write the new partition table, it hangs at "Syncing disks." Note that I'm running fdisk as non-root since I don't need root to ...
1
vote
1answer
465 views

How do I get QEMU to open without a BadWindow error after ssh'ing with X11 forwarding?

After ssh'ing to a machine (with -X) I run qemu and get the following: X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 25 (X_SendEvent) Resource ...
1
vote
1answer
12 views

libvirtd and filtered ports

I am new to virt-manager. After having configured a virtual network (new interface virbr0) with 2 VMs that should be able to communicate, I discovered that most ports are filtered. For example, the ...
1
vote
1answer
308 views

QEMU can emulate SD card from Linux but not from OSX

Short version I am trying to emulate a RaspberryPi directly from the SD card (using the same commands as presented here from MacOSX. I am using QEMU. However, the partitions on my SD card are not ...
1
vote
1answer
84 views

How to reach only an application in QEMU emulation without X?

I run an OpenBSD guest on an OpenBSD host (Desktop) with QEMU. Because I want to run a webbrowser in a separated environment. I can reach the QEMU machine via ssh -X so I can see the webbrowser. But ...
1
vote
1answer
145 views

Using qemu to boot OpenSUSE (or any other OS) with custom kernel

I want to run OpenSUSE as guest with a custom kernel image which is on my host machine. I'm trying: $ qemu-system-x86_64 -hda opensuse.img -m 512 -kernel \ ...
1
vote
1answer
317 views

What are the right settings for Ubuntu Touch under qemu?

As you can see here, Canonical is releasing the images for Ubuntu touch, the problem is that apparently those are snapshots from a complete installation, there is no installer here and no vmlinuz + ...
1
vote
1answer
154 views

darkstat shown blocked traffic

I've installed Darkstat on a Qemu VM which is connected to a bridge interface on top of main server's interface ( eth0 ) In Darkstat report I can see many hosts in the same IP range of specified VMs ...
1
vote
1answer
790 views

Adding a populated existing disk device to a QEMU raw image

I have a raw QEMU image (vda.raw), and I would like to resize it and add an existing partition, using data I have in a file that contains a raw ext3 file system populated with data (vdb.raw). The two ...
1
vote
1answer
1k views

Boot device /dev/sda1 does not exist on Debian in QEmu

I have an image of Debian/LXDE assembled for ARM and I trying to run it in Qemu. I am using this command: sudo qemu-system-arm -M versatilepb \ -kernel ./vmlinuz-2.6.32-5-versatile \ ...
1
vote
1answer
40 views

qemu hangs on loading Fedora 20 guest

I launch Qemu in test console: % qemu-system-x86_64 -cpu host -boot c -hda fedora.qcow2 -snapshot -m 1024 --enable-kvm -name vm0 -curses -pidfile /var/run/vm0.pid -net none -netdev ...
1
vote
1answer
48 views

troubles mounting qcow2 image of QEMU

Have been trying to mount QEMU image with qcow2 type on Fedora 20 host, according to this article http://docs.openstack.org/image-guide/content/ch_modifying_images.html It appears that 'vgscan' ...
1
vote
0answers
78 views

qemu-img: invalid file format 'raw' [closed]

I'm trying to convert an image using qemu-img but I'm getting an error: qwmu-img: Invalid options for file format 'raw' Here's what I'm doing in the terminal qemu-img convert ...
1
vote
1answer
83 views

Establish connection between Qemu Raspbian machine and Host

Objective: I would like to install several virtual (emulated) Raspberry machines on the laptop, connect them to each other and to the laptop. Afterwards I would like to send tcp packets from virtual ...
1
vote
1answer
520 views

virt-manager PCI passthrough gives error “No IOMMU Found” even w/ Intel IOMMU enabled

I am trying to set up PCI passthrough in virt-manager to grant my Debian Wheezy guest VM access to my laptop's Intel Centrino N wireless card. The Debian default kernel has Intel IOMMU enabled, and I ...
1
vote
1answer
331 views

How to migrate from Proxmox to VMWare?

I am wondering how it is possible to migrate a full hardware VM in Proxmox (qemu) to a full hardware VM in VMWare (vmdk). I have been searching all over the place, and it seems almost impossible to ...
1
vote
0answers
786 views

Cannot Start KVM VM Because Missing BIOS

Whenever I attempt to start a KVM VM on Ubuntu 14.04 with the "kvm" command, I get the following error: qemu: could not load PC BIOS 'bios-256k.bin' I have searched for this file and found it ...
1
vote
1answer
489 views

Qemu 2.0 Windows guest - mouse stops working (vnc) when using usb-passthrough

I have installed Qemu 2.0 on an Ubuntu Server 14.04 LTS computer. I use Qemu to run multiple virtual machines. One of them is using Windows 8.1 Pro (x64) and is used for back-ups. The guest runs fine ...
1
vote
0answers
16 views

Unitary testing: emulating hardware connection or disconnection

I'm writing a program using libudev. And I want to write some tests. But, one of the functionalities of the program has to do with an usb drive being connected or disconnected. I've read plenty of ...
1
vote
2answers
1k views

running kernel on QEMU

I face this message: Failed to execute /initKernel panic - not syncing: no init found. Try passing init=option to kernel. I am using this command line: qemu-system-x86_64 -hda disk.img -kernel ...