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

learn more… | top users | synonyms

1
vote
1answer
123 views
+100

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 (or even ...
0
votes
2answers
48 views

running qemu on Fedora20

With Fedora20 and built from sources qemu-2.1.1, I'm experiencing issues to run qemu with non-root privileges: % qemu-system-x86_64 -hda vdisk.img -m 512M -netdev ...
1
vote
0answers
34 views

qemu-img: invalid file format 'raw' [closed]

I'm trying to convert an image using qemu-img but I'm getting an error: qwmu-img: Invalid options for file format 'raw' Here's what I'm doing in the terminal qemu-img convert ...
0
votes
0answers
24 views

vdi image wont boot after converting from raw format

I created a virtual disk from a live archlinux instance following this article which is bootable and works. to summarize: > fallocate -l 4G archlinux.raw > mkfs.ext4 -F archlinux.raw > ...
1
vote
1answer
32 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 ...
5
votes
1answer
95 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 ...
1
vote
1answer
176 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 ...
0
votes
0answers
38 views

QEMU fullscreen mode on external monitor

I recently purchased an external monitor which I succesfully connected to my Lenovo Thinkpad and the accompanying Lenovo Advanced Dock via a DVI-D cable and it works fine so far. Unfortunately, I'd ...
1
vote
2answers
64 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 > ...
2
votes
1answer
44 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 ...
1
vote
1answer
90 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 ...
0
votes
1answer
52 views

qemu can't run linux kernel

I saw this question and I did pretty much the same but I enabled initrd in configuration to use temporary root file system and no other modification but I still get this error on: qemu -kernel ...
2
votes
0answers
74 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 ...
0
votes
0answers
32 views

Error Restoring Virtual Machine

I've gotten an error restoring a virtual machine. How should I resolve / troubleshoot this error: Error restoring domain: internal error Device 001:004 is already in use
1
vote
2answers
54 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 ...
0
votes
0answers
39 views

Bridge-utils installed on ubuntu 13.04 but unable to start the service

I upgraded my laptop Ubuntu 12.04 to 13.04. Before upgraded to Ubuntu 13.04, I installed qemu-kvm, bridge-utils, libvirt-bin & ubuntu-vm-builder. There its worked properly, After upgraded to ...
2
votes
1answer
1k views

Arch Linux in Qemu : Failed to access perfctr msr error

I got the Arch Linux (march build) iso file through bittorrent lately. I tried to run it in VM, but it only gets up to the main screen (The screen where you select what you want to do) shown below: ...
3
votes
1answer
159 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 ...
5
votes
1answer
146 views

kvm killed by oomkiller

kvm version: QEMU emulator version 1.1.2 (qemu-kvm-1.1.2+dfsg-6+deb7u3, Debian), Copyright (c) 2003-2008 Fabrice Bellard libvirtd version: libvirtd (libvirt) 0.9.12.3 debian version: 7.5 I'm running ...
2
votes
1answer
272 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 ...
3
votes
1answer
65 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 ...
0
votes
0answers
189 views

SOLVED: KVM Can't Read Keymap File on Ubuntu 14.04

When I try to create a KVM domain with virt-install on Ubuntu 14.04, I get the following message: ERROR internal error: process exited while connecting to monitor: Could not read keymap file: ...
2
votes
1answer
131 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 ...
1
vote
0answers
453 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 ...
0
votes
0answers
24 views

booting freezes after used scheduler greatest stack depth error

I have built the linux kernel 3.14 with debug info. When I tried to boot it gives following error and after that booting freezes. Can somebody tell me how to fix this ? Linux Version : Slitaz in ...
1
vote
1answer
421 views

Qemu 2.0 Windows guest - mouse stops working (vnc) when using usb-passthrough

I have installed Qemu 2.0 on an Ubuntu Server 14.04 LTS computer. I use Qemu to run multiple virtual machines. One of them is using Windows 8.1 Pro (x64) and is used for back-ups. The guest runs fine ...
0
votes
0answers
18 views

TightVNC shows the window cropped

I am running debian live cd in qemu (kvm), and when I connect to VNC via vncviewer localhost:5900 the window is cropped to some static width and height combination. Making window fullscreen or ...
3
votes
1answer
118 views

Backtrace of “git clone” running inside qemu-user-emulation based arm-chroot

I'm running a wheezy:armhf chroot using qemu user emulation on my jessie:x86_64 system. Somehow, a git clone on a particular private repository will hang inside the chroot, while succeed natively. ...
0
votes
1answer
271 views

Solaris 10 installation on KVM constantly reboot

Successfully installed Solaris 10 sparc on KVM. However when I restarted the VM it doesn't go to login screen but just constantly reboots. I've read different documents link1 link2 link3 but none of ...
0
votes
1answer
70 views

Secondary bridge only working at random in debian wheezy

We are currently migrating from vmware server to kvm. So far everything works smooth, with the exception of the secondary bridge. Our network layout is as follows: Firewall with 3 ports eth0 Public ...
2
votes
1answer
214 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 ...
3
votes
0answers
102 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
1answer
56 views

filesystem that works under qemu and I can mount on my host

I'm using qemu for different kind of tasks, I would like to pick a filesystem that is both qemu-compatible and easy to mount under my host. I already discarded both qcow and qcow2 because apparently ...
0
votes
0answers
121 views

How to install Ubuntu 13.10 virtual machine on top of KVM running on Ubuntu 13.10

When I try to install LUbuntu 13.10 as a virtual machine using Qemu-KVM running on Lubuntu 13.10, I get a garbled screen when I start the virtual machine and/or when I start the installation process. ...
5
votes
2answers
2k 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 ...
1
vote
2answers
198 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 ...
2
votes
0answers
167 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 ...
1
vote
0answers
16 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
336 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 ...
1
vote
2answers
700 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
90 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
29 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
83 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
165 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
542 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 ...
0
votes
1answer
340 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 ...
3
votes
1answer
60 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
130 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
641 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 ...
1
vote
2answers
700 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 ...