Tagged Questions

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

learn more… | top users | synonyms

2
votes
1answer
98 views

How much time do user => kernel mode transitions take?

I'm running Android-on-Linux, and communication of OpenGL ES calls over the QEMU pipe is very slow. QEMU pipes should be the fastest possible way to do this; could this be due to the repeated ...
0
votes
0answers
30 views

Proper way for setting general policy and firewall rules with libvirtd

I'm just struggling with the firewall configuration of our new KVM Host. I think by now I understand how libvirtd implements networking, but I'm missing a way to set some decent firewall rules. To ...
0
votes
1answer
91 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 ...
0
votes
1answer
200 views

What is qemu-img consistency check?

I would be glad if someone could explain the meaning of qemu-img check <filename> command. Man pages provide very poor information about it: check [-f fmt] [-r [leaks | all]] filename ...
3
votes
1answer
619 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
371 views

kvm usb modem passthrough

I'm trying to set up a USB modem passthrough in kvm virt-manager. The host is Fedora 20. The guest is Centos 6 $ ifconfig wlp0s29u1u6: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether ...
3
votes
1answer
61 views

Run Windows program on Linux in a secure way

I am trying to find a way to achieve a secure execution of Windows programs inside a Linux installation. I suppose that a Windows malware should not do any damage (infect the machine), if executed ...
0
votes
1answer
134 views

How to start a virtual machine filled with qemu-nbd?

I migrated a Windows OS (entire disk) to a virtual machine on another host (Debian with qemu and kvm). I used Selfimage to export the disk. On the host, first of all, I created an empty virtual ...
0
votes
1answer
690 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 ...
1
vote
2answers
826 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 ...
2
votes
1answer
1k 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 ...
0
votes
0answers
127 views

Xen VNC - VGABIOS Rom Missing

I've had a Xen server with VNC running successfully for almost a year now. However, recently, when I tried to connect to an HVM domain with VNC, it displays a blank screen. When I looked in the QEMU ...
1
vote
0answers
502 views

Qemu: No file system could mount root (unable to mount roofs)

In Linux, I've created the root file system (rootfs) by following commands: dd if=/dev/zero of=ramdisk.img bs=1M count=4 mkfs.ext2 ramdisk.img sudo mount -o loop ramdisk.img rootfs sudo cp init ...
1
vote
1answer
1k views

Qemu Arm how to passthrough a PCI Card

I'm trying to access a PCI wifi adapter on a Qemu, simulating vexpress-a9 board. I'm following is this tutorial which shares a passthrough PCI card of the host machine to a guest machine running on ...
0
votes
1answer
730 views

QEMU package not available for RHEL 64 bit

I am installing QEMU in RHEL. In 32 bit OS (i686 architecture), if I run the command, yum install qemu, the installation of QEMU takes place. However, in 64 bit architecture (x86_64), if I run the ...
2
votes
1answer
203 views

QEMU for ARM programs with GDB [closed]

I want to emulate an ARM processor for running the assembly programs using QEMU in RHEL. I have installed QEMU but I still have problems in running the assembly program. I got the assembly program, ...
1
vote
1answer
82 views

How to reach only an application in QEMU emulation without X?

I run an OpenBSD guest on an OpenBSD host (Desktop) with QEMU. Because I want to run a webbrowser in a separated environment. I can reach the QEMU machine via ssh -X so I can see the webbrowser. But ...
0
votes
1answer
380 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
137 views

Using qemu to boot OpenSUSE (or any other OS) with custom kernel

I want to run OpenSUSE as guest with a custom kernel image which is on my host machine. I'm trying: $ qemu-system-x86_64 -hda opensuse.img -m 512 -kernel \ ...
0
votes
2answers
1k views

shared LVM storage between KVM virtuals

I'm messing around with KVM and different storage options for sharing between virtual machines. I have an LVM volume group defined as a storage pool for libvirt. I've defined a volume and attached it ...
1
vote
3answers
574 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 ...
3
votes
0answers
149 views

Getty not starting in qemu

I'm trying to get running an ARM based Debian inside qemu. As a rootfs I'm using structure from embeddedarm 2gb sdcard image with versatile 2.6.24 kernel downloaded from fedora qemu tutorial site. At ...
1
vote
0answers
93 views

No network interface for the lan9118 emulated on QEMU 1.4.0 overo machine

Im using QEMU 1.4.0 Ubuntu 13.04 distribution. Im trying to make the virtrual machine part of the host network so Im ussing this command: sudo qemu-system-arm -M overo -m 1024 -sd ./test.img -clock ...
3
votes
1answer
389 views

How can I figure out which pty's are from which qemu?

I'm running qemu's like this: $ sudo qemu -boot d -m 1024 \ -netdev tap,id=tap0 \ -device virtio-net-pci,netdev=tap0,id=vth0 \ -drive file=ubuntu.iso,media=cdrom,cache=none,if=ide \ -monitor pty \ ...
4
votes
1answer
476 views

Emulate unplugging a network cable with qemu-kvm

[Background: I'd like to actually test How to take down a static network interface when not connected? ] I'm setting up a QEMU-KVM virtual machine using libvirt (via virt-manager). I put two NICs on ...
1
vote
0answers
128 views

omap3530/3630 emulation on QEMU for overo and beagle machines

On QEMU's source code for beagle and overo I can see that the cpu emulated is the OMAP3430. I will like to know if it's a way to make QEMU emulate OMAP3530/3630 cpu's for those machines? On bealge : ...
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 ...
2
votes
2answers
604 views

ttyO ports do not have the good port address on QEMU 1.4.0 running image for beagleboard-xm

I'm running an Linux Image (kernel 3.2.8) for beagleboard-xm on QEMU's 1.4.0 emulator Ubuntu distribution for 13.04. My image is created using Buildroot beagle_defconfig. I added some pkgs to be able ...
2
votes
1answer
55 views

Theoretical possibilities for cpu emulation built into boot-loader or kernel?

Is it a crazy idea to somehow make a blend of grub and qemu in order to boot linux kernels or any kernel of any cpu type supported by qemu or the built-in cpu? I know it might be impossible to detach ...
1
vote
1answer
312 views

What are the right settings for Ubuntu Touch under qemu?

As you can see here, Canonical is releasing the images for Ubuntu touch, the problem is that apparently those are snapshots from a complete installation, there is no installer here and no vmlinuz + ...
3
votes
1answer
336 views

Booting grub legacy via qemu using pxe

I have been trying to boot grub legacy via qemu using pxe. For some reason, the grub does not display the menu and enters into the command mode after displaying the following error. Error15: File not ...
0
votes
3answers
367 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
1k 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 ...
2
votes
1answer
148 views

QEMU Direct Access to Video Card (or, QEMU Video Output without X11)

I have a system that boots up into Linux at power on and then needs to boot into Windows XP Embedded. After messing around with kexec and grub4dos, things aren't working out too well. One idea that ...
0
votes
1answer
99 views

How much success can I expect with Qemu On PowerPC Linux?

I'm on Ubuntu 12.04 for PowerPC and I installed Qemu just for kicks, having experience using it in the past to build an iso for an arm tablet, and upon doing a search I found this installed on my ...
2
votes
2answers
813 views

Iptables port forwarding to qemu vm

Is it possible to create an IPtables rule that forwards all incoming traffic on port 80 on the host to port 80 of the qemu VM? Is such a scenario possible with qemu?
0
votes
0answers
20 views

Preparing an initrd for qemu [duplicate]

I have compiled a bzImage but when I try to run it in qemu I get a kernel panic because I don't have an initrd file. So I create one by following the steps in this question but I cannot get it to ...
4
votes
2answers
3k views

Linux kernel is not finding the initrd correctly

I had compiled a linux kernel and I wanted to debug it in QEMU. I created a file to boot from by doing the commands $ qemu-img create -f raw disk.img 200M $ mkfs.ext2 -F disk.img # mkdir /mnt/rootfs ...
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
1answer
1k views

How do you mount an ext2 formatted qemu disk image?

I am having issues mounting an image I created with the qemu-img program. Every time I attempt to invoke mount upon the subsequent file, it responds with failed to setup loop device: No such file or ...
4
votes
1answer
2k views

Kernel and QEMU : Unable to mount root fs error

I am trying to run a distro in the virtual disk image with a custom kernel,so that I can experiment and debug the kernel. I followed this to make a disk image and then install Debian to it. Now I ...
2
votes
1answer
888 views

Debugging Linux Kernel with QEMU

I was trying to study the debugging of kernel using QEMU. I tried initially and failed due to the fact that there was no virtual file system. The answers to this post suggests that there should be a ...
8
votes
2answers
2k views

How can I restore default window size in KVM/QEMU

In KVM/QEMU machine window size by default matches guest OS resolution. But if I resize windows (accidently) how to restore default size?
1
vote
0answers
120 views

Creating a Virtual filesystem to boot linux

I am trying to boot the linux kernel (bzImage) in QEMU but have had issues. After asking on U&L I found out that my problem was that I was booting the kernel without a filesystem to boot from. So ...
4
votes
1answer
2k views

qemu - two clients (tap0 & tap1) via br0 can't ping eachother but server pings ok

I've got: A host system running Ubuntu with KVM (functional) Two clients, one Ubuntu and one Windows 7, nothing fancy. I've also setup (see below) a bridge via br0 for the clients: br0: ...
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 ...
1
vote
1answer
153 views

darkstat shown blocked traffic

I've installed Darkstat on a Qemu VM which is connected to a bridge interface on top of main server's interface ( eth0 ) In Darkstat report I can see many hosts in the same IP range of specified VMs ...
2
votes
1answer
524 views

Can QEMU/KVM+OCFS2 be configured to punch holes in sparse image files when files are deleted in the guest?

I'm using sparse raw image files for guest VMs and OCFS2 on the host (local-only, not clustered) for the reflink feature. I understand from Googling around that OCFS2 is one of the filesystems that ...
7
votes
1answer
2k 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 ...
10
votes
2answers
9k views

How to boot EFI kernel using QEMU (kvm)?

Hey guys I'm trying to emulate a EFI enviroment using QEMU (kmv), virtualbox takes 15 minutes to boot in EFI mode using archboot. Using legacy BIOS mode I can boot using this command: ...