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

How safe is it to access qemu/kvm raw or qcow2 disk image files from host

I've read mixed opinions about how safe it is to modify qemu disk image files. There are two distinct situations I'm interested in. 1) let's take a raw or qcow2 disk image file not used by kvm (i.e. the virtual machine is not running), mount it…
phep
  • 414
  • 5
  • 15
3
votes
1 answer

Can't get network bridging to work

I'm trying to make network bridging to work on a Debian squeeze (I'm experimenting in order to make a QEMU/KVM virtual machine that will be visible to the outside network as if it were a distinct machine). The problem is that when I type brctl addif…
Antonis Christofides
  • 2,598
  • 2
  • 23
  • 35
3
votes
3 answers

qemu-img: Could not open $FILE

I received a single-file VMDK from a vendor that has a virtual appliance for a particular product I'm interested in evaluating. We run a KVM solution (Proxmox) so I tried converting the file but on that system qemu-img blows up. (I was able to…
HTTP500
  • 4,833
  • 4
  • 23
  • 31
3
votes
2 answers

Managing a QEMU guest from the host's CLI

Can I manage a QEMU guest from the host's CLI? I'm coming from Xen and I liked the xm command. I'd like to shutdown the guest, attach PCI devices to it and so on. Is there a way? There's the QEMU monitor, but I'd really like to have a "scriptable"…
Daniel
  • 3,047
  • 5
  • 22
  • 27
3
votes
1 answer

Set Mac Address in QEMU/KVM properties file

I'm trying to set the mac address for my virtual machine in the virtual machine properties file. The properties file '102.conf' currently looks like this: name: vm1.mydomain.com bootdisk: ide0 ostype: w2k8 ide0: local:102/vm-102-disk-1.raw memory:…
Joel Kennedy
  • 261
  • 1
  • 4
  • 11
3
votes
3 answers

virtual interface names in qemu/kvm

I have an image with a debian-squeeze installation and using that I created two overlay-images to boot two (nearly identical) virtual machines from. When I boot them up individually (connecting them to a vde-switch and specifying the mac-adress in…
morgon
  • 31
  • 1
  • 2
3
votes
2 answers

is it possible to install qemu inside linux ami on ec2?

well i tried to install it but gont an error . kernel-2.6.35.11-83.9.amzn1.i686 has missing requires of mkinitrd >= ('0', '6.0.91', None)
user80287
  • 145
  • 2
  • 7
3
votes
1 answer

KVM QEMU looses USB devices

I have a KVM Qemu setup. I'm mapping a USB device to a VM running windows vista. I get the device mapped, and all is well for some time. Suddenly the device disappears in Vista. If I do "lsusb" in linux it shows up, and if I run "info usbhost" in qm…
3
votes
1 answer

libvirt, qemu, reboot hook

Is it possible to detect that the guest VM has rebooted and perform an action using libvirt / qemu? The hooks here only support the "start" and "stop" events. I would like to detect if my VM has rebooted. HOST is running ubuntu 10.04 GUEST is…
bradgonesurfing
  • 271
  • 1
  • 4
  • 6
3
votes
2 answers

How do I run a stable Windows XP kvm guest on Ubuntu 10.04?

I have three Windows XP guests running on a recently upgraded 64-bit Ubuntu 10.04 system. Occasionally (on the order of once every few days), one of the guests will become non-responsive and the kvm process on the host which is running that guest…
3
votes
4 answers

libvirt and qemu/kvm -snapshot option

Using libvirt, I want to use QEMU's '-snapshot' option. That way, when the machine shuts down, all of the disk changes that were made get destroyed. Here is the manual for the -snapshot option: Write to temporary files instead of disk image files.…
user34480
3
votes
1 answer

Installing Windows 10 on Hetzner Cloud (but not Dedicated) server

I am looking for a tricky way to install Windows 10 on Hetzner Cloud (but not Dedicated) server. Hetzner don't provide any ISO images for consumer-grade OS, including business desktop editions. Even though Microsoft allows VM/Cloud usage of Windows…
EIKA
  • 31
  • 1
  • 2
3
votes
2 answers

KVM: Best performance for all guests

With KVM, what is the best way to provide the highest possible performance to all VMs? The host has a hexa-core processor and 64GB of ram. 3-4 VMs should run on it. The VMs are idle a lot of the time, but during performance peaks they should…
Josc
  • 31
  • 2
3
votes
1 answer

Updated VirtIO SCSI driver on my Windows 2012 R2, and now only boots into recovery. How to recover?

I have a Hetzner W2012 R2 Cloud VM, and I updated the VirtIO vioscsi driver on it. Now it only boots into recovery mode and I cannot access the C-drive even from command prompt. Is there any way to save this VM or is it a goner? I have no (recent)…
Casper
  • 163
  • 1
  • 8
3
votes
1 answer

qemu does not give by-id symlinks for drives by UUID in linux guest

I am trying to get my drive to show up in QEMU guest virtual Linux machine. desired behavior: $ ls /dev/disk/by-id/ ata-CT1000MX500SSD4_XXXXXX Current behavior returns nothing: $ ls /dev/disk/by-id/ Here is how I created my disk image: qemu-img…
posop
  • 247
  • 2
  • 10