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

Clone Windows 10 to new disk

I have problem with Windows 10. I've installed Windows 10 on Qemu virtual machine and I need to clone this image to physical disk. I use ntfstool for do that. Unfortunatelly my Windows doesn't boot because UNIQUEID for disk is different. I can…
esio
  • 161
  • 1
  • 9
2
votes
1 answer

Restricting guest connections in QEMU virtual machine, how?

I run QEMU to emulate Windows KVM. I currently use -net nic with -net user to access WAN from guest, and this works like plain tunnel with no possibility to control connections, add whitelist or restrictions. It is also dangerous setup due to the…
Croll
  • 93
  • 1
  • 17
2
votes
1 answer

QEMU cannot find device nor node_name

When I do virsh list I get ubuntu14.10 and ubuntu15.10 running but when I run this command to take a snapshot. virsh qemu-monitor-command ubuntu15.10 '{ "execute": "transaction", "arguments":{"actions": [{ "type": "blockdev-snapshot-sync", "data"…
2
votes
1 answer

icmp ping reply not received by ping process, seen by tcpdump/wireshark

I'm having an issue with getting the actual ping process to receive the reply even though I can clearly see the response in the tcpdump output. I'm running on: Mac OS X 10.11.4 El Capitan Bridge interface with tap interface as a member qemu is…
McBirdy
  • 21
  • 1
  • 2
2
votes
1 answer

libvirt kvm qemu virtual machine - hard code domain-id?

Is there a way to hard code the domain-id of a virtual machine kvm guest? I tried adding an id attribute to the XML configuration via virsh edit name And I also tried to edit the XML directly stored in /etc/libvirt/qemu Basically, I'd like all of…
OwN
  • 187
  • 3
  • 14
2
votes
3 answers

qemu-img: Could not open '/dev/stdin': Could not refresh total sector count: Operation not permitted

I want to transfer block device contents over the network directly into a qcow2 image. I started with a small simulation: [root@okvmh1 default]# dd if=/dev/zero bs=1M count=100 | qemu-img convert -p -f raw -O qcow2 /dev/stdin aaa.qcow2 qemu-img:…
basin
  • 558
  • 1
  • 5
  • 22
2
votes
1 answer

What are the steps to export a VM from KVM to ESXi?

I want to be able to export a KVM based VM to an ESXi 5.1/5.5 host. My current methods ends up with the VM not being able to boot on the ESXi host. (I have tried importing the same .ova on VirtualBox 4.3 and here VirtualBox claims the size of the…
Henk
  • 59
  • 1
  • 2
  • 4
2
votes
1 answer

Serial communication between QEMU host and guest

I'm trying to set up a pair of serial ports between my QEMU host (Debian Jessie x86_64) and guest (also Debian Jessie, but on ARM). Everything except the serial port part works. I'm really new to QEMU so there might be a better way but I've tested…
walle
  • 51
  • 1
  • 8
2
votes
0 answers

Proxmox/KVM: Can not clone VM

I would like to create a clone of a KVM machine - yesterday I was able to create a clone of the same machine within some minutes. Now it takes hours and is still stuck an "0%": create full clone of drive ide0 (local:100/vm-100-disk-1.raw) Formatting…
MyFault
  • 913
  • 3
  • 15
  • 36
2
votes
1 answer

KVM Virtual Machine: Wrong Disk Size

Ever since I did yum update and tried to create a new (for example) 10GB Disk KVM VPS, the reported disk space inside VM is locked to the initial template size (usually 1GB for linux template). Normally it should be 10GB (fdisk says so, but df…
2
votes
1 answer

vlan qemu: guest listening from other guests

I'm trying to simulate a little network of 3 machines using QEMU where a machine (deb1) is directly connected with the host and the other 2 machines (deb2, deb3): Host | …
DDK
  • 23
  • 3
2
votes
1 answer

kvm snapshot-create-as failed

I have Ubuntu server with qemu/kvm. I'm try to create snapshot (for further backup) using libvirt and get this error: # virsh snapshot-create-as --domain 56 --name copy_snap --no-metadata --disk-only --atomic --diskspec…
ComBin
  • 163
  • 1
  • 1
  • 8
2
votes
1 answer

How to explain the machine type concept in the virtualization?

When I was under Debian Wheezy, virt-manager created virtual machines with the "pc-0.12" machine type. Since I am under Debian Jessie, virt-manager creates virtual machines with "pc-i440fx-2.1" machine type. How does virt-manager (or libvirt, or…
Bertaud
  • 133
  • 1
  • 8
2
votes
1 answer

Options for optimising QEMU emulation (-cpu flag)

I have been doing some reading about optimising QEMU and one thing that I am confused about is the -cpu switch. At the moment I am using -cpu host which is supposed to transfer all the hosts cpu features to the guest, but some say that it does more…
user315225
  • 41
  • 1
  • 3
2
votes
0 answers

Remove Hardware Support From Qemu

I am currently experimenting with Qemu 2.4.1 and I'd like the support for few hardware to be removed. Say like USB/Mouse/SoundCard etc. While I was tinkering with the source code, I was able to eliminate support for a few using…