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

learn more… | top users | synonyms

3
votes
2answers
174 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$ ...
0
votes
2answers
79 views

Bridged interfaces do not have internet access

I'm trying to run a QEMU VM but it doesn't have an internet access, only access to the host and a Docker network. What I did: Created a bridge with: brctl addbr virbr0; Turned it on: ip link set up ...
0
votes
0answers
45 views

Installing qemu-user-static and binfmt-support inside an LXC

I'd like to run armhf executables inside an amd64 LXC container. How to do that? update-binfmts --display shows no qemu interpreters.
0
votes
0answers
37 views

linux kernel-4.3 and sda disk image

I have cross compiled the linux kernel-4.3 for arm and created ext2 disk image. I have copied the rootfs into disk image. I have tested the disk image with cross compiled kernel version 2.6.33.2 on ...
2
votes
1answer
155 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?
0
votes
1answer
148 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
122 views

HOWTO: Fix “Cannot parse sensitivity level in s0” error when attempting to start a KVM VM after a major OS upgrade

I have a Lenovo ThinkPad T430 running Red Hat Enterprise Linux 6.7 with kernel 2.6.32-573.8.1.el6.x86_64. This is a work computer and my corporate policy states that I must keep my operating system up ...
2
votes
0answers
737 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
2answers
584 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 ...
1
vote
1answer
128 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 ...
2
votes
0answers
96 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 ...
0
votes
1answer
221 views

qemu with kvm guest OS is slow

I am trying to create a Windows 7 virtual machine on a Gentoo x86_64 host (kernel 3.18.9 hardened) using qemu-system-x86_64 2.3.0 with kvm enabled. I have successfully compiled the kernel and have ...
0
votes
1answer
40 views

qemu command to start an iso and include a file.img as hard drive

i'm currently using debian jessie , and i can't find qemu launcher in its repositories . however i wanted to know how to start or boot an iso image and inclure a raw file (file.img ; created ...
1
vote
0answers
20 views

Golden image updates in qemu

Consider that there are 100 windows virtual machines coming from a single base image and each vm is added to domain along with minor other machine specific settings which can be done by a script. ...
1
vote
0answers
33 views

ISC DHCP Server - Qemu system

I've been trying to get dhcp address by an ISC Server. I have one DHCP Server and one qemu server with multiple image tiny core. Hopefully this ascii drawing illustrates the topology: Over the qemu ...
2
votes
1answer
188 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): ...
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 ...
0
votes
0answers
77 views

Pre-built Linux kernel with CONFIG_AEABI for Raspberry Pi emulation in qemu

I'm trying to run a RaspberryPi emulation on QEMU following the instructions from: http://cubik-tech.blogspot.com/2013/02/raspberry-pi-emulation-on-windows.html (and many similar posts) But I'm ...
1
vote
1answer
51 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 ...
6
votes
2answers
999 views

logging and debugging for qemu virtual machines

I had a qemu virtual-machine which crashed several times because HDD in hypervisor had no space left. This made me wonder is there a possibility to to set up a logging/debugging for quemu ...
2
votes
1answer
55 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 ...
1
vote
1answer
821 views

Libvirt: how to pass qemu command line args?

I have the current libvirt 1.2.20 i want to pass to my machine create with virt-manager some qemu flags. I edited the file and add </devices> <qemu:commandline> <qemu:arg ...
3
votes
0answers
36 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 ...
1
vote
1answer
882 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 ...
0
votes
1answer
117 views

Unreliable QEMU guest agent responses

I have a script for automatic backups of my KVMs. Before taking a LVM snapshot I'm trying to freeze the filesystems of the KVM with the QEMU guest agent. It works good most of the time but randomly I ...
0
votes
1answer
94 views

Qemu - substitute the init process

I have a couple of questions concerning qemu boot options 1) When using the following argument init=/bin/sh It works - but is really the init-process replaced by a sh-process? Qemu-system-x86_64 ...
0
votes
0answers
40 views

spice-client full window

installing spice-client gives me 3 client options for connecting to qemu machines: spicec (small and ~perfect test-program but shift-F12 release cursor won't work) spicy (more useful options but can ...
2
votes
2answers
1k views

Are there any benefits of using .qcow2 over .img and which is recommended for making a VM? [closed]

Are there any benefits of using .qcow2 over .img files when trying to create a VM . I have a smallish debian .iso and have seen at least with .qcow2 that it is slow. I also saw ...
1
vote
0answers
116 views

How to run Windows with GPU virtualization?

A year ago I switched to Ubuntu for my primary OS, which has worked out just fine. Every now and then I want to play computer games and while using Wine often works, I can't get all of the games that ...
0
votes
1answer
114 views

QEMU guest agent problems - hosts and guests in different versions

We have multiple hosts with multiple KVMs each. Some hosts run with Ubuntu 12.04 LTS and newer ones with 14.04 LTS. The guests also have different versions like 12.04 LTS and 14.04 LTS. I want to ...
0
votes
2answers
143 views

QEMU Guest Agent for Ubuntu 12.04 LTS

I've been looking for the QEMU Guest Agent for Ubuntu 12.04 LTS. It seems like the Guest Agent is included in the official Repository from Ubuntu 14.04 and up ...
1
vote
3answers
626 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
0
votes
1answer
373 views

can't launch android emulator while logged in over vnc?

i have a headless box running bbqlinux that i'm trying to use as an android-studio development box. when i go to launch an .avd in the emulator, i receive this error: Cannot launch AVD in emulator ...
0
votes
0answers
58 views

Running a custom kernel on qemu

I am trying to test some feature of Ubuntu 12.10 server edition with the kernel version 3.5.0. I am running the qemu as qemu-system-x86_64 -m 2G -hda ubuntu.img -kernel linux-3.5/arch/x86/boot/bzImage ...
0
votes
1answer
76 views

ssh over unix pipe or pty device [closed]

Ok, I don't even know how to put this into words. I have a /dev/myDevice which automatically connects to some ssh server when opened. How do I connect to it with ssh? Is this even sane? If it's insane ...
4
votes
2answers
2k views

Running X86 binaries on armv7

I am trying to run a SNBC USB printer on Raspberry Pi2. For that I need to copy the filter binary of the SNBC USB printer to /usr/lib/cups/filter. But the filter binary is compiled using a x86 ...
0
votes
0answers
36 views

Qemu overlay image size limit

I created a qemu ubuntu vm. Now I use overlay images as a quick way of creating vm's "on the fly". But what is the size limit for an overlay image? Is it the size of the "base" image? Or can it grow ...
1
vote
1answer
114 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
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 ...
0
votes
1answer
559 views

QEMU Aarch64 and networking connections

I just set up an ARM64 image using QEMU and I'm trying to access the internet from within the binary. The host OS(Ubuntu) receives internet from the eth0 interface. I have the tap0 interface set up. ...
0
votes
1answer
48 views

“ifconfig -a” does not show any interfaces

I just set up a QEMU image with Ubuntu on ARM64 as per the instructions described here. However, ifconfig -a does not seem to show me an eth0 or eth1 interface as I'd expect. Why is that? ...
1
vote
1answer
335 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
0answers
95 views

Gnome-boxes not able to see virtual machines after sleep

I am having a bit of trouble to solve this issue. I am using gnome-boxes to run my windows boxes for my school project purpose. When I boot the system, everything works just fine When I type : ...
0
votes
1answer
736 views

enabling vnc after using virt-install

I've created a virtual machine using virt-install with graphics --none. I want to enable vnc. I've tried virsh -c qemu:///system qemu-monitor-command vm171-SC-1 --hmp change vnc :3 but it doesn't ...
3
votes
0answers
160 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 ...
0
votes
0answers
169 views

No sound coming from Linux-based virtual machines under Qemu on Linux Mint 16 host - why?

I have been using Qemu and virt-manager for quite some time (years) now and it's only recently that I noticed I don't get any sound output from any of my Linux-based virtual machines — it's always ...
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
424 views

qcow2 and qemu-system-arm

I just tried booting up a Debian ARMel build using QEMU on my Ubuntu machine as follows :- qemu-system-arm -M versatilepb -kernel vmlinuz-3.2.0-4-versatile -initrd initrd.img-3.2.0-4-versatile -hda ...
0
votes
0answers
107 views

Qemu Linux(kernel with debugging symbols) and ARM

I'm looking for a Linux ARM kernel, disk image and initrd that is compiled with debugging symbols. I'm looking to debug the kernel using the qemu and gdb. Could you point me to an arm linux image that ...
0
votes
1answer
84 views

Windows XP virtual machine crashes installing driver for host-mapped Velleman K8090 USB relay card

I have an existing Windows XP (Win32) virtual machine running under Qemu 1.5.0 on Linux Mint 16. I wanted to test Velleman 8 channel USB relay card. There is a generic driver available, which I ...