Questions tagged [qemu]

QEMU stands for "Quick EMUlator" and is a processor emulator that relies on dynamic binary translation to achieve a reasonable speed while being easy to port to new host CPU architectures.

QEMU has two operating modes:

  • User mode emulation

In this mode QEMU runs single Linux or Darwin/Mac OS X programs that were compiled for a different CPU. System calls are thunked for endianness and for 32/64 bit mismatches. Fast cross-compilation and cross-debugging are the main targets for user-mode emulation.

  • Computer emulation

In this mode QEMU emulates a full computer system, including peripherals. It can be used to provide virtual hosting of several virtual computers on a single computer. QEMU can boot many guest operating systems, including Linux, Solaris, Microsoft Windows, DOS, and BSD 1; it supports emulating several hardware platforms, including x86, x86-64, ARM, Alpha, ETRAX CRIS, MIPS, MicroBlaze, PowerPC and SPARC.

Source: wikipedia

637 questions
4
votes
3 answers

Standalone KVM server best practices

I'm looking at ordering a powerful server machine to use for virtualization. I'm planning on running debian with KVM+QEMU for the virtualization, and a hardware RAID6 to store the VMs on. I would also like to be able to use the same IP to route to…
Mikau
  • 53
  • 2
  • 5
4
votes
0 answers

virtualbox to qemu but results in no bootable device qemu

I use vagrant to create my development vm. I exported the vmdk to vdi, and then convert the vdi to img. cd virtualbox_dir/test_vm VBoxManage clonehd test_vm.vmdk raw.vdi 0% ..... 100% qemu-img convert raw.vdi raw.img virsh create testvm.xml But I…
Daniel Huger
  • 223
  • 4
  • 10
4
votes
0 answers

QEMU: Solaris 11 / Sparc64 Guest on Linux / X86-64 Host

I'm trying to run a Solaris 11 / Sparc64 guest on a Linux/x86-64 host. I've cloned the qemu project and configured/compiled it with sparc64 support (./configure --target-list="sparc64-softmmu"). I've tried various examples and tutorials, but…
roylaurie
  • 141
  • 1
  • 2
4
votes
2 answers

kvm process has too large a memory footprint on host

I'm using latest ubuntu quantal and start a kvm guest which should have 2048 MB of memory. Now after a few hours I can see that the kvm process of this guest is around 2700 MB, so 700 MB more than the guest should be able to consume. I mean a small…
gucki
  • 818
  • 2
  • 11
  • 29
4
votes
2 answers

conversion of a VMDK image with qemu-img failed with "error while reading sector 131072: Invalid argument"

I tried to convert a VMDK image found in a OVA file to the QCOW2 format with the qemu-img command but it failed with the error message qemu-img: error while reading sector 131072: Invalid argument user@ubuntu:/tmp$ wget…
Erik Sjölund
  • 2,115
  • 5
  • 22
  • 27
4
votes
1 answer

How to convert a raw disk image to a copy-on-write image based on another image for use with kvm and virt-manager?

I have a virtual Windows machine running on kvm. Presently it has a 90GB raw disk image. I would like to clone this VM without having to keep two copies of the 90GB raw disk image around. It seems like a good approach for doing this is to make two…
Jean-Paul Calderone
  • 362
  • 1
  • 4
  • 14
4
votes
1 answer

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,0)

I'm trying to run orange-pi emulation with self-build linux kernel by this commands: ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make mrproper ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make sunxi_defconfig ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-…
Hid-K
  • 71
  • 1
  • 6
4
votes
3 answers

virsh autostart not working

root@virtual3:~# virsh autostart nstest Domain nstest marked as autostarted root@virtual3:~# virsh dominfo nstest Id: - Name: nstest UUID: 8cf691cd-7246-442b-a26b-3580e24600c5 OS Type: hvm State: …
David
  • 71
  • 2
  • 4
4
votes
1 answer

What is the use case of QEMU chardev pty

I'm new to QEMU and playing around with its chardevs. I faced the option called -chardev pty,id=id. So I tried to create a VM with -chardev pty,id=pty0 and got the message. char device redirected to /dev/pts/9 (label pty0) So I tried to send some…
Some Name
  • 143
  • 4
4
votes
1 answer

How to get a proper prefix length from DHCPv6 server?

I have two virtual machines with Ubuntu Server 20.04. One of these virtual machines is a DHCPv6 server, and the other one is a client. I am able to set an IPv6 address on the client, but I cannot ping to and from this address. ip -6 route shows this…
user6758
  • 59
  • 1
  • 6
4
votes
1 answer

Where are libvirt "saved states/snapshots" stored?

I have a .qcow2 image, and I can port it easily to a different computer. But I'd also like to port its saved state. Where are they stored? I'm on Manjaro/Arch.
Adrian Lopez
  • 191
  • 8
3
votes
1 answer

QEMU and SPICE on Win 10 host

I am trying to run a Linux kernel based VM image (1) using QEMU on Windows 10 host. I have installed QEMU from https://qemu.weilnetz.de/w64/qemu-w64-setup-20190815.exe and SPICE client from…
3
votes
1 answer

“Microsoft Windows 10 Enterprise 2016 LTSB 10.0.14393 Version 1607” stuck at boot in qemu/kvm (proxmox)

I have played with different versions of windows 10 inside qemu/kvm (proxmox) and all of them works fine except: "Microsoft Windows 10 Enterprise 2016 LTSB 10.0.14393 Version 1607". I don't think that the problem is connected with proxmox itself. As…
3
votes
2 answers

Does KVM/QEMU support mdadm RAID5 properly?

I'm not able to get anything close to usable performance using a guest file located on a mdadm RAID5 array. I've believed I optimized all the parameters of the array and filesystem for best R5 performance: set bitmap=none set stripe-cache=32768…
MrCalvin
  • 354
  • 1
  • 6
  • 18
3
votes
1 answer

qemu process memory usage greater than guest memory usage

I have a physical machine with 24 GB RAM hosting a few VMs using libvirt-qemu. When creating VMs, I assign a lot of memory and no swap, so that the total of assigned memory can be greater than the physical memory on the host, and the swap is managed…
Jérôme
  • 615
  • 2
  • 8
  • 19