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

QEMU load average vs cpu count

When I configure more CPU cores, the load average in my Guest OS as shown by top also increases linearly. I'm trying to understand why this happens, because I expected either the opposite or at least for it to stay the same. As load average should…
Maestro
  • 265
  • 1
  • 3
  • 9
0
votes
0 answers

Can you use virsh to reset vm id sequence?

Question in regards to "Id" for running VMs, using virsh running local Qemu VMs. command virsh list will bring up a list of the current running VMs defined, eg,  Id Name State  -------------------  1 ubuntu running upon stopping and undefining the…
0
votes
0 answers

qemu set different dynamic ip address for each machine

I need to run about 7 virtual machines via qemu at the same time. The problem is that they all have the same public IP address as the host. Is there any way to give them different ip addresses? host and guest system is debian. I searched the…
wineT
  • 1
0
votes
0 answers

How to make Ubuntu VM available to multiple users in the cloud?

I have a design technical question. Let me describe the use case first: I have 20 students. My idea is that they all can run a full Ubuntu Desktop from within their web browser. Everyone should have their own user account (preferable connected to a…
befaro
  • 43
  • 1
  • 5
0
votes
0 answers

Fedora does not boot when it is installed / virtualized using virt-manager and later booted using the qemu parameters (using /dev/sdd as disk)

I'm on Debian 11 (where I'm using the default qemu version 5.2) and I'm trying to boot Fedora 37 using the following qemu commands : /usr/bin/./qemu-system-x86_64 -enable-kvm -m 8G -machine q35,accel=kvm -smp 8,cores=4 -cpu host,kvm=off -smp…
Marietto
  • 143
  • 1
  • 10
0
votes
1 answer

How to properly make a backup of a virtual machine using QEMU only

This questions asks how one can make a backup of a live virtual machine. The accepted answer says it is possible with QEMU/libvirt. My question (since the answer doesn't explain it) is how to do a proper backup of a live machine using only QEMU.
Marco
  • 101
  • 1
0
votes
0 answers

Occasional packet loss between bridge interfaces

I have two virtualization servers based on libvirt and KVM. And sometimes I see packages get lost on one particular virtual machine. After restarting the virtualization host this problem is solved, but it helps for a while. I have made filters in…
akashavkin
  • 301
  • 1
  • 2
  • 8
0
votes
0 answers

Can I use OpenStack Rocky with a neoverse-n1?

Situation: For now, I'm stuck on OpenStack Rocky on Ubuntu 18.04.6 and I have some beefy Neoverse-n1 hardware (aarch64, 64-core, 1TB memory) to integrate. Can I accomplish this with on my current OS cluster, or is this futile? # qemu-system-aarch64…
0
votes
0 answers

How to create a shared Disk with the image stored on Host in KVM?

I am currently trying to setup a disk, using the raw img format on the host, which is then shared between multiple guest VMs (which are running Alpine Linux), using the libvirt / KVM virtualization platform. While I attached the disk to different…
0
votes
0 answers

No network in google android emulator

I am running an android emulator on Linux, using the Android Sdk. The emulator does not seem to have network connection. I do not see any sign of it either inside or in the host. What could be the cause, how a healthy routing setup looks like, and…
user157726
  • 113
  • 4
0
votes
0 answers

Is there anyway I can run an arm64 VM using Cockpit on a amd64 machine?

I am currently facing a challenge with integrating Cockpit on my AMD64 machine for managing both AMD64 and ARM64 virtual machines. I have successfully run an ARM64 machine on my AMD64 machine using QEMU, as demonstrated by the following…
aggarcia
  • 1
  • 2
0
votes
0 answers

How to convert virtual machine images to bootable OS installation?

I have a virtual machine installed in QEMU. I want to migrate this machine and use it as base machine. Query I have is that it is possible, and if yes will simple converting .img to .iso and burning the obtained .iso in pendrive be sufficient or any…
0
votes
1 answer

How to connect to UTM VM exposed port from the host?

I have a windows VM set up with UTM on my M1 mac but cannot access it event though it is set on shared network in the preferences. I've tried localhost:5432, 127.0.0.1:5432... with no success.
Benoît P
  • 101
  • 3
0
votes
0 answers

How to manage disk-only snapshots on QEMU?

I'm trying to move my VirtualBox and Docker workflow to QEMU. On those other systems, I would boot a public linux vm/container, edit to my liking. shut it down, and create a snapshot to then boot and discard changes. So i always have a pristine…
gcb
  • 344
  • 1
  • 4
  • 18
0
votes
1 answer

How to start a Proxmox VM on Windows w/ Qemu

I'm trying to start a Proxmox VM using the qcow2 image on Windows using Qemu, however I can't figure out the correct parameters to start the machine. Based on my settings in the Proxmox Web UI: I tried to run this CLI snippet: PS >…
Maru
  • 183
  • 1
  • 1
  • 8