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
28 views

Is it possible to add description to qemu VMs?

Is it possible to add description to qemu virtual machines? I mean something similar to qemu -enable-kvm -description "RHEL test-host" .... This would allow one to easily identify virtualized hosts in ...
3
votes
2answers
210 views

Debian 8 install in QEMU/KVM guest failing due to ext4-fs / “read only filesystem” errors

I am on Debian 8.2 and trying to install a Debian 8.2 QEMU/KVM guest. I created a virtual disk image file and booted into the Debian installer ISO with the following commands: jesse@deb:~/vms$ qemu-...
3
votes
2answers
930 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 -...
3
votes
1answer
1k views

virt-manager: is it possible to assign specific IP addresses to certains VMs via the virtual DHCP?

using virt-manager quite successfully. I am wondering if it's possible to specify in the virtual DHCP server, that some virtual machines will have a specific IP address (maybe via MAC address mapping?)...
3
votes
1answer
3k 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 ...
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. It'...
3
votes
2answers
90 views

VM host management in case of Linux bridge

I have a virtual-machine host(vm-host) which runs two qemu-kvm virtual machines in tap mode. This means that network topology looks like this: As I need to manage vm-host over VLAN 123, I see three ...
3
votes
1answer
112 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 ...
3
votes
1answer
943 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
715 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
246 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
225 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
44 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
233 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
414 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
771 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 type=tap,id=net0,...
3
votes
1answer
310 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
0answers
293 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
7k views

Installing qemu-img on ubuntu 11.04

I am developing a linux kernel and I am trying to to debug it in QEMU. I want to be able to run it in QEMU but it stops because I do not have a virtual hard drive to boot it(using the -hda command). I ...
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
3k 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
1k 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
68 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
5k 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
140 views

Android-x86_64 installer does not boot in QEMU/KVM - EFI Shell appears instead

I downloaded Android x86_64 5.1-rc1 as bootable img installation image. I want to install it to a virtual machine running on Ubuntu 16.04 64 bit with UEFI using QEMU/KVM and virt-manager as graphical ...
2
votes
1answer
214 views

How to run a gui client os in a virtual machine on non gui linux host?

Is it possible to run a windows gui client in a virtual machine hosted in a non gui linux? How to set this up? and how to connect to such a machine?
2
votes
1answer
422 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
1k 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
445 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
1k views

Qemu Backing Files Question

If I'm creating a new.qcow2 qcow2 image based on a backing file (called base.qcow2) and the backing file is located on an nfs share. What happens if someone tries to modify, replace, or delete the ...
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
777 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
849 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
251 views

Virtfs (Plan 9) vs NFS as tool for share folder for virtual machine

I have QEMU virtual machine. Linux host and linux guest. I want stable and fast solution with minimal performance cost. I'm considering two technologies for shared folders (between guest and host): ...
2
votes
1answer
564 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 root='(hd0,...
2
votes
1answer
766 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
2k 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 --cdrom=/var/lib/libvirt/CentOS-6.5-x86_64-...
2
votes
1answer
410 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
622 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
19 views

Is there a way to make faster QEMU snapshots without using libvirt?

I have a Lenovo ThinkPad T430 running Red Hat Enterprise Linux 6.7, kernel 2.6.32 and QEMU-KVM 0.12.1 (per corporate policy I am not allowed to run a more cutting-edge distribution or any more recent ...
2
votes
1answer
72 views

How can I merge 2 disk images into one with 2 partitions?

I have 2 (relatively small) disk images for qemu (raw format) containing different filesystems (say fat and ext4). I want to put them into an usb stick as two different partitions so that I can plug ...
2
votes
0answers
1k views

Why can't the kernel run init?

I've downloaded the Raspbian image on this page. I'm trying to compile a kernel that can be used to boot the image within qemu. I downloaded the Linux kernel source from kernel.org and ran: make ...
2
votes
0answers
117 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
62 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
360 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
228 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?