QEMU (short for "Quick EMUlator") is an open source machine emulator and virtualizer.

learn more… | top users | synonyms

4
votes
0answers
511 views

Using directory as initrd in QEMU

Is there a way to use a directory as initrd when booting QEMU? I know how to use the -kernel and -initrd flags for QEMU to boot a kernel and initrd without needing to first create a bootable device ...
3
votes
0answers
342 views

qemu: How to use resolutions > 1024x768 in Windows 8(.1)?

In previous Windows versions, I was able to get higher resolutions in qemu/qemu-kvm by passing the -vga std or -vga vmware command line parameters. However, when I try the same for Windows 8 (and 8.1)...
3
votes
0answers
2k views

pulseaudio, in a KVM virtual machine (as root) and your desktop (not root) playing audio at the same time?

How do you get pulseaudio to play sound in a KVM virtual machine (running as root) and your desktop apps (not running as root) at the same time? It seems that by default, it will only play sound for ...
2
votes
0answers
88 views

Bridged qemu machine cannot receive packets, these are dropped

I've created virtual machine (ppc) with bridged interface (using bridge helper) on archlinux. Machine can send packet out, but cannot receive anything. I can see packets (dhcp discover,request and/or ...
2
votes
0answers
172 views

QEMU CPU Emulation Capability

Is it possible to emulate any/all Sandy Bridge CPUs using QEMu? Specifically, I am trying to get something akin to an Intel Xeon E5-26xx (a SandyBridge processor) running on hardware employing a ...
1
vote
0answers
11 views

accessing core microarchitecure in QEMU, HOW?

I have two questions: 1) Is QEMU a full system simulator or a virtalization layer? 2) when it installed, Is it possible to access micro architecture elements of a core such as registers ,...? I need ...
1
vote
0answers
34 views

qemu: emulated nic is too fast

On archlinux, I started a VM with qemu emulating a rtl8139 network card by giving it the following parameters: -device rtl8139,id=nic0,netdev=tap0 -netdev tap,id=tap0,ifname=tap0 After booting the ...
1
vote
0answers
694 views

Unable to configure KVM (Qemu or Libvirt) on openSUSE Leap 42.1?

I simply want to run multiple VM (not at the same time). I want them to be stored in another partition (mounted here /run/media/shark/VM) and not in the default storage pool /var/lib/libvirt/images/...
1
vote
0answers
15 views

VM inside host VM cannot see avx cpu flag

I have an Ubuntu 14.04 server installed on a VM inside VirtualBox. This VM acts as my host for other VMs. I ran a Linux based image using qemu inside this host VM. The host VM has cpu flag avx but the ...
1
vote
0answers
92 views

Centos 7 KVM cifs mount issues

I am having a issue with Centos changing my KVM images folder from the default to a Cifs Shared folder. Any time I try it, it returns a error like so: [root@localhost Centos_Atomic]# systemctl status ...
1
vote
0answers
139 views

How can I run Qemu with the “-nographic” option in Mac OS X?

Does anyone know how to run Qemu with the -nographic option in Mac OS X? The idea is to use the native Terminal for a text based operation instead of running inside Qemu’s own window. The -nographic ...
1
vote
0answers
251 views

qemu virtual machine send desktop switching command to host

I would like to set up qemu/virt-manager/spice so that I can run a VM full-screen on its own KDE virtual desktop. I have ctrl-alt-{up,down} set up as desktop switching shortcuts, but I need a way to ...
1
vote
0answers
100 views

qemu apt-get error failed to fetch

I am running a qemu terminal and trying to scp files into it. In qemu, I am running a linaro release. I have configured /etc/network/interfaces with auto eth0 iface eth0 inet dhcp I have also ...
1
vote
0answers
599 views

qemu-kvm Windows 7 GUEST with vga passthrough doesn't work

Ok so I have a qemu-kvm Win7 VM setup. When setting it to use the standard vga output "-vga std" it works fine. Windows loads up, displays, no problems. If i set -vga none \ -device vfio-pci,host=...
1
vote
0answers
180 views

How to get a list of connected NBD devices on Ubuntu?

Looking at the man pages for nbd-server and nbd-client and qemu-ndb I don't see any way of listing what NBD devices are connected. Is there a way of doing this? The closest I can find by ...
1
vote
0answers
252 views

Windows 98 networking doesn't work in QEMU

I installed Windows 98 in QEMU. I want to run networking in user mode. I start it with qemu-system-i386 win98.img -m 256 -soundhw sb16 so it should be using default network hardware and probably ...
1
vote
0answers
172 views

How to boot a USB 3.0 SATA HDD inside a Windows 7 Qemu Virtual Machine

I have a Windows 7 VM, that I would like to recognize a SATA HDD that is plugged into a Voyager Q (USB 3.0 "enclosure"). I have tried various commands, and tried logging the output of the command ...
1
vote
0answers
29 views

spicy-client assertion failure after computer crash

I usually use spice-client to connect to remote VMs without any problem. Today during usual work my pc freezed (I am strong confident that this is not due to spice) and forced me to brute shutdown. ...
1
vote
0answers
218 views

KVM Arch install - no network

I often use KVM to try out various Linux distros. All I have tried so far get an automatic network, Red Hat and Debian have all connected out of the box, no problem. Makes installations very easy. ...
1
vote
0answers
326 views

How to forward usb port to guest OS using qemu

I have lots of usb devices and I would like to connect them to guest os. Currently I'm forwarding one device at a time. $ qemu-system-x86_64 ... -usbdevice host:xxxx:yyyy I would like to give ...
1
vote
0answers
949 views

nova-compute libvirt x86_64 emulator Error

I was trying to install openstackin Ubuntu12.04 server. I find that Nova-compute is not getting started and the error is the below. I followed some of the suggestions in various forums, but nothing ...
1
vote
0answers
280 views

How to bootstrap a MIPS NetBSD iso in qemu?

I'm trying to bootstrap a NetBSD 4.0 iso in qemu, but am not having much luck. My host computer is running OS X, and I successfully installed qemu with homebrew, but have been unable to bootstrap the ...
1
vote
0answers
86 views

QEMU: weird display output when install debian on mac osx

I got weird display when I tried to install debian on osx 10.9.1 qemu-system-i386 -hda debian.img -cdrom ~/Downloads/debian-testing-i386-netinst.iso -boot d QEMU is the newest version brewed from ...
1
vote
0answers
91 views

Swapping floppies in FreeDOS+Qemu

I am trying to replace a floppy inside a qemu machin running freedos 1.1. I remove the old floppy and inserts the new using change floppy0. Now when I dir A: nothing has changed. If I try to run a ...
1
vote
0answers
176 views

Unknown OS hostname and product in virt-manager

I'm using libvirt on a Fedora 19 host, running various Linux guests with QEMU and KVM hypervisors. Using the virt-manager GUI, when I look at the guest Overview screen, in the Operating System ...
1
vote
0answers
109 views

Can QEMU be used on Mac OS X to emulate a one-core CPU (preferably only the CPU)?

Can QEMU do this kind of emulation? On Macs there's no an easy way to set CPU affinity, so this could an interesting workaround for the older programs that don't work well in multi-core environments.
1
vote
0answers
181 views

-kernel option like in QEMU for BOCHS

I am working on creating my own kernel using C/Asm. I have always used QEMU as my emulator mainly because I can specify -kernel and it boots the kernel directly without a boot loader. I wish to switch ...
1
vote
0answers
1k views

Running FreedomBox in Qemu

I wanna run the latest FreedomBox image on my Ubuntu laptop. The FreedomBox image is for DreamPlug, a 1.2 GHz Marvell Kirkwood 88F6281 SoC (ARM9E), and my Ubuntu is v12.10 (3.5.0-17-generic i686). ...
1
vote
0answers
837 views

Virtualized guest vs host CPU usage

I am using qemu with kvm as my hypervisor. I am running a gentoo guest on an ubuntu host. The guest is being given a single processor. When I run a compute intensive job (say empty-loop) I get almost ...
1
vote
0answers
136 views

Making qemu-based Marss simulation deterministic

I am using Marss cycle-accurate simulator, which uses QEMU. It is a full system simulator and gives both user and kernel stats. However, even if I take only user-stats, the statistics vary a lot ...
1
vote
0answers
299 views

Using VNC client to access local QEMU VM

I have installed Debian in a QEMU VM and am currently using the default QEMU Manager as the main display, since QEMU allows VNC as the main display. I have a VNC client installed on my PC; can I view ...
1
vote
0answers
487 views

Trying to run QEMU with a file as hda

I'm trying to run QEMU and use a simple file on the host system as the guest's hard drive. Here's what I attempted so far: $ dd if=/dev/zero of=/home/felix/vm/archlinux.img bs=1MB count=8192 8192+0 ...
0
votes
0answers
18 views

How to install OS using Rescue Mode?

What we have: A server with a Linux distribution on it. No physical access to that server. The server can be accessed via Serial Terminal or via network using SSH, for example. I can also boot that ...
0
votes
0answers
40 views

How to boot Windows 7 UEFI recovery partition?

I've got an image of a hard drive that won't boot from within a Qemu VM. I managed to get UEFI working using OVMF, but it still won't give me an option to boot the recovery partition. Given that I ...
0
votes
0answers
6 views

QEMU sparc displays only a black screen

I'm trying to play with an old Redhat install on Sparc, so I do this to create a disk image: qemu-img create -f qed redhat.img 2G Then this to start it: qemu-system-sparc -bios ss5.bin -vga cg3 -g ...
0
votes
0answers
30 views

Vagrant private network with connection to the Internet

We have a set of integration tests which spin up several virtual machines. These VMs communicate with each other but also needs access to the outside world (e.g. yum repositories). We're considering ...
0
votes
0answers
55 views

Get custom kernel parameter variable of booting qemu

Im currently using qemu on windows for testing my own linux distribution. its a embedded version built with buildroot. After building the distribution i have created a iso file. When i start the ...
0
votes
0answers
65 views

KVM/QEMU Guest mounting Host Storage

I'm running CentOS 7 on a host machine and I'm wondering the best practice to automatically mount a hard drive for a KVM guest. I've made an Illustration to help describe what I'm trying to do. The ...
0
votes
0answers
29 views

KVM virtual Win 7 instance not genuine

Running kvm, qemu, libvirt... and have six virtual machines, five Linux, one Win 7. All the Linux instances are running perfectly as is the win 7 instance, but... After installing the Win 7 machine we ...
0
votes
0answers
5 views

Virtual Machine on Limited User Account

I want to run a virtual machine on my limited user computer. I do not care how slow it is I just need to get a VM going. I heard about QEMU portable but the website download is offline. Where can I ...
0
votes
0answers
101 views

Wanting to run x86 binaries in Crouton Linux on dev-enabled Asus Chromebook Flip (ARM)

Yes, I know this may be very esoteric. :) I have a few simple x86 programs which run fine using Wine in any stock x86 desktop Linux. None of them have any 3D graphics or unusual hardware needs. I'...
0
votes
0answers
139 views

How to create a secure KVM/QEMU (libvirt) smb/cifs share host to client?

I run a Ubuntu Server 14.04.03 LTS as host machine and the same os version as virtual client (minimal virtual kernel) with KVM on the same machine. I run two physical Ethernet cards on the physical ...
0
votes
0answers
11 views

Accessing postgres DB from guest

I have win7 guest on qemu-kvm with NAT inteface. And want to connect to postgresql database running on host (port 5432) from guest. Configuring tap/bridge interface is the only way to solve this? I ...
0
votes
0answers
478 views

QEMU/KVM can't set qxl video ram size

I'm trying to enlarge video memory size of qxl-vga device. Guest os (windows 7) shows only 16mb of video memory available. I've installed windows guest tools. When I'm trying to set more video memory ...
0
votes
0answers
39 views

Raspbian in qemu ssh not working

I recently downloaded qemu to emulate raspbian.It works but I wanted to show to a friend with ssh but when I write ifconfig and press enter they give me an ip address that not working when I try to ...
0
votes
0answers
58 views

How to convert qcow2 to VMDK in openstack kilo

I was trying to convert qcow2 to vmkd in Openstack Kilo version using the qemu img convert. qemu-img convert -f qcow2 osname.qcow2 -O vmdk osnamenew.vmdk But the converted image while booting in ...
0
votes
0answers
228 views

Installing VMs in CentOS 7 host from ISO?

I'm trying to install a CentOS 7 guest in a CentOS 7 host, using text only. I'm using simillar commands as: virt-install --name centos7 --ram 1024 --disk path=/var/kvm/images/centos7.img,size=25 --...
0
votes
0answers
8 views

Difference between an qemu instance with identical args started manually and by libvirt

I have a VM managed by libvirt. I'll call it ExampleVM here: Id Name State ---------------------------------------------------- 55 ExampleVM ...
0
votes
0answers
155 views

Cannot allocate memory QEMU

I'm currently running Windows 10. I tried to use QEMU on my PC to emulate Windows 98 Live CD, everything worked perfectly until I tried to allocate more memory than the default(128MB). I tried to use ...
0
votes
0answers
100 views

KVM / Qemu Virtualization Live-Snapshot

im running an Ubuntu 14.04 Host with KVM/Qemu (libvirt) as virtualization host. Now im here to ask for the best practise about creating snaphots for the whole VMs. i read much about a Live-Snapshot ...