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

learn more… | top users | synonyms

2
votes
0answers
319 views

How to run Ubilinux / u-boot under qemu (x86)

I wish to test Ubilinux (http://www.emutexlabs.com/ubilinux) before flashing it onto my Intel Edison board, which currently has Yocto on it. I am able to emulate Yocto for Edison with qemu, running ...
1
vote
1answer
141 views

Using a rados block device as block device in libvirt qemu

What is the difference between using a rados block device in libvirt qemu with disk type='network' and disk type='block'? The ceph guide tells me to do the following: <disk type='network' ...
1
vote
0answers
499 views

Why Debian Jessie is turned off instead of rebooting after installing qemu-kvm?

I'm using a new stable Debian Jessie (minimal installation without DE and standard utilities). First of all, I set 'enabled' for Intel virtualisation in BIOS and installed qemu-kvm as usual: # ...
4
votes
2answers
3k views

Booting Solaris 10 or 11 for Sparc in qemu-system-sparc64

I'm trying to boot Solaris 10 or Solaris 11 for SPARC using qemu-system-sparc64 but keep running into problems early on. I'm using the DVD images sol-10-u11-ga-sparc-dvd.iso and ...
2
votes
1answer
378 views

Modifying files inside a snapshot (qemu img file)

I have taken a snapshot recently to assist me build VMs quickly with the operating system I desire (through virsh), however, every time I build a VM, I would like to modify few files inside the img ...
2
votes
0answers
195 views

Is there a way to emulate a wireless card in qemu / kvm?

Is there a way to emulate a wireless card in qemu / kvm? Or is there no point to this? Is it considered just another interface?
2
votes
0answers
190 views

virt-manager error “format=dir: 'dir' invalid format” when creating qemu VM with ISO

This is virt-manager 1.0.1 on Fedora 20. The server has libvirt 1.2.13-1, qemu 2.2.1-2 on Arch Linux. Go to File -> New Virtual Machine. Select Use ISO Image to install from then browse for it. ...
1
vote
0answers
222 views

Passthrough PS/2 keyboard to guest OS

OS Windows run on VM (ubuntu, libvirt, qemu-kvm). And I have PS/2 keyboard on host hardware. Is there any way to pass it to guest OS without lost of performance (maybe emulate USB keyboard with keys ...
1
vote
1answer
211 views

Why port forwarding does not work in QEMU? [closed]

How to redirect port 5555 of Host OS to port 80 of Guest OS? Host OS: Debian Jessie 64-bit Guest OS: Windows XP SP3 32-bit I'm using the following commands: qemu-system-i386 -enable-kvm \ -name ...
0
votes
1answer
658 views

Configure KVM/QEMU with TLS?

New to virtualization and kvm and I have a problem when i try to create a virtual machine with spice: virt-install --name Windows-7-x64 --ram 2048 --disk path=~/kvm/images/win7.img,size=50 --vcpus=1 ...
0
votes
1answer
231 views

qemu-nbd vs vdfuse for mounting vdi images

What's faster, qemu-nbd or vdfuse? Which support differencing images (snapshots)? I suspect fuse to be slow, but nbd seems to be some old stuff.
1
vote
0answers
338 views

Running Mac OS X under KVM/QEMU

Note to be removed in the future, so as to avoid confusion from answerers and mods edit: Forgot to add in the note, if anyone thinks this is the wrong stack-site to post this, please comment on why, ...
0
votes
1answer
932 views

Boot from virtual usb drive in qemu-kvm

I want to create multi-bootable USB with GRUB2. But I don't want to use physical USB stick to experiment with. How can I create virtual USB to play with it as it is real device using qemu? I want to ...
0
votes
1answer
75 views

How to start qemu virtual machines at boot time?

What are the best practices to start qemu hosts automatically at boot time under Debian Wheezy? I do not use any abstraction layer like libvirt and start my virtual machines manually with for example: ...
2
votes
0answers
54 views

How do I emulate N900 hardware? (armel, OMAP3)

Is it possible to emulate the Nokia N900 hardware on my laptop for development purposes? I've had a look at some emulators, and Googled, but I can't find anything relevant. I know there's the Maemo ...
1
vote
1answer
141 views

How do I detach, then re-attach to a kvm spice session?

I have started a kvm session with typical qxl and spice options. The vm is running in the background via nohup. I then started the spice client on the same host, using it to log in to the vm's gnome ...
1
vote
1answer
841 views

Why is qemu-kvm needed in Debian Wheezy when running qemu with “-enable-kvm” option?

I have a HP Compaq 8200 PC with Intel i5 CPU. I have enabled VT-x in BIOS: ..and CPU supports VT-x as it has vmx flag present in /proc/cpuinfo. I have loaded the kvm LKM: root@VM-host:~# modprobe ...
2
votes
1answer
1k views

tunctl complains that device or resource is busy if used in /etc/qemu-ifup script

I have a following /etc/qemu-ifup script which is executed when I start /usr/bin/qemu-system-i386 binary: #!/bin/sh set -x switch=br0 if [ -n "$1" ];then /usr/sbin/tunctl -u `whoami` -t $1 ...
2
votes
0answers
742 views

How to convert the qemu parameters for an osx guest for libvirtd

I managed to have an osx guest running in qemu with the following commands: // create the virtual image $ qemu-img create -f qcow2 mac_hdd.img 35G // .. install osx ... // start the guest $ ...
1
vote
0answers
391 views

Converting .vhd file to .raw - File is too small and does not boot

I have a Hyper-v .vhd file I am trying to convert to .raw for Proxmox. However every time I convert the size is less than half of the actual disk space used and when I import it doesn't boot. I ...
1
vote
0answers
307 views

(virt-manager:4796): Client failed to connect to the D-BUS daemon / Unable to connect to libvirt

I would like to boot and run Windows 8 with kvm or xen while I'm running Debian Wheezy. Actually I have installed Windows 8 on the external USB disk and Debian Wheezy on the hard disk sata. I'm tryng ...
1
vote
1answer
1k views

Using of qemu-system-x86_64 with key -enable-kvm on VirtualBox

I have windows 7 as host. I launch virtualbox with ununtu 14.04 on my Windows 7. I try to launch debian inside Ubuntu: qemu-system-x86_64 -enable-kvm -hda disk.img -boot c -m 256 -localtime. Another ...
2
votes
0answers
137 views

Can I disable all linux graphics adapters at boot?

I think I would like to try a VGA-passthrough of my primary (and only) nVidia graphics adapter via qemu and vfio to a virtual machine. As near as I can tell, I meet all of the other qualifications ...
2
votes
0answers
107 views

FC20 - Remote Desktop to QEMU Host

I've got a Fedora 20 Workstation that I'm trying to enable desktop sharing on. The additional complication is that this Workstation is also running QEMU for local virtual machines. I've followed the ...
0
votes
0answers
652 views

How to enable Vesa driver in qemu

I am running Red Hat 7 into a VM using virt-manager (qemu) and it seems that it uses by default, Cirrus driver: 00:02.0 VGA compatible controller [0300]: Cirrus Logic GD 5446 [1013:00b8] (prog-if 00 ...
0
votes
1answer
619 views

Geting error in qemu “No such file or directory”

I want to install windows 10 64 bit but the my current verson of windows is 32 bit so it is unable to run the setup.exe file so booted into ubuntu 14.10 64 bit and installed qemu to use my current ...
1
vote
1answer
83 views

libvirtd and filtered ports

I am new to virt-manager. After having configured a virtual network (new interface virbr0) with 2 VMs that should be able to communicate, I discovered that most ports are filtered. For example, the ...
3
votes
1answer
920 views

virt-manager: is it possible to assign specific IP addresses to certains VMs via the virtual DHCP?

using virt-manager quite successfully. I am wondering if it's possible to specify in the virtual DHCP server, that some virtual machines will have a specific IP address (maybe via MAC address ...
0
votes
1answer
842 views

No network interface in QEMU

My network interfaces never shows up in my guest computer. I'm compiling a linux kernel (3.3 I think) from scratch with default settings + Symbol: NE2K_PCI [=y] Type : tristate Prompt: PCI NE2000 ...
3
votes
0answers
388 views

Why does saving a KVM-QEMU VM requires additional memory?

I have three VMs running on Red Hat Enterprise Linux with 8 GB RAM, each of the VMs has 3 GB allocated, and I also run a 512 MB VM. If we also consider the guest OS's memory usage (usually 1.5 GB due ...
2
votes
1answer
533 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 ...
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 ...
3
votes
1answer
729 views

qemu hangs on loading Fedora 20 guest

I launch Qemu in test console: % qemu-system-x86_64 -cpu host -boot c -hda fedora.qcow2 -snapshot -m 1024 --enable-kvm -name vm0 -curses -pidfile /var/run/vm0.pid -net none -netdev ...
6
votes
1answer
7k views

Shared folder between QEMU Windows guest and Linux host

In the past I have used Virtual Box which has very good support for sharing a folder on the host with a Windows guest. I am looking for similar functionality for QEMU. The documentation suggests to ...
1
vote
1answer
380 views

troubles mounting qcow2 image of QEMU

Have been trying to mount QEMU image with qcow2 type on Fedora 20 host, according to this article http://docs.openstack.org/image-guide/content/ch_modifying_images.html It appears that 'vgscan' ...
2
votes
0answers
259 views

USB ethernet device not working in VM

I'm having trouble getting a USB ethernet device working in a qemu-kvm/libvirt VM. The problem is that even though the guest OS sees the USB device just fine it can't mount it. lsusb on the guest ...
3
votes
1answer
274 views

Booting a GRUB2 image directly in QEMU

I have an image file that the Linux file utility says is an ELF image. If I create either an GRUB2 based ISO file or a qcow2 file QEMU is able to boot it successfully. For example qemu-system-i386 ...
4
votes
2answers
1k views

Place grub on virtual disk

To learn about Linux startup process I placed grub in a disk image file and tried to boot using qemu. I currently has not put any kernel image into the drive just grub. I installed grub using kpartx ...
1
vote
2answers
2k views

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 are not ...
0
votes
4answers
992 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 ...
2
votes
1answer
693 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 ...
8
votes
1answer
4k 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
3k 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 ...
1
vote
2answers
156 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
425 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
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 ...
0
votes
1answer
381 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
504 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
94 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