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

learn more… | top users | synonyms

1
vote
2answers
49 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 > ...
0
votes
0answers
14 views

Qemu error on buildroot kernel image [closed]

A little history: I wanted to build my own distribution of Linux so i went to Linux from scratch website but it look almost impossible to compile all that packages because of many compile time error ...
5
votes
4answers
2k views

How do I send a shutdown event to a QEMU guest (OpenBSD)?

I'm using virtualisation solely to install OpenBSD onto the bare hardware, and during the installation, the redirection to the serial port didn't get configured, so, I ended up with the system ...
0
votes
3answers
278 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 ...
2
votes
1answer
24 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
33 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
25 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
29 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 ...
3
votes
1answer
1k 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
0answers
22 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
0
votes
2answers
434 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 ...
1
vote
2answers
32 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
1answer
543 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 ...
0
votes
1answer
266 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
29 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 ...
1
vote
0answers
357 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: ...
0
votes
1answer
141 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 ...
3
votes
1answer
45 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 ...
3
votes
1answer
77 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
80 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 ...
1
vote
1answer
429 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
80 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 ...
0
votes
0answers
106 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: ...
1
vote
1answer
257 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 ...
2
votes
1answer
74 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 ...
3
votes
1answer
286 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 ...
1
vote
0answers
217 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 ...
4
votes
2answers
2k 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 ...
0
votes
0answers
19 views

Preparing an initrd for qemu [duplicate]

I have compiled a bzImage but when I try to run it in qemu I get a kernel panic because I don't have an initrd file. So I create one by following the steps in this question but I cannot get it to ...
2
votes
1answer
53 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 ...
0
votes
0answers
17 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 ...
9
votes
4answers
10k 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 ...
3
votes
1answer
87 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
0answers
16 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 ...
0
votes
1answer
43 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
110 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
0answers
69 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
42 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
90 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. ...
4
votes
2answers
1k 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
127 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
0answers
428 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
118 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
2k 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 ...
8
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?
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
186 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 ...
2
votes
1answer
68 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
264 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 ...