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

600 questions
0
votes
1 answer

Error: "you need at least 8.6GB disk space to install SecurityOnion, This computer has only 2 GB"

required disk size is more than 8GB But got only 2GB In GNS3 I imported securityonion-16.04.6.1.iso image as new qemu vm, not as existing qemu vm. These is no where an option to change/choose enough disk size, the only option I got is to select RAM…
0
votes
1 answer

unable to ssh into local qemu instance via port forward

I am trying to build a custom Ubuntu (ISO built from bionic - 18.04.2) qcow2 image via packer. This fails in the step where packer tries to SSH to the instance via port forward. I can see from VNC that the instance spins up fine, and I can login…
Ani
  • 32
  • 12
0
votes
0 answers

qemu-system-x64_86 high CPU comsumption, much higher than the processes inside the guest

I have an Ubuntu 18.04 with several virtual machines running in it using kvm. Using top inside the VM it never goes CPU consumption over 30%, however, if I check the qemu-system-x86_64 processes in the host I usually have over 100%. Why is this…
jicarretero
  • 101
  • 1
0
votes
1 answer

qemu - second network interface to openvpn tap

I have a debian-linux host running a windows vm with qemu. As network setup I have one eno1 interface which connects the linux host to the internet, an tap_inet for qemu for internet access and on bridge br_inet linking those two. With this setup…
Beny Benz
  • 1
  • 3
0
votes
1 answer

how libvirt cputune config goes to qemu-kvm

I am porting xml libvirt config to qemu executable arguments. Simply I have .xml vm config from virsh edit vm-name and I want to run the same vm machine by executing qemu-system-x86_64 with special command line parameters. Die to my specific needs I…
Andrey
  • 3
  • 2
0
votes
1 answer

Cannot Create QEMU Socket Networking in Windows Host using Multicast Fails with Unknown Error

I am trying to create a simulated VLAN using socket networking, and the only way to connect multiple VMs in one network in QEMU using socket networking is by using the multicast mcast option of the socket network backend, to create a shared…
-1
votes
1 answer

Cant find much documentation regarding over committing of memory for VM's on a KVM host

Most operating systems do not use 100% of the available RAM all the time, having said that I am unable to find an approximation for this over provisioning. CPU cores is not a constraint for me, I have a 64 GB KVM host, I would like to provision…
-1
votes
1 answer

May the qemu running just a program not need a full system?

I'm doing some tests but I'd had some problems using WINE as tool. I used to use qemu to make my test but running a clomplet sistem. But what I need now is just run a ordinary program. What I want know if is possible use qemu to just run a singular…
Kalil
  • 7
  • 4
-1
votes
1 answer

Modifying qemu without screwing up my current install

I currently have kvm installed on my Debian laptop: kvm --version QEMU emulator version 2.1.2 (Debian 1:2.1+dfsg-12+deb8u5a), I want to modify it to supported nested virtualization (ESXi VMs). This little tutorial seems to do exactly what I want,…
red888
  • 4,069
  • 16
  • 58
  • 104
-1
votes
1 answer

Implementing hardware virtualization for custom hardware

When using QEMU/KVM there are certain network adapters that are supported and emulated. If one wanted to emulate the guest OS's original network adapter (e.g - a Broadcom interface that was present on the original machine) as opposed to the…
-1
votes
1 answer

Kvm poor cpu performance

I have running some Minecraft Servers in a Qemu VM over Libvirt, and the performance is only half good than on real hardware. Libvirt started the vm over: /usr/bin/kvm -S -M pc-1.1 -cpu…
-1
votes
1 answer

Cannot access Qemu/KVM virtual using console, VNC, or SSH, or access via network (IP range no longer valid)

I have the host sitting here next to me, so you'd think I'd have decent control of the guest. I should add that I have already attempted various other means, such as mounting the drive, but I have found installing ndb-client to be nigh impossible…
-1
votes
1 answer

How to enable zstd for your qcow2 files

In QEMU 5.1 zstd compression of your qcow2 files was introduced but I can't find a way to activate it?
MrCalvin
  • 305
  • 1
  • 4
  • 17
-1
votes
1 answer

boot from cdrom !! kvm -machine pc-i440fx-2.1

I am trying to follow the instructions in the following article https://docs.j7k6.org/vmware-esxi-hetzner-install-kvm-linux/ I start the VM by the following command kvm -machine pc-i440fx-2.1 \ -cpu host \ -smp cpus=2 \ -m 4096 \ -hda…
-3
votes
2 answers

Knowing when a qemu vm shutdown (initiated via telnet using QMP) is finished

When I start a qemu (Windows Server 2003) virtual machine with -qmp tcp:127.0.0.1:4444,server,nowait I can make it shutdown with the following script #!/bin/bash telnet 127.0.0.1 4444 <
1 2 3
39
40