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

learn more… | top users | synonyms

4
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
107 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 ...
3
votes
1answer
1k 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: ...
4
votes
3answers
2k 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 ...
0
votes
1answer
136 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
397 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
1k 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 ...
8
votes
2answers
6k 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: ...
1
vote
2answers
815 views

Running Linux kernel in Virtualbox

I just built a Linux kernel on Ubuntu and now I want to make it run on VirtualBox. I wanted it to be in an img format. I created a hard drive image by doing the commands: $ qemu-img create disk.img ...
2
votes
1answer
853 views

Running bzImage in QEMU

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: How can I fix it? How can I run the bzImage ...
6
votes
1answer
2k views

Load Linux bzImage in QEMU?

I compiled a Linux by doing make menuconfig then make and now I have compiled the most recent version of Linux. How can I load the kernel into QEMU?
4
votes
0answers
160 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
686 views

how to use qemu to run build root linux images?

I have compiled an embedded linux with build root for i386. I didn't edited much, just defaults. Now I want to run it under qemu. But the only thing I see is this: I'm running qemu with these ...
8
votes
3answers
9k 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 ...
2
votes
0answers
534 views

Qemu doesn't boot kernel after “Uncompressing Linux… done, booting the kernel. ”

I've compiled qemu for s5pc110 (it's from http://gitorious.org/samsung-linux-platform/qemu, somebody had added support for s5pc110), version 0.12. But when I load the kernel: qemu-system-arm -M ...
2
votes
2answers
1k views

Compiling FreeRTOS on ubuntu

How could I compile the FreeRTOS Source Code and run it (possibly on qemu) on Ubuntu 11.04?
11
votes
3answers
9k 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?
2
votes
1answer
1k views

How to convert Windows 7 partitions to qcow2?

I know I can use qemu-img tool to convert a raw partition into a image file. But Windows 7 has two partitions. I tried: qemu-img convert /dev/sda1 /dev/sda2 win7.qcow2 But the generated file does ...
1
vote
0answers
388 views

qemu-kvm savevm very slow

I have up to date gentoo system with kvm images located on 500 gb partition with 200 gb of free space and defragmented, running machine with Windows XP and 2gb ram, I have problem with making snapshot ...
4
votes
1answer
3k views

QEMU-KVM and internal DHCP server

I have set up a few soon-to-be production VMs running on QEMU-KVM on Ubuntu 10.04 LTS. As for networking, I chose the "NAT" option in Virt-Manager and each VM now gets an IP address 192.168.122.x ...
1
vote
3answers
985 views

Qemu terminating on signal x from pid xxxx

I've been all over google and back and I cannot locate any information on this particular error. qemu: terminating on signal 15 from pid 3111 I'm using Virtualizor to launch new KVM VPS on my ...
3
votes
2answers
4k views

How to copy qemu raw images?

I want to backup kvm virtual machines and copy machine's images another path or usb disk? How to copy " qemu raw images"?
7
votes
1answer
2k views

Running Debian i386 binary on Debian armel via qemu

I am trying to follow this guide to set up a Ventrilo server on my SheevaPlug, running Debian armel. This page states that I can use QEMU to run the binary that was made for i386 on my arm system. ...
1
vote
1answer
563 views

fdisk hangs on “Syncing disk” when resizing a raw QEMU image

I'm using fdisk to resize the partitions on a raw QEMU image. When I write the new partition table, it hangs at "Syncing disks." Note that I'm running fdisk as non-root since I don't need root to ...
1
vote
1answer
652 views

Adding a populated existing disk device to a QEMU raw image

I have a raw QEMU image (vda.raw), and I would like to resize it and add an existing partition, using data I have in a file that contains a raw ext3 file system populated with data (vdb.raw). The two ...
0
votes
1answer
753 views

qemu: how to access host via sftp

I started a guest vm with qemu-system-x86_64 -net user -net nic -redir tcp:10022::22 -m 500 -hda op.img From the guest, I'm able to ssh the host machine, but can't connect via sftp The command I ...
5
votes
1answer
932 views

Move qcow2 image to physical hard drive

I have a qcow2 image that I use to boot an installation of linux using QEMU; I would like to place the contents of that image directly onto a physical hard drive so that I can boot to that linux ...
2
votes
2answers
970 views

How to make new KVM with existing hard drive

I've been looking through the options of the QEMU binary, and I can't work this one out: Is it possible to make a new KVM machine with an existing hard drive image with an OS (XP Pro in this case) ...
2
votes
1answer
474 views

Do I need hardware support for KVM for virtio paravirtualisation

Unfortunately I need to run virtual system on the machine without hardware support for visualisation. From kvm page I read that kvm is needed however it is not mentioned whether they mean the kernel ...
1
vote
0answers
343 views

Cannot install Debian on QEmu-arm

I'm trying to run Debian 6 network install with this command: sudo qemu-system-arm -M versatilepb -kernel ./vmlinuz-2.6.32-5-versatile -initrd ./initrd.gz -hda ./debianlxde.img -m 256 -append ...
1
vote
1answer
1k views

Boot device /dev/sda1 does not exist on Debian in QEmu

I have an image of Debian/LXDE assembled for ARM and I trying to run it in Qemu. I am using this command: sudo qemu-system-arm -M versatilepb \ -kernel ./vmlinuz-2.6.32-5-versatile \ ...
3
votes
2answers
2k views

Mouting a kvm qemu disk image with multiple partitions

I am trying to mount a KVM-qemu disk image with this command: sudo mount -o loop,offset=32256 centos6.img /mnt/centos6. But it shows this error: you must specify filesystem type. As I have more ...
4
votes
3answers
435 views

Can libvirt check if virtual machine is fully booted? Can another tool?

I currently have small VM to do certain tests (it has multiple benefits - like testing on another distribution, Fedora 15, as well as running make distcheck without the problem of polluting /). ...
4
votes
1answer
3k views

keyboard and mouse not working in QEMU

I'm trying to run a Linaro Beagleboard image under Qemu and I have trouble with the keyboard and mouse. Basically neither the keyboard nor the mouse work once the boot process completes. I tried two ...
1
vote
1answer
346 views

Coreboot + QEMU Tutorial Request (Google has failed)

Can anyone point me in the direction of an end-to-end idiot-proof coreboot+qemu tutorial? I'm having trouble understanding how qemu is set up to emulate different hardware (also having trouble ...
2
votes
2answers
923 views

Using mplayer inside kvm/qemu

Is it possible to use mplayer inside kvm/qemu configuration? What video driver should I use? The only driver that worked was sdl and it was super slow. EDIT: I just found out that VirtualBox works ...
1
vote
1answer
2k views

qemu no boot device found!

I am trying to set up a Linux x86_64 virtual machine on a 32bit Linux computer and I've been told aqemu's Wizard is a good option. I can follow the wizard steps, but when I try to start the virtual ...
1
vote
1answer
359 views

How do I get QEMU to open without a BadWindow error after ssh'ing with X11 forwarding?

After ssh'ing to a machine (with -X) I run qemu and get the following: X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 25 (X_SendEvent) Resource ...
3
votes
3answers
523 views

Really light weight linux for VM no extensions

I need to host a ssh server on a x86-64 Debian squeeze machine with no VT-extensions :( I am using virtlib with qemu (set up and working). I have tried a number of things and non have been perfect, ...
3
votes
2answers
3k views

Qemu & AIX 6.1 - what am i missing?

I have a Fedora 14 i386 / T7100 C2D HP notebook. I need to run e.g.: AIX 6.1 on it for testing purposes. I installed a VirtualBox on this Fedora machine. I installed a guest os in the VirtualBox. ...
5
votes
3answers
608 views

Is it possible to run KVM over a qemu emulated powerpc architecture

I understand that qemu uses binary translation to emulate machines, so irrespective of the underlying architecture, it can provide emulation. And, KVM uses Hardware Virtualization technique to make ...