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

learn more… | top users | synonyms

3
votes
1answer
824 views

How can I figure out which pty's are from which qemu?

I'm running qemu's like this: $ sudo qemu -boot d -m 1024 \ -netdev tap,id=tap0 \ -device virtio-net-pci,netdev=tap0,id=vth0 \ -drive file=ubuntu.iso,media=cdrom,cache=none,if=ide \ -monitor pty \ ...
3
votes
1answer
641 views

Booting grub legacy via qemu using pxe

I have been trying to boot grub legacy via qemu using pxe. For some reason, the grub does not display the menu and enters into the command mode after displaying the following error. Error15: File not ...
3
votes
1answer
220 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 ...
3
votes
1answer
40 views

Can I enable cephx authentication using a pool in qemu/kvm?

(CentOS 7, Ceph Incunabulus, everything patched up to date) Background I've got a working converged Ceph/qemu/kvm cluster with cephx enabled for authentication. I'm trying to use this to store block ...
3
votes
0answers
26 views

Use case for qemu-static for same architecture

I just discovered that the 64bit amd version of the Ubuntu package qemu-user-static contains the binary /usr/bin/qemu-x86_64-static. Normally, qemu-user-static is used for emulating another ...
3
votes
0answers
121 views

How to send mouse and keyboard to Virt-Manager guest

I have a Windows guest in virt-manager running headless (no spice server) because video is output through a GPU (pci passthrough). But my question now is how to send the keyboard and mouse to the ...
3
votes
0answers
303 views

Why does saving a KVM-QEMU VM requires additional memory?

I have three VMs running on Red Hat Enterprise Linux with 8 GB RAM, each of the VMs has 3 GB allocated, and I also run a 512 MB VM. If we also consider the guest OS's memory usage (usually 1.5 GB due ...
3
votes
1answer
592 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 ...
3
votes
1answer
225 views

Booting a GRUB2 image directly in QEMU

I have an image file that the Linux file utility says is an ELF image. If I create either an GRUB2 based ISO file or a qcow2 file QEMU is able to boot it successfully. For example qemu-system-i386 ...
3
votes
1answer
296 views

Sharing partitions in qemu

Apart from networking and partition sharing I've made qemu work pretty much like I want it to. I've got a bit of a special setup, I need to pass through /dev/sda, /dev/sda1 and /dev/sda2. (Is it ...
3
votes
1answer
3k 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 ...
3
votes
0answers
271 views

Migrate a qcow2 image between storage pools

I have 2 storage pools. host_images (directory storage pool) remote_images (nfs storage pool) How do I copy qcow images from remote_images to host_images using libvirt APIs? I've tried using the ...
3
votes
0answers
254 views

Getty not starting in qemu

I'm trying to get running an ARM based Debian inside qemu. As a rootfs I'm using structure from embeddedarm 2gb sdcard image with versatile 2.6.24 kernel downloaded from fedora qemu tutorial site. At ...
3
votes
2answers
1k 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 ...
3
votes
4answers
3k 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 ...
2
votes
2answers
321 views

Are there any benefits of using .qcow2 over .img and which is recommended for making a VM? [closed]

Are there any benefits of using .qcow2 over .img files when trying to create a VM . I have a smallish debian .iso and have seen at least with .qcow2 that it is slow. I also saw ...
2
votes
2answers
2k views

How to make new KVM with existing hard drive

I've been looking through the options of the QEMU binary, and I can't work this one out: Is it possible to make a new KVM machine with an existing hard drive image with an OS (XP Pro in this case) ...
2
votes
2answers
2k views

Iptables port forwarding to qemu vm

Is it possible to create an IPtables rule that forwards all incoming traffic on port 80 on the host to port 80 of the qemu VM? Is such a scenario possible with qemu?
2
votes
2answers
2k 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 ...
2
votes
3answers
957 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 ...
2
votes
1answer
65 views

Theoretical possibilities for cpu emulation built into boot-loader or kernel?

Is it a crazy idea to somehow make a blend of grub and qemu in order to boot linux kernels or any kernel of any cpu type supported by qemu or the built-in cpu? I know it might be impossible to detach ...
2
votes
1answer
4k 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 ...
2
votes
1answer
260 views

Modifying files inside a snapshot (qemu img file)

I have taken a snapshot recently to assist me build VMs quickly with the operating system I desire (through virsh), however, every time I build a VM, I would like to modify few files inside the img ...
2
votes
1answer
756 views

tunctl complains that device or resource is busy if used in /etc/qemu-ifup script

I have a following /etc/qemu-ifup script which is executed when I start /usr/bin/qemu-system-i386 binary: #!/bin/sh set -x switch=br0 if [ -n "$1" ];then /usr/sbin/tunctl -u `whoami` -t $1 ...
2
votes
1answer
365 views

How does chroot's use of qemu for cross compile environments work?

To be able to do cross compiling there's a trick where you copy a static qemu binary into your <different-arch-root-to-be>/usr/bin and when you chroot into that filesystem, which has non-native ...
2
votes
1answer
3k 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
717 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
3answers
3k 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 ...
2
votes
1answer
800 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
239 views

Qemu USB passthrough (windows guest)

I have a USB ADC/DAC and a HASP protected proprietary data acquisition system for it, both of which do not work in linux. I am trying to make it work in Windows virtual machine using qemu. Here are ...
2
votes
1answer
477 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
575 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 ...
2
votes
1answer
1k 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
343 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
2k 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 \ ...
2
votes
1answer
570 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
52 views

Problems with overall ceph performance with QEMU

I am experiencing some performance problems with my QEMU KVMs on my ceph cluster. The cluster has 4 nodes with 4x1TB drives each, 48/64GB RAM, Intel Xeon and AMD Opterons. They are interconnected by ...
2
votes
1answer
49 views

Qemu - debug new syscall

as a school project I have to add a syscall to the latest stable linux kernel. I did and recompiled the kernel using make defconfig and make. After going through several tutorials to boot the kernel ...
2
votes
0answers
262 views

How to run Ubilinux / u-boot under qemu (x86)

I wish to test Ubilinux (http://www.emutexlabs.com/ubilinux) before flashing it onto my Intel Edison board, which currently has Yocto on it. I am able to emulate Yocto for Edison with qemu, running ...
2
votes
0answers
146 views

Is there a way to emulate a wireless card in qemu / kvm?

Is there a way to emulate a wireless card in qemu / kvm? Or is there no point to this? Is it considered just another interface?
2
votes
0answers
166 views

virt-manager error “format=dir: 'dir' invalid format” when creating qemu VM with ISO

This is virt-manager 1.0.1 on Fedora 20. The server has libvirt 1.2.13-1, qemu 2.2.1-2 on Arch Linux. Go to File -> New Virtual Machine. Select Use ISO Image to install from then browse for it. ...
2
votes
0answers
49 views

How do I emulate N900 hardware? (armel, OMAP3)

Is it possible to emulate the Nokia N900 hardware on my laptop for development purposes? I've had a look at some emulators, and Googled, but I can't find anything relevant. I know there's the Maemo ...
2
votes
0answers
613 views

How to convert the qemu parameters for an osx guest for libvirtd

I managed to have an osx guest running in qemu with the following commands: // create the virtual image $ qemu-img create -f qcow2 mac_hdd.img 35G // .. install osx ... // start the guest $ ...
2
votes
0answers
102 views

Can I disable all linux graphics adapters at boot?

I think I would like to try a VGA-passthrough of my primary (and only) nVidia graphics adapter via qemu and vfio to a virtual machine. As near as I can tell, I meet all of the other qualifications ...
2
votes
0answers
100 views

FC20 - Remote Desktop to QEMU Host

I've got a Fedora 20 Workstation that I'm trying to enable desktop sharing on. The additional complication is that this Workstation is also running QEMU for local virtual machines. I've followed the ...
2
votes
0answers
230 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
436 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
0answers
423 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
195 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
350 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, ...