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

learn more… | top users | synonyms

1
vote
0answers
13 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' ...
5
votes
1answer
2k views

Running bzImage in QEMU: Unable to mount root fs on unknown-block(0.0)

I compiled the kernel by doing make menuconfig and make. I was trying to run the bzImage in qemu, by doing qemu -kernel bzImage but it didn't work out with the error message: Unable to mount root fs ...
2
votes
2answers
1k 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 ...
0
votes
3answers
580 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 ...
0
votes
1answer
976 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
1k 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 ...
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 ...
3
votes
1answer
971 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 ...
2
votes
2answers
2k 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 ...
5
votes
1answer
501 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 ...
0
votes
0answers
111 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: # ...
2
votes
1answer
59 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
28 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
1answer
5k 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: ...
1
vote
0answers
20 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. ...
2
votes
0answers
30 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?
1
vote
0answers
23 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 ...
0
votes
1answer
631 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
1answer
47 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 ...
1
vote
1answer
942 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 ...
6
votes
3answers
7k 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 ...
0
votes
0answers
13 views

live-build strange symbols during boot

So I'm booting up my Debian live-build through QEemu and gets this strange symbols. Anyone know what it is?
0
votes
1answer
74 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
45 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 ...
2
votes
1answer
124 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 ...
0
votes
0answers
39 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.
0
votes
0answers
55 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
82 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
35 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: ...
1
vote
0answers
26 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 ...
4
votes
1answer
215 views

Socksifying a qemu-kvm using tsocks

I'm trying to socksify a qemu-kvm using tsocks, but I have no success. I don't know if qemu access directly the hardware, skipping the OS or something like that, but I wasn't able to do this feat. ...
1
vote
1answer
34 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 ...
0
votes
3answers
468 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 ...
12
votes
5answers
14k 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
90 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 ...
0
votes
0answers
19 views

Which program and when uses /etc/qemu-ifup script?

Under Debian Wheezy qemu-system package installs a shell-script named qemu-ifup: root@VM-host:~# dpkg -S /etc/qemu-ifup qemu-system: /etc/qemu-ifup root@VM-host:~# /etc/qemu-ifup has a following ...
1
vote
1answer
145 views

How to setup permission for virtfs in system libvirtd

I have troubles setting up the permissions for virtfs. I need to share a folder with several VMs in a way that user (same username, uid and gid on guests and host) can access it (have full ...
1
vote
0answers
140 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
74 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
130 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
129 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
54 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 ...
1
vote
2answers
1k 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 ...
5
votes
1answer
960 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 ...
0
votes
0answers
51 views

Using ks.cfg with virt-install?

I've been trying to get a virtual machine working with a cfg file on centos but unfortunately, I'm getting the error that ks.cfg file does not exist. Below is the command I ran to enable the VM. ...
0
votes
0answers
35 views

Looking for a new conf for HA Data Server and Virtual Machines with Glusterfs

I own three HP server for lots of users and email, web and a development machine. I want to make my virtual machines to be available all times, but have some issues. My configuration is as follows: ...
3
votes
1answer
115 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 ...
2
votes
0answers
45 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
161 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
0answers
12 views

Geting error “Must specify either driver or file” using physical disk in QEMU [duplicate]

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