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
0 answers

Kernel panic when booting qemu virtual machine

I usually install template virtual machines on a dedicated server and then copy the disk to other production servers. It has worked for years and still works today in all cases but one. I have created a virtual domain on debian-8.1 / libvirt-1.2.9-9…
Chebarbudo
  • 83
  • 1
  • 8
2
votes
1 answer

Using host DHCP server with QEMU user mode (slirp) networking

I am trying to debug my own DHCP server (for PXE), and I want QEMU to net boot from it. For that, it needs to send DHCPDISCOVER packet to 255.255.255.255 that should reach host network where DHCP server is listening (it listens on 0.0.0.0, and get…
anatoly techtonik
  • 293
  • 1
  • 3
  • 13
2
votes
2 answers

Mount URL as cdrom/iso KVM/QEMU

I am looking for a way to mount an ISO as a cd rom, according to libvirt docs (referenced below) it should be possible, additionally in the question referenced below. I am aware of this question, however its 4 years+ old and never actually came to…
Backtogeek
  • 577
  • 2
  • 6
  • 14
2
votes
0 answers

KVM/QEMU: cannot attach-device (disk) to a live domain

I'm trying to add a new disk to a running guest/domain (Win10) I succeed in using virsh attach-disk... --live and also using virsh attach-device.. --config But using: virsh attach-device SRV13 /tmp/SRV13.xml --live Give me this error: Failed to…
MrCalvin
  • 354
  • 1
  • 6
  • 18
2
votes
0 answers

QEMU Network bridging for having a public IP

I simply want that my QEMU VMs have a public IP so I can run multiple servers in the same machine. I've read a lot of wikis, guides, tutorials, forum threads and anything related to this but still no useful answer. I already know about the bridges…
Megver83
  • 221
  • 2
  • 4
  • 10
2
votes
1 answer

KVM image format convertion: raw thin provisioning to raw preallocated

I'd like to convert a KVM virtual machine disk image in raw file from a thin privisioning format to preallocated. In the first place I've got a preallocated 20Gb raw image file: image: /var/lib/libvirt/images/ArchLinux.img file format: raw virtual…
Damon Hill
  • 77
  • 2
  • 13
2
votes
2 answers

how to use ssh over serial without using pppd? ( Or how to transfer TCP over serial without using pppd)

There are many virtual machine based on QEMU in my server. Some of them are forbbiden to use networking, and only way to attach them is via virtual serial port. Due to serial console's bad features (such as working badly with tmux and vim), I want…
2
votes
1 answer

Configure qemu-system for using host side virtual bridge

I'm going to run the following setup with qemu-system as hypervisor: Hostsetup: Hypervisor machine (Ubuntu 16.04) Second Machine qemuVm--tap0--br123--eth0--|Hardware hub|--eth42--SecondPC So this is a network containing a virtual machine…
Cutton Eye
  • 343
  • 4
  • 14
2
votes
0 answers

How to configure QEMU DHCP and DNS for VMs?

I am trying to configure a QEMU setup with several VMs that talk to each other (e.g. a LDAP server on a VM that provides SSH authentication to other internal VMs). All these VMs are user mode and connected via -net socket and all of them have a…
2
votes
0 answers

KVM/QUEMU guest slow disk performance

I'm really confused of QEMU/KVM behavior. I have a server - about 100GB RAM, 2 CPU - 6 core + HT, and three HDDs - one for root, and two for BTRFS-mirror for virtual machines (HGST HDN724030ALE640 if it's matter). OS - Debian 9.1, QEMU (disk type -…
slavka
  • 21
  • 2
2
votes
1 answer

Virtual Hosting Cluster File System Confusion

My title probably doesn't encompass the full scope of what I'm needing, so I'll lay out what I want to accomplish. I have two Linux servers with large drive arrays, multiple CPUs and a large amount of RAM. I have what will be the primary file…
Brent
  • 107
  • 1
  • 2
  • 8
2
votes
1 answer

Load QEMU Firmware Configuration Device in virt-manager?

Is there a way to load fw_cfg file in virt-manager (v1.4.1)? On the plain QEMU command line I can do it like so: -fw_cfg name=opt/com.coreos/config,file=some/file.json I cannot find equivalent option in the virt-manager.
NarūnasK
  • 368
  • 4
  • 17
2
votes
2 answers

qemu-img convert CentOS7 vmdk to qcow2 and vice versa error

I'm trying to convert CentOS7 from VMDK to QCOW2 and vice versa using qemu-img convert command. when uploading the new Templates (OVF with the new converted vmdk and KVM template with the new converted qcow2 to KVM server) I'm getting…
Bar
  • 31
  • 1
  • 5
2
votes
0 answers

Linux KVM QEMU Host with high CPU load

I have a machine running Ubuntu 16LTS with KVM/QEMU for a hypervisor. It has 1 guest running right now (A Ubuntu Server) that is using less than 1% of it's CPU and about 100MB of the 1000MB RAM allocated to it. The Host is a 8core AMD with 16GB RAM…
jtlindsey
  • 323
  • 1
  • 6
  • 16
2
votes
1 answer

KVM/qemu/libvirt VM PCI Domain/Bus/Slot/Function assignment using virt-install

I am trying to create a VM using the virt-install utility and while that is easy enough to do what I would like to be able to do is proving quite difficult. I would like to be able to specify the domain/bus/slot/function of the ethernet interfaces…
Shawn  
  • 33
  • 6