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
3
votes
2 answers

qemu-img snapshot on live VM

I have created multiple KVM VMs using QCOW2 images. Each VM has its own qcow2 file and is not based on any backing file. My question is specifically related to snapshots of QCow2 images on these running VMs. If I run the following command on a…
user1066991
  • 481
  • 2
  • 5
  • 6
3
votes
5 answers

KVM virt-clone while the VM is running

Is it possible to clone a running kvm machine without tools like virt-clone? They already have the original vm in production, I cannot shut it down. If I don't care about temporary data corruption (what an initial fsck can fix) on the clone, can I…
zino
  • 61
  • 1
  • 5
3
votes
0 answers

virt-install fully automated install

I'm looking into ways of installing/deploying a VM completely automated (no user interaction). So far I have tried QEMU and virt-install along with QEMU. The issue with qemu is that injecting kickstart file has to be injected manually. On the…
Harish
  • 31
  • 1
  • 2
3
votes
1 answer

Linux QEMU issue with bridge network interface

I am trying to setup a bridge interface for one of my QEMU running on CentOS 7. I have below scripts for TAP interface running $ cat /etc/qemu-ifup ifconfig ens192 down ifconfig ens192 0.0.0.0 promisc up openvpn --mktun --dev tap0 ifconfig tap0…
Abhinav
  • 225
  • 1
  • 4
  • 12
3
votes
1 answer

why linux bridge shows 2 mac addresses for one qemu vm?

I am new to qemu networking and pretty confused about the following situation. I launched 5 VMs. Each connects to br0 through a tap device. I also have a dnsmasq listening on br0 for DHCP. The problem is dnsmasq does not hand out ip to VM according…
helloworld
  • 33
  • 1
  • 4
3
votes
1 answer

Restarting the networking on the HOST makes GUEST lose connection

I am probably missing something but have a KVM virtualized HOST/GUEST setup. The GUEST is using a bridge (br0) on the HOST for internet connectivity. When I make a "/etc/init.d/networking stop ; sleep 5 ; /etc/init.d/networking start" on the HOST…
Onitlikesonic
  • 1,201
  • 5
  • 17
  • 24
3
votes
2 answers

Cut'n'paste between X11 Desktop and the virt-manager VNC graphical console of a Win7 VM guest on a Server

I have a licensed copy of MicroSoft Windows 7 professional installed and running as guest on my Linux server running qemu-kvm. This works just fine. But I was unable to figure out how to Cut'n'paste text selections from a window of the Win7 VM…
pefu
  • 679
  • 1
  • 6
  • 24
3
votes
1 answer

Windows guest on KVM/Qemu suffers horrible key lag

Host OS is Arch Linux with the following versions:- qemu 2.1.0-2 libvirt 1.2.7-1 linux 3.15.8-1 Guest OS is Windows 7 64-bit. This problem did not exist when I first created this VM and started using it, but rather appeared at some point. I can't…
JohnCC
  • 292
  • 1
  • 6
  • 14
3
votes
4 answers

qemu.img: conversion of a VMDK image failed with error "invalid VMDK image descriptor"

I trying to convert a VMDK image (Windows installed) to RAW format with the qemu-img command. However, it is failing with the following error: $ qemu-img convert -f vmdk -O raw image.vmdk /tmp/image.img qemu-img: Could not open 'image.vmdk':…
Jim Holden
  • 133
  • 1
  • 1
  • 4
3
votes
1 answer

LibVirt (QEMU) Shutting down from inside guest

I am currently running LibVirt with Qemu on Debian Wheezy: Versions: libvirtd (libvirt) 1.2.4 qemu-x86_64 version 2.0.0 (Debian 2.0.0+dfsg-4~bpo70+1), Copyright (c) 2003-2008 Fabrice Bellard It's all working perfectly, including ACPI: virsh…
md_5
  • 386
  • 3
  • 11
3
votes
4 answers

Disable TCP checksum offloading on KVM virtual network

I have a virtual network for connecting KVM guests with the host. I need to disable TCP checksum offloading on this network. The ethtool works fine but I want to disable it permanently and I could not find anything in virsh or QEMU documentation.…
jackhab
  • 771
  • 1
  • 8
  • 21
3
votes
1 answer

What can be improved in my first qemu/kvm run?

Just started using kvm (qemu? I'm quite fuzzy with the terminology). To test if everything works fine, I created logical volume on my lvm, and then started virtual machine using: qemu-system-x86_64 -machine type=pc,accel=kvm -cpu host -hda…
user195086
  • 79
  • 1
  • 1
  • 8
3
votes
3 answers

qemu don't start quest with disk image on tmpfs

I have 32bit windows 2k3r3 guest (terminal server) with 4GB guest ram and swapping. I created separate disk image for guest swapping and user's temp dirs. I have enouth RAM in host system and want to save disk IO by moving this image to tmpfs, but…
Sergei
  • 31
  • 1
  • 2
3
votes
1 answer

Signaling KVM/QEMU VM to quiesce, preparing for live backup

Assume a KVM/QEMU VM, which uses qcow/qcow2 as the image format for virtual disks. Backup is (to be) done on the VM host. As far as my current understanding goes is that while we can create backups from the vm right out of the box using snapshots…
Roman
  • 3,907
  • 3
  • 21
  • 34
3
votes
2 answers

Issue with creating an Windows 2008 virtualized image with QEMU

I'm trying to create a QEMU image of a 64-bit Windows 2008 Server install. It will be used on OpenStack as an instance. The virtualization environment (of QEMU) is being run from a VMware virtual instance. (This is a development environment, not…
monksy
  • 357
  • 1
  • 3
  • 14