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

learn more… | top users | synonyms

3
votes
2answers
55 views

ssh from host to guest using qemu

How do I setup ssh from the host to the guest using qemu? I am able to use port redirection when I boot the VM without any special parameters, as follows: /usr/bin/qemu-system-x86_64 -hda ubuntu1204 ...
3
votes
1answer
909 views

Networking and Samba from a quest OS running on qemu

I'm trying to test some software on a big endian system to ensure compatibility. My plan is to use qemu on Ubuntu 12.04 to emulate a MIPS system. So far I've been able to create the quest system ...
0
votes
3answers
196 views

NFS server on qemu guest

I need to know how I can mount block devices, placed on a qemu guest system, from host. So in this case we have NFS server placed on guest system and NFS client on the host's side. There are a lot ...
1
vote
2answers
18 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 ...
3
votes
1answer
241 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 ...
0
votes
1answer
259 views

qemu emulator for raspberry

I am trying to emulate a raspberry pi on ubuntu. I have tried several ways using several tutorials but every time, the emulator logs this: scsi: 0:0:0:0 ABORT operation started scsi: 0:0:0:0 ...
3
votes
0answers
208 views

VGA passthrough - Code 43 with KVM and libvirt on all AMD hardware

I've set up a system with an R9-270 and an ATI Rage (PCI graphics card, doesn't use radeon driver) on an FX-8320 and an ASRock 970 Extreme3 R2.0 motherboard with the intention of running Debian Wheezy ...
1
vote
0answers
18 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 ...
7
votes
1answer
1k views

booting qemu/kvm directly from a file system

Having used Xen and its pygrub for a while, I'm now trying to do something similar with KVM/qemu. Basically, I have a LVM logical volume (though that could as well be a file) that contains the root ...
4
votes
2answers
2k views

How can I restore default window size in KVM/QEMU

In KVM/QEMU machine window size by default matches guest OS resolution. But if I resize windows (accidently) how to restore default size?
8
votes
3answers
9k views

How can I chroot into a filesystem with a different architechture?

I'm trying to chroot into a Arch Linux ARM filesystem from x86_64. I've seen that it's possible to do using static qemu by copying the binary into the chroot system: $ cp /usr/bin/qemu-arm ...
1
vote
0answers
11 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 ...
0
votes
1answer
28 views

How can I simulate usb storage device connection with qemu?

I'm writting a program for controlling usb storage device connections (this is a classic subject). All it's ok with my program, but now, I want to write some tests. So in order to do that, I realized ...
0
votes
1answer
113 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
1answer
37 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 ...
0
votes
0answers
21 views

Proper way for setting general policy and firewall rules with libvirtd

I'm just struggling with the firewall configuration of our new KVM Host. I think by now I understand how libvirtd implements networking, but I'm missing a way to set some decent firewall rules. To ...
0
votes
1answer
106 views

kvm usb modem passthrough

I'm trying to set up a USB modem passthrough in kvm virt-manager. The host is Fedora 20. The guest is Centos 6 $ ifconfig wlp0s29u1u6: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether ...
0
votes
1answer
30 views

How to setup permission for virtfs in system libvirtd

I have troubles setting up the permissions for virtfs. I need to share a folder with several VMs in a way that user (same username, uid and gid on guests and host) can access it (have full ...
0
votes
1answer
48 views

What is qemu-img consistency check?

I would be glad if someone could explain the meaning of qemu-img check <filename> command. Man pages provide very poor information about it: check [-f fmt] [-r [leaks | all]] filename ...
3
votes
1answer
190 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
48 views

Run Windows program on Linux in a secure way

I am trying to find a way to achieve a secure execution of Windows programs inside a Linux installation. I suppose that a Windows malware should not do any damage (infect the machine), if executed ...
0
votes
1answer
53 views

How to start a virtual machine filled with qemu-nbd?

I migrated a Windows OS (entire disk) to a virtual machine on another host (Debian with qemu and kvm). I used Selfimage to export the disk. On the host, first of all, I created an empty virtual ...
0
votes
1answer
175 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
1answer
128 views

How do I get my mouse back from qemu/kvm?

I'm running qemu/kvm on Debian testing x64 with this command: kvm -m 1024 -hda win7.img -cdrom win7x86.iso -boot d -net user but when I click inside the virtual machine, qemu captures my mouse and ...
0
votes
0answers
62 views

Xen VNC - VGABIOS Rom Missing

I've had a Xen server with VNC running successfully for almost a year now. However, recently, when I tried to connect to an HVM domain with VNC, it displays a blank screen. When I looked in the QEMU ...
1
vote
3answers
986 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
0answers
203 views

Qemu: No file system could mount root (unable to mount roofs)

In Linux, I've created the root file system (rootfs) by following commands: dd if=/dev/zero of=ramdisk.img bs=1M count=4 mkfs.ext2 ramdisk.img sudo mount -o loop ramdisk.img rootfs sudo cp init ...
1
vote
0answers
343 views

Cannot install Debian on QEmu-arm

I'm trying to run Debian 6 network install with this command: sudo qemu-system-arm -M versatilepb -kernel ./vmlinuz-2.6.32-5-versatile -initrd ./initrd.gz -hda ./debianlxde.img -m 256 -append ...
0
votes
1answer
38 views

How much success can I expect with Qemu On PowerPC Linux?

I'm on Ubuntu 12.04 for PowerPC and I installed Qemu just for kicks, having experience using it in the past to build an iso for an arm tablet, and upon doing a search I found this installed on my ...
1
vote
2answers
819 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 ...
2
votes
2answers
971 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) ...
7
votes
1answer
2k views

Running Debian i386 binary on Debian armel via qemu

I am trying to follow this guide to set up a Ventrilo server on my SheevaPlug, running Debian armel. This page states that I can use QEMU to run the binary that was made for i386 on my arm system. ...
5
votes
3answers
608 views

Is it possible to run KVM over a qemu emulated powerpc architecture

I understand that qemu uses binary translation to emulate machines, so irrespective of the underlying architecture, it can provide emulation. And, KVM uses Hardware Virtualization technique to make ...
3
votes
2answers
2k views

Mouting a kvm qemu disk image with multiple partitions

I am trying to mount a KVM-qemu disk image with this command: sudo mount -o loop,offset=32256 centos6.img /mnt/centos6. But it shows this error: you must specify filesystem type. As I have more ...
3
votes
2answers
3k views

Qemu & AIX 6.1 - what am i missing?

I have a Fedora 14 i386 / T7100 C2D HP notebook. I need to run e.g.: AIX 6.1 on it for testing purposes. I installed a VirtualBox on this Fedora machine. I installed a guest os in the VirtualBox. ...
2
votes
2answers
923 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 ...
3
votes
0answers
101 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 ...
4
votes
1answer
3k views

keyboard and mouse not working in QEMU

I'm trying to run a Linaro Beagleboard image under Qemu and I have trouble with the keyboard and mouse. Basically neither the keyboard nor the mouse work once the boot process completes. I tried two ...
2
votes
1answer
398 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 ...
6
votes
1answer
2k views

Load Linux bzImage in QEMU?

I compiled a Linux by doing make menuconfig then make and now I have compiled the most recent version of Linux. How can I load the kernel into QEMU?
2
votes
1answer
853 views

Running bzImage in QEMU

I compiled the kernel by doing make menuconfig and make. I was trying to run the bzImage in qemu, by doing qemu -kernel bzImage but it didn't work out: How can I fix it? How can I run the bzImage ...
0
votes
1answer
136 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
51 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 ...
2
votes
1answer
1k views

Kernel and QEMU : Unable to mount root fs error

I am trying to run a distro in the virtual disk image with a custom kernel,so that I can experiment and debug the kernel. I followed this to make a disk image and then install Debian to it. Now I ...
0
votes
0answers
210 views

Mouse and keyboard not working in qemu emulation of beagleboard with latest angstrom image

I was trying to emulate an angstrom image for beaglexm in qemu on my Ubuntu 12.04 laptop. In a new window the image boots up and autologins into GNOME shell. But keyboard and mouse remains ...
1
vote
1answer
486 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 ...
0
votes
1answer
264 views

QEMU package not available for RHEL 64 bit

I am installing QEMU in RHEL. In 32 bit OS (i686 architecture), if I run the command, yum install qemu, the installation of QEMU takes place. However, in 64 bit architecture (x86_64), if I run the ...
2
votes
1answer
156 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, ...
0
votes
1answer
164 views

Installation of QEMU, GCC for ARM in RHEL

We are setting up a lab which has the QEMU system to emulate an ARM processor and run assembly programs. The lab is currently setup with the host operating system as Ubuntu. We are migrating the lab ...
0
votes
0answers
49 views

Running assembly program in RHEL

I am new to system administration and we are trying to install QEMU emulator, GCC for ARM and GDB to communicate with the QEMU/ARM program being executed in RHEL. I was having troubles installing the ...