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

learn more… | top users | synonyms

1
vote
2answers
1k 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 ...
3
votes
1answer
16 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 ...
2
votes
1answer
2k 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: ...
12
votes
4answers
13k views

How do I boot from a liveusb using qemu-kvm?

I am trying to get qemu-kvm to boot from my live usb stick. Is this possible?
1
vote
0answers
7 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
681 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 ...
0
votes
1answer
411 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 ...
0
votes
1answer
755 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
528 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 ...
0
votes
1answer
18 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
14 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 ...
1
vote
2answers
63 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 ...
0
votes
3answers
408 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 ...
3
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
0answers
32 views

Adding QEMU/KVM option to virsh VM starting script

I use libvirt to manage a QEMU/KVM system. Starting a VM only by using virsh start vmname What I want to know is how to add an option to virsh starting script, in my case I want to add QEMU ...
2
votes
0answers
71 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 ...
2
votes
1answer
86 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 ...
1
vote
1answer
301 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 ...
2
votes
1answer
211 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
1answer
40 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 ...
2
votes
0answers
195 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
47 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' ...
1
vote
1answer
90 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 ...
3
votes
0answers
37 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
1answer
2k views

How do I get my mouse back from qemu/kvm?

I'm running qemu/kvm on Debian testing x64 with this command: kvm -m 1024 -hda win7.img -cdrom win7x86.iso -boot d -net user but when I click inside the virtual machine, qemu captures my mouse and ...
1
vote
3answers
608 views

How can I get kqemu or even just qemu to show up in virsh capabilities on CentOS 6.4?

I have a CentOS 6.4 box that I'm trying to set up a VM on to run WinXP. This box doesn't have VT, which may not be ideal, but I'll settle for less than ideal. Apparently I should be able to install ...
5
votes
1answer
324 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
2answers
915 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
2answers
122 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 ...
1
vote
0answers
76 views

qemu-img: invalid file format 'raw' [closed]

I'm trying to convert an image using qemu-img but I'm getting an error: qwmu-img: Invalid options for file format 'raw' Here's what I'm doing in the terminal qemu-img convert ...
1
vote
1answer
506 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 ...
0
votes
0answers
45 views

vdi image wont boot after converting from raw format

I created a virtual disk from a live archlinux instance following this article which is bootable and works. to summarize: > fallocate -l 4G archlinux.raw > mkfs.ext4 -F archlinux.raw > ...
1
vote
1answer
80 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 ...
0
votes
2answers
3k views

Installing qemu-img on ubuntu 11.04

I am developing a linux kernel and I am trying to to debug it in QEMU. I want to be able to run it in QEMU but it stops because I do not have a virtual hard drive to boot it(using the -hda command). I ...
2
votes
3answers
1k views

QEMU do not start when executed in background inside shell script

I have an application that runs fine, with and without '&' when run directly from the terminal. However, if I try to execute it from a shell script, it works only if the trailing '&' is ...
0
votes
0answers
111 views

QEMU fullscreen mode on external monitor

I recently purchased an external monitor which I succesfully connected to my Lenovo Thinkpad and the accompanying Lenovo Advanced Dock via a DVI-D cable and it works fine so far. Unfortunately, I'd ...
2
votes
3answers
2k views

QEMU how to ping host network?

I'm trying to ping from guest to my host network without success. qemu-system-x86_64 -hda debian_squeeze_amd64_standard.qcow2 -netdev user,id=user.0 -device e1000,netdev=user.0 I try to ping a ...
1
vote
2answers
69 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 > ...
5
votes
4answers
3k views

How do I send a shutdown event to a QEMU guest (OpenBSD)?

I'm using virtualisation solely to install OpenBSD onto the bare hardware, and during the installation, the redirection to the serial port didn't get configured, so, I ended up with the system ...
2
votes
1answer
67 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
1answer
326 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
76 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
118 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
38 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
1
vote
2answers
73 views

how to access the running VMs?

A colleague of a friend of mine established a voluntary project for a gaming union. But the problem now is, that the person is unavailable and I don´t know how I should access the running VMs. I spent ...
0
votes
0answers
51 views

Bridge-utils installed on ubuntu 13.04 but unable to start the service

I upgraded my laptop Ubuntu 12.04 to 13.04. Before upgraded to Ubuntu 13.04, I installed qemu-kvm, bridge-utils, libvirt-bin & ubuntu-vm-builder. There its worked properly, After upgraded to ...
0
votes
1answer
375 views

Solaris 10 installation on KVM constantly reboot

Successfully installed Solaris 10 sparc on KVM. However when I restarted the VM it doesn't go to login screen but just constantly reboots. I've read different documents link1 link2 link3 but none of ...
4
votes
1answer
91 views

Sharing partitions in qemu

Apart from networking and partition sharing I've made qemu work pretty much like I want it to. I've got a bit of a special setup, I need to pass through /dev/sda, /dev/sda1 and /dev/sda2. (Is it ...
5
votes
1answer
268 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 ...
6
votes
1answer
230 views

kvm killed by oomkiller

kvm version: QEMU emulator version 1.1.2 (qemu-kvm-1.1.2+dfsg-6+deb7u3, Debian), Copyright (c) 2003-2008 Fabrice Bellard libvirtd version: libvirtd (libvirt) 0.9.12.3 debian version: 7.5 I'm running ...