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

learn more… | top users | synonyms

5
votes
1answer
2k views

Running bzImage in QEMU: Unable to mount root fs on unknown-block(0.0)

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 with the error message: Unable to mount root fs ...
1
vote
2answers
3k 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 ...
10
votes
1answer
6k 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?
7
votes
2answers
7k views

Linux kernel is not finding the initrd correctly

I had compiled a linux kernel and I wanted to debug it in QEMU. I created a file to boot from by doing the commands $ qemu-img create -f raw disk.img 200M $ mkfs.ext2 -F disk.img # mkdir /mnt/rootfs ...
4
votes
1answer
5k 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
0answers
224 views

No network interface for the lan9118 emulated on QEMU 1.4.0 overo machine

Im using QEMU 1.4.0 Ubuntu 13.04 distribution. Im trying to make the virtrual machine part of the host network so Im ussing this command: sudo qemu-system-arm -M overo -m 1024 -sd ./test.img -clock ...
0
votes
1answer
630 views

Geting error in qemu “No such file or directory”

I want to install windows 10 64 bit but the my current verson of windows is 32 bit so it is unable to run the setup.exe file so booted into ubuntu 14.10 64 bit and installed qemu to use my current ...
8
votes
1answer
4k views

Emulate RaspberryPi using QEMU

I would like to run a RaspberryPi system on my MacOSX using QEMU. I tried the following, using this tutorial: ./qemu-system-arm -M versatilepb -cpu arm1176 -m 256 -hda ArchLinuxARM-2014.06-rpi.img ...
4
votes
3answers
6k views

QEMU how to ping host network?

I'm trying to ping from guest to my host network without success. qemu-system-x86_64 -hda debian_squeeze_amd64_standard.qcow2 -netdev user,id=user.0 -device e1000,netdev=user.0 I try to ping a ...
4
votes
1answer
3k views

qemu - two clients (tap0 & tap1) via br0 can't ping eachother but server pings ok

I've got: A host system running Ubuntu with KVM (functional) Two clients, one Ubuntu and one Windows 7, nothing fancy. I've also setup (see below) a bridge via br0 for the clients: br0: ...
3
votes
2answers
4k 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. ...
5
votes
1answer
970 views

Retrieve serial port information of a libvirt domain?

I'm trying to retrieve the serial port information, aka Source Path of a libvirt domain (using qemu/KVM machine): Serial Device 1 (Primary Console) Device type: pty Source path: /dev/pts/2 But ...
2
votes
2answers
592 views

Making /dev/net/tun available to qemu?

I have created a tap device (tap0) which I would like to provide as a network interface to qemu. I created the device with the following command and attached it to a network bridge I set up: tunctl ...
2
votes
1answer
759 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
425 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
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 ...
1
vote
1answer
115 views

Virtualisation: follow symbolic links in VirtFS (9p) share

I have folder on host machine which have symlinks to another device. Like this $ ls -all ~/folder_to_share ... file1 file2 linked_dir -> /mnt/bdrive/real_dir/ ... I setup QEMU virtual machine ...
1
vote
1answer
884 views

not syncing: Attempted to kill init! in custom kernel for qemu

I have been working on building a linux kernel for qemu. I have been following the tutorial http://xecdesign.com/compiling-a-kernel/ As of now i have been able to boot the kernel until start of init ...
1
vote
2answers
1k 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 ...
0
votes
1answer
152 views

KVM - nat or bridge. How I do that

I have Debian Jessie server, and I have install apache server. From apache hosted several sites from different ip address. My server have resources for KVM. My question is - How I can set my free IP ...
0
votes
1answer
963 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 ...