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

learn more… | top users | synonyms

4
votes
1answer
10k 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
938 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 ...
1
vote
0answers
68 views

Virt-manager Permission Denied when accessing NFS pool

I'm currently having this error when I'm trying to install a Virtual Machine on my NFS share. i've added my NFS share (coming from FreeNAS) to a Storage Pool on the virt-manager Another issue is ...
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 ...
1
vote
1answer
14 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 ...
0
votes
0answers
16 views

Libvirt: no way to use isa bus?

I found a way to run Windows95(I'm a little nostalgic and I use old systems for testing) with qemu /usr/bin/qemu-system-i386 -L pc-bios -m 64 -hda /home/user/.local/libvirt/images/win95.img -net ...
1
vote
0answers
21 views

Performance issues running Linux Mint on qemu-kvm - maybe run in textmode and use remote graphics for administration?

we are running virtual servers on kvm-qemu, using debian wheezy as a host system. Unfortunately one server is based on Linux Mint 17.3. One big issue is the performance of Linux Mint based on kvm. ...
3
votes
1answer
3k 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
19 views

xming / startx - cannot use the GUI

I'm unsure if this is the right place to ask my question but I shoot anyway. If it is not the case, i'll close it I started a GUI with startx. I'm happy with the results. However, as you can see I ...
4
votes
1answer
2k 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
1answer
52 views

Booting a raw disk image in QEMU

I have a disk image file from here; that page says I can boot this image with QEMU and the following command: $ qemu-system-x86_64 -m 4096 -ctrl-grab -no-reboot x86-64.img That gives a message: ...
18
votes
6answers
21k 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 ...
0
votes
1answer
40 views

How to run a Raspiban in QEMU

How do you run a standard Raspbian image in QEMU? I'm following the instructions in this wiki, but the first step is failing. I downloaded the kernal kernel-qemu-4.1.13-jessie and the Raspbian ...
1
vote
1answer
58 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
821 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
3k 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
40 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
1answer
29 views

Bridging two virtual machines on difference bridges

I have two VMs: vm1 & vm2. The host and VMs both are Ubuntu 14.04 LTS. Each VM "connects" to a bridge which connects to a virtual ethernet interface and end up at eth0 i.e. vm1 (192.168.0.23) ...
0
votes
1answer
37 views

What step am I missing to get my 2.6 ARM kernel running in QEMU?

I am trying to cross-compile and boot a Linux 2.6 kernel for ARM using QEMU. I have basically followed the same instructions that are included in seemingly every single tutorial on the topic. ...
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
0answers
36 views

qemu-system-arm problems adding second NIC/bridge

I am running Qemu under a host with two bridge interfaces and would simply like to bridge them to guest NICs. All of this works fine when bridging one NIC either by creating a bridge manually or using ...
0
votes
0answers
22 views

How to firewall qemu/kvm guest in host machine?

I have a qemu guest with following network topology: Internet <-> eth1.96[bridge]tap96 <-> eth0[guest] I need to allow access to guest machine only from one specific /24 network and I ...
1
vote
1answer
24 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 ...
0
votes
0answers
14 views

qemu - linux kernel doesn't recognize the supplied disk image

I'm trying to run Linux kernel on qemu from scratch. I've started working on a minimal configured kernel (after running make allnoconfig) and trying to configure only the things needed. So I have an ...
0
votes
1answer
41 views

qemu: boot from cdrom

I'm trying to install xubuntu on a usb flash drive following this quide. The command I'm running is qemu-system-x86_64 -drive file=/dev/sdc,media=disk,index=0,format=raw -cdrom ...
0
votes
1answer
113 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 ...
1
vote
1answer
66 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 ...
0
votes
0answers
30 views

Trouble accessing QEMU monitor without X or VNC

I am using QEMU on Debian, I am running Windows guests, I have no X environment installed and i am not trying to use a VNC server. I am starting QEMU directly from the console and using VDL to display ...
0
votes
0answers
92 views

How do I install Remix OS in GNOME Boxes?

Remix OS is an interesting desktopification of Android. It can run off a read-write-able USB stick but it doesn’t have an installer. I can boot it up in GNOME Boxes just fine, but as I’m just running ...
0
votes
0answers
24 views

Curses interface for text-mode Xen DomU's

QEMU implements an -options curses (previously -curses) flag for text-mode OSs. From the qemu(1) man page: Normally, QEMU uses SDL to display the VGA output. With this option, QEMU can display ...
0
votes
0answers
17 views

qemu-kvm on windows, use cd/dvd drive direct access

Friend asked me to remotely (teamviewer) diagnose why CD/dvd drive on his windows laptop do not recognize (nor even eject) any CD... It is probably windows10-driver error, but reinstaling drivers do ...
1
vote
0answers
35 views

How do I specify an alternative bridge interface (not br0) when using qemu-bridge-helper

By following the instructions found at http://wiki.qemu.org/Features/HelperNetworking I can configure qemu with qemu-bridge-helper, however, I can't figure out how to pass a bridging interface option ...
16
votes
2answers
406 views

How can I store files in the mounted shared folder?

I am running a Fedora Workstation virtual machine on an Ubuntu host. I created a folder /home/cl/share in the guest and mounted the shared folder /media/cl/system/virtual/share as root following the ...
0
votes
0answers
45 views

Booting into linux kernel 4.1.3 using qemu

I am trying to boot into a compiled Linux 4.1.3 bzImage (disabled modules, so I only had to make bzImage). Correspondingly, I installed ubuntu 15.10 (with Upstart, not systemd) on a qemu cow2 image ...
2
votes
2answers
463 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 ...
0
votes
0answers
24 views

How to debug a bash script in a qemu-arm chroot

I'm running a debian debootstrap script which creates an arm system. However, the script fails at some point and the error message does not really help. So I'll have to do some more debugging which is ...
0
votes
0answers
14 views

how qemu interacts with guest os io requests?

the Linux io stack (eg the path of an io request) is something like this: now when such a guest OS is a Linux distro in qemu, the path is the same except in this case there is no disk and scheme is ...
0
votes
0answers
34 views

Dive into qemu source code to trace io requests

I searched a lot about qemu and read its documentation but could not find any explaining its I/O stack. Specifically, I want to know about how an I/O request is created and what path it travels to ...
3
votes
1answer
129 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 ...
0
votes
0answers
53 views

QEMU kernel panic to serial port

I'm working with kernel 2.6.13.1 on Debian 6 with QEMU/KVM for a class. The kernel, once installed, panics on boot. The curses interface to qemu doesn't seem to allow scrollback to view the entire ...
1
vote
1answer
45 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
0answers
77 views

Easiest *non-networking* method of communication between Linux host and Windows guest [closed]

I'm writing application software for Ubuntu which needs to communicate with another application running in a Windows Virtual Machine via Qemu on the same machine. I have full control over the source ...
0
votes
0answers
49 views

Qemu error: internal error: QEMU / QMP failed: qemu-system-x86_64: PCI bus not available for hda

I get the error below when trying to start my vm with serenity ~ # virsh start winxp-gaming error:failed to start domain winxp-gaming error:internal error: QEMU/ QMP failed: qemu-system-x86_64: PCI ...
5
votes
1answer
1k views

Debugging Linux Kernel with QEMU

I was trying to study the debugging of kernel using QEMU. I tried initially and failed due to the fact that there was no virtual file system. The answers to this post suggests that there should be a ...
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 ...
0
votes
0answers
121 views

Installing qemu-kvm 2.5 on Centos 7

Are there any repos out there that carry the most up-to-date version of qemu-kvm as well as dependencies? I ask because the newest qemu-system has a HUGE list of dependencies and I would like to not ...
0
votes
0answers
45 views

Linux Kernel is panicing on boot

After following this blog post I get a kernel panic when running: qemu-system-x86_64 -kernel bzImage -hda my.img -append=/dev/sda What could be causing this? Could I have left something out?
0
votes
1answer
134 views

Make synergy work between qemu host and guest

I have a working configuration of a Gentoo as a host and a Windows 10 as a guest using QEMU/KVM with GPU passthrough. I also passthrough my keyboard and mouse, and have a secondary keyboard in a ...
0
votes
1answer
71 views

How to disable QEMU guest access to host ports

I'm using the following command to run a QEMU VM: qemu-system-x86_64 -enable-kvm -m 1024 -smp 2 -hda disk.qcow2 By default, the guest OS has internet access, but can also access open ports on the ...
0
votes
2answers
45 views

Category of QEMU

I am a beginner of learning architecture of VM. Some questions cannot find clearly through the internet. There are two kinds of VMM(Virtual Machine Monitor) accord to their virtualization level, ...