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

learn more… | top users | synonyms

0
votes
1answer
15 views

Share a folder between Linux host and Windows guest VM

I'm trying to share a folder between my main OS (openSUSE 42.1) to a guest Windows 7 virtual machine, but I'm unable to set it up properly. I access the VM from virt-manager, and I've read that the ...
1
vote
0answers
16 views
+150

VM host management in case of Linux bridge

I have a virtual-machine host(vm-host) which runs two qemu-kvm virtual machines in tap mode. This means that network topology looks like this: As I need to manage vm-host over VLAN 123, I see three ...
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 ...
4
votes
2answers
4k 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 ...
1
vote
1answer
16 views

Proxmox hook for VMs

We have Proxmox installation. We want to execute a command after new VM was added. It is required for QEMU port redirection since setting redir option is not avaialble on GUI: qm set 102 -args "--...
0
votes
0answers
10 views

QEMU-KVM for Debian Stretch sometimes disables a passed-through USB keyboard

I am running Debian Stretch on an AMD A4-5300 APU using a PCI passthrough setting with vfio-pci, with my sound chip and my graphics card assigned to my VM as per this guide here and with my keyboard ...
8
votes
2answers
3k 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 ...
2
votes
1answer
556 views

Getting an already installed Android x86 partition to run on KVM

(Originally posted on SuperUser here, but posted here due to lack of responses.) I have Android installed on sda3, and it boots fine when loaded from Grub with the following commands: set root='(hd0,...
0
votes
0answers
8 views

Top sliding panel doesn't show when hovered in Qemu while VM is displayed full screen

I'm running libvirt-1.3.5 and qemu-2.6.0 on Manjaro 16.0. Whenever I run a VM full screen, the slider that I once expected to slide down, which would allow me to resume from full screen doesn't show ...
4
votes
1answer
3k 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
12 views

Input/output error when copying Qemu raw image

I'm trying to clone a VM on a CentOS 6 server using virt-clone, but every time I run it I get: ERROR failed reading from file '/var/lib/libvirt/images/myimage.img' : Input/output error I've also ...
0
votes
0answers
25 views

Access to disk partitions from QEMU

I have two OSes installed on my hard drive - Windows and Linux. These are setup in a dual-boot configuration. The hard drive uses GPT and UEFI. I'm looking for a way to grant QEMU (in Linux) access ...
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 ...
3
votes
1answer
21 views

QEMU VM using virtio drivers without kernel support / module on host?

I was trying to verify that my Win 8.1 VM running in QEMU is getting the full VirtIO benefit for the disk (raw image format) and for the network card. I read this related post and accessed the QEMU ...
0
votes
0answers
18 views

Guest has not initialized the display yet (QEMU) PPC

I am running into an issue with QEMU, I am trying to create a ppc image using the following qemu-system-ppc -hda hda.qcow2 -cdrom debian-8.5.0-powerpc-lxde-CD-1.iso -boot d The image was taken ...
1
vote
1answer
42 views

How to avoid the difference in options that were used for creation of ext4 partitions on different Linux distro?

I have some set of scripts that create qcow2 file with grub legacy (0.97) with special patch to boot from ext4 and ext4 file system for '/'. When I run those scripts on Ubuntu 12.04/14.04 the VMs ...
1
vote
0answers
38 views

Use of virtio on QEMU without KVM

I want to write a simple driver for use inside a QEMU virtual machine, which will be communicating with the host through a respective backend special virtual device. The said driver and backend ...
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
32 views

qemu infinite loop on boot

I'm currently trying to set up a virtual machine emulating a ARMv7 Cortex-A8 on a x64 host running qemu. I've got a zImage which was built with the realview defconfig and a rootfs in cpio format. ...
2
votes
1answer
90 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 ...
4
votes
2answers
2k views

how to pass Ctrl-C in qemu

I configured Qemu's grub the following way: GRUB_TERMINAL="serial console" GRUB_SERIAL_COMMAND="serial" GRUB_CMDLINE_LINUX="..console=ttyS0" and run the Qemu process with "-nographic" command line ...
3
votes
1answer
3k views

Install Solaris 8 on Qemu-SPARC

I've been struggling with installing Solaris 8 Sparc-32bit on Qemu for a while. So far I've viewed several sites with instructions on how to install Solaris-sparc32bit on Qemu. But only yesterday was ...
1
vote
0answers
19 views

qemu-img convert burning CPU for nothing

I'm trying to reduce the usage of a qcow2 image. I did the following: qemu-img convert -p -f qcow2 -O qcow2 my_img.qcow2.backup my_img.qcow2 I outputs 200192 bytes and progress is stuck at 0.00%. ...
1
vote
1answer
198 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 ...
3
votes
1answer
27 views

Is it possible to add description to qemu VMs?

Is it possible to add description to qemu virtual machines? I mean something similar to qemu -enable-kvm -description "RHEL test-host" .... This would allow one to easily identify virtualized hosts in ...
1
vote
0answers
14 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
976 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
0answers
21 views

Which ports to open in ufw for Windows in QEMU

I'm running Windows 7 in QEMU under Debian using bridge-networking. However when i have ufw enabled and start Windows i can not connect to the Internet. As soon as i disable ufw the virtual Windows-...
0
votes
0answers
45 views

CVE-2016-3710 mitigation in CentOS 7

I have a box running CentOS 7 for KVM virtualization purposes. What is proper steps to mitigate CVE-2016-3710 in my OS? $ rpm -qa --changelog qemu | grep CVE-2016-3710 shows nothing. Current ...
0
votes
0answers
17 views

Qemu and booting images

Complete beginner question: why do I have to pass an extra kernel binary when running e.g. a Debian image on an emulated Raspberry Pi? So far all docs state, the image files pose the equivalent of a ...
1
vote
0answers
103 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 ...
1
vote
1answer
54 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
0answers
38 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
38 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. ...
0
votes
0answers
26 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 ...
0
votes
1answer
469 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: ...
22
votes
6answers
22k 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 archarm-...
1
vote
1answer
139 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
79 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 -...
2
votes
1answer
59 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
35 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
66 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
61 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
35 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
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 ...
0
votes
0answers
15 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
58 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 ./xubuntu-15.10-...
0
votes
1answer
148 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
143 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 ...