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

learn more… | top users | synonyms

2
votes
0answers
257 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
504 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
498 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
218 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
381 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
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 ...
2
votes
0answers
963 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
2k 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
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 ...
1
vote
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 ...
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 ...
1
vote
2answers
156 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
217 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 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
1answer
26 views

utility to view qemu virtualized hardware

I have one qemu VM running in my PC: # cat -A /proc/$(pgrep qemu)/cmdline | sed 's/\^@/ /g'; echo qemu-system-x86_64 -enable-kvm -no-user-config -daemonize -cpu Haswell -smp 2,cores=2 -m 4G -device ...
1
vote
1answer
84 views

How to mount qcow2 image

I've read that with qemu-nbd and the network block device kernel module, I can mount a qcow2 image. I haven't seen any tutorials on mounting a qcow2 via a loop device. Is it possible? If not, why? I ...
1
vote
1answer
109 views

qemu command line management

I'm interested in qemu, specifically the kvm feature in Linux which is operated through the command line. I see there are a ton of features available for gnome-boxes and libvirt specifically. My ...
1
vote
1answer
332 views

Qemu and AARCH64

I'm trying to setup an ARM64 machine using QEMU. I ended up fetching the kernel and img file from here and here. I reached the above links from here. When I try to run the OS as :- qemu-aarch64 -m ...
1
vote
1answer
52 views

Setting up QEMU and MIPSEL : networking trouble

I have a MIPSEL machine running on QEMU. In order to enable networking inside my qemu MIPSEL machine, I use a bridge virbr0. First, I create the interface tap0 and bring it up. I do it as follows :- ...
1
vote
1answer
837 views

Why is qemu-kvm needed in Debian Wheezy when running qemu with “-enable-kvm” option?

I have a HP Compaq 8200 PC with Intel i5 CPU. I have enabled VT-x in BIOS: ..and CPU supports VT-x as it has vmx flag present in /proc/cpuinfo. I have loaded the kvm LKM: root@VM-host:~# modprobe ...
1
vote
1answer
1k views

Using of qemu-system-x86_64 with key -enable-kvm on VirtualBox

I have windows 7 as host. I launch virtualbox with ununtu 14.04 on my Windows 7. I try to launch debian inside Ubuntu: qemu-system-x86_64 -enable-kvm -hda disk.img -boot c -m 256 -localtime. Another ...
1
vote
2answers
2k 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
2answers
3k 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
1answer
404 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
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 ...
1
vote
2answers
1k 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
623 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
25 views

Execute command inside guest vm Libvirt

Is it possible to execute a command for eg:iostat inside a guest VM using libvirt or virsh .I want to find out IOPS for a guest vm but with libvirt java api I am not able to get the IOPS of a vm ...
1
vote
1answer
65 views

Is it possible to access qemu monitor when VM is already running?

I have a qemu VM running in daemonized mode: qemu --enable-kvm -daemonize -m 512M -device e1000,netdev=network,mac=52:54:00:12:34:58 -netdev tap,id=network,ifname=tap301,script=no,downscript=no ...
1
vote
1answer
52 views

Qemu curses interface dimensions

I'm running a virtual machine from qemu with the -curses flag in order to view it over a slow ssh connection. Everything works well enough, but the terminal window that I have to interact with the ...
1
vote
1answer
123 views

Encrypt partition and allow qemu to use it as the guest drive

I am trying to encrypt a 25gb partition on my SSD with cryptsetup in such a way that will allow QEMU-KVM to use it as the guests drive. I have tried luksformatting the drive: cryptsetup luksFormat ...
1
vote
1answer
114 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
50 views

Disk space in windows not representing actual qcow2 image size

The disk space shown in Windows running in KVM does not represent the actual disk space available for the qcow2 disk image. The Windows Management Console shows there is 100 GB for the drive, but ...
1
vote
3answers
612 views

I want to try out AIX in my pc, can i emulate it or get it to run for a very affordable price?

sorry, i'm to new to AIX. i love unix and i try different kinds. so can it be emulated with QEMU or can i buy an old IBM processor to use it? or some other easy way? thanks
1
vote
1answer
112 views

How to let Qemu autoselect a listening port for Spice?

I'm switching some VMs from VNC display type to SPICE. VNC display type offers a very handy to= parameter allowing QEMU to automatically use the first free port from a defined range: -display ...
1
vote
1answer
138 views

How do I detach, then re-attach to a kvm spice session?

I have started a kvm session with typical qxl and spice options. The vm is running in the background via nohup. I then started the spice client on the same host, using it to log in to the vm's gnome ...
1
vote
1answer
83 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
378 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
1answer
3k 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
263 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 ...
1
vote
1answer
757 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 ...
1
vote
1answer
128 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
241 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
405 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
199 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
1k 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
0answers
24 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 ...
1
vote
0answers
11 views

understand “-netdev” option in qemu

When I start qemu with -device e1000,netdev=network0 -netdev tap,id=network0,ifname=tap299,script=no,downscript=no, then am I correct that this id=network0 creates an association between vNIC and ...
1
vote
1answer
60 views

Arch linux ( kvm/qemu virtualization ) failed to open libiscsi.so.4

I have fallowed the steps from Arch Linux #KVM and #qemu 1) sudo pacman -S then installed libs libvirt libiscsi libaio qemu qemu-arch-extra qemu-block-iscsi qemu-block-rbd qemu-block-gluster ...