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.

Filter by
Sorted by
Tagged with
1 vote
0 answers
17 views

How to sucessfully import an .ova vm exported from ovirt/kvm (Red Hat OS)?

So, I was given an .ova file. This is exported from a server using a combination of KVM/QEMU and ovirt technologie - the server runs RedHat and I want to import this .ova file into vmware or ...
oolnux's user avatar
  • 11
0 votes
0 answers
69 views

Can QEMU installed on a Windows 10 host run a Windows 11 guest?

can QEMU installed on a windows 10 host run a windows 11 guest? ok I have QEMU installed on a windows 10 machine and I want to install a windows 11 guest onto it, however I keep running into the not ...
Cc Dd's user avatar
  • 109
1 vote
1 answer
51 views

Cannot access deb.debian.org from VM after port forwarding using /etc/libvirt/hooks/qemu

Setup On host server with Debian Bookworm I created two VM-s (pserver 192.168.122.227 and pagent-1 192.168.122.126) via cockpit (kvm). Both of them are running Debian Bullseye. I am using default ...
Matija Sirk's user avatar
0 votes
0 answers
13 views

can qcow2 overlay get commit back into raw backing file?

I am trying to design a system utilizing the btrfs and libvirt. btrfs has COW already its very easy to do snapshot and very efficient to transfer the snapshot to remote as backup (rsync and other tool ...
Wang's user avatar
  • 318
-2 votes
0 answers
54 views

pc-q35 >6.0 breaks the pcie hot plug?

I have some strange problem that the new pc-q35 version break the pcie hot plug: Following is the normal output of dmesg when system boot up, we can see there is pciehp which provide functionality of ...
Wang's user avatar
  • 318
0 votes
0 answers
27 views

How to set default disk image format in Cockpit/QEMU

I create my virtual machines on Debian 12 with Linux Cockpit 287-1 which uses QEMU/KVM for virtualization. If I create a VM, the default disk format is always in RAW-format. However, due to some ...
Drudge's user avatar
  • 155
1 vote
0 answers
153 views

KVM virt-install issue

I want to run arch linux as guest but after virt-install screen is stuck at console Escape character is ^] (Ctrl + ]).However VMs install by virt-manager are working fine and console is also working ...
Black_Bird's user avatar
1 vote
1 answer
271 views

Changing KVM VM listening on 5901 to some other port

OK this is rather silly, but real problem. vncserver keeps binding on 5902 port. That is because qemu is listening on 5900 and 5901: % netstat -lntup Active Internet connections (only servers) Proto ...
LetMeSOThat4U's user avatar
0 votes
0 answers
51 views

AppArmor rule to allow QEMU to create a char device socket in a directory

Given the following command line for QEMU (from this page): qemu-system-x86_64 -machine accel=kvm -cpu host \ -m $mem -object memory-backend-file,id=mem,size=$mem,mem-path=/dev/hugepages,share=on \...
Ken Y-N's user avatar
  • 113
0 votes
0 answers
145 views

Converting QEMU Solaris VM to libvirt

I have a QEMU VM running Solaris 2.6 on a SPARCstation-5 machine. I currently start it with the following command: qemu-system-sparc \ -name sunvm \ -machine SS-5 \ -m 256 \ -drive file=sunvm.img,bus=...
MP64's user avatar
  • 1
0 votes
0 answers
186 views

After converting Windows guest OS .vmdk file to .qcow2 and hosting to KVM gives "No Bootable Device"

We are migrating guest VM from VMware 7 to KVM (installed on Ubuntu 22.04 LTS). We have achieved success in migrating all Ubuntu guest VM from VMware to KVM by converting the vmdk disk to qcow2. ...
AM2023's user avatar
  • 1
-1 votes
1 answer
251 views

Making all Linux network interface (bridged) in a qemu VM use dhcp

I have a small application which takes in kernel code, and spins up VMs. I've been using this for kernel development. It is helpful and very fast when I want to spin up VMs with different kernel codes....
Haris's user avatar
  • 49
0 votes
2 answers
119 views

How to access service from virtual machine of another machine in local network?

I have two Ubuntu machines A and B in my local network. Computer B has an openmediavault instance set up via KVM. Computer B has the IP address 192.168.177.58, the openmediavault instance provides a ...
user7468395's user avatar
1 vote
0 answers
144 views

Machine type issue when migrating KVM VMs with live snapshots from Debian to Ubuntu

I'm trying to migrate around 40 KVM VMs (containing a few hundred live snapshots mostly used for automated testing on Windows) from a Ubuntu 22 server to a Debian 11 server. The machine type of most ...
John Salazar's user avatar
0 votes
0 answers
107 views

How to make KVM guest configs persistent across reboots/shutdown

I create a KVM Guest VM (virsh define a.xml, virsh start a.xml). Guest uses pre-configured/pre-made QCOW2 disk image, which represents a virtual router (Arista vEOS). Host is Redhat 9.1. Guest is ...
Mo Fatty's user avatar
  • 121
1 vote
1 answer
343 views

Why qemu fails to start host only network on loopback when there's no other network on host?

Starting qemu-system-x86_64 with -nic user,ipv6=off,hostfwd=tcp::9022-:22 With only the lo interface (with 127.0.0.1 associated to it) present on the host, the vm will start, but any daemon trying to ...
gcb's user avatar
  • 52
1 vote
1 answer
1k views

QEMU SMP options

I'm trying to understand the QEMU smp option. Currently I have set it to: smp 4 As far as I understand that should create 4 vCPU (with 1 core and 1 thread I suppose). Would it be better for ...
Maestro's user avatar
  • 285
1 vote
1 answer
664 views

Determine QEMU KVM overhead?

My guest OS shows about 5 percent CPU usage, but my host machine shows the QEMU process taking about 25 percent. I'm trying to understand where this difference comes from, as I am using KVM ...
Maestro's user avatar
  • 285
0 votes
0 answers
52 views

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 ...
Maestro's user avatar
  • 285
2 votes
1 answer
939 views

Dynamic CPU allocation/scaling in QEMU KVM

How can I dynamically allocate/scale CPU resources to my QEMU VM according to the workload of the VM? Would this require a script? Is it even possible to change CPU allocation at runtime? I have a ...
Anm's user avatar
  • 203
0 votes
0 answers
14 views

Can you use virsh to reset vm id sequence? [duplicate]

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  --------------...
account404's user avatar
0 votes
0 answers
129 views

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 ...
wineT's user avatar
  • 1
0 votes
0 answers
128 views

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 ...
befaro's user avatar
  • 43
0 votes
0 answers
112 views

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=...
Marietto's user avatar
  • 143
0 votes
1 answer
314 views

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 ...
Marco's user avatar
  • 101
1 vote
1 answer
455 views

How to use more then 2GB of ram when using running a nested BIOS VM using KVM

I have a Linux host running Debian 11 and on that host, I have a Ubuntu 22.04 VM. Inside that VM I want to run a Windows 10 VM using nested virtualization. The ubuntu VM is booted using EFI and nested ...
nezu's user avatar
  • 111
1 vote
1 answer
246 views

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, ...
akashavkin's user avatar
1 vote
1 answer
99 views

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 ...
jimbob's user avatar
  • 26
1 vote
1 answer
125 views

Three virtio-blk devices crashing Windows 10 VM

If three virtio-blk devices are added VM is crashing in the middle of the Windows 10 boot. The attached blockdev has no influence. VM is working fine using two virtio-blk. qemu-system-x86_64 \ ... -...
Jonas's user avatar
  • 337
0 votes
0 answers
260 views

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 ...
Apoorv Pal's user avatar
0 votes
0 answers
130 views

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 ...
user157726's user avatar
1 vote
0 answers
133 views

Backing encrypted drive

Creating a backing image for the master image that is encrypted using LUKS: qemu-img create -f qcow2 -b dev.qcow2 -F qcow2 -o encrypt.format=luks,encrypt.key-secret=dev --object secret,id=dev,data='...
Jonas's user avatar
  • 337
1 vote
1 answer
166 views

How to read qemu fw_cfg value in windows guest?

Unable to find information about how to read -fw_cfg value in windows guest with the help of this: https://github.com/virtio-win/kvm-guest-drivers-windows/tree/master/fwcfg Related question: https://...
Jonas's user avatar
  • 337
0 votes
0 answers
116 views

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 ...
aggarcia's user avatar
1 vote
0 answers
116 views

How do I force Virt-Manager to use the hosts' llvmpipe renderer so the guests get to use 3D acceleration?

I'm using virt-manager and set "3D Acceleration" as per what was recommended, but I'm getting this error: qemu_gl_create_compile_shader: compile vertex error 0:2(10): error: GLSL ES 3.00 is ...
X.LINK's user avatar
  • 111
0 votes
0 answers
62 views

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 ...
Ayush Gupta's user avatar
1 vote
1 answer
2k views

How to connect to UTM VM exposed port from the host? [closed]

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's user avatar
  • 111
0 votes
0 answers
131 views

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 ...
gcb's user avatar
  • 52
0 votes
1 answer
410 views

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 ...
Maru's user avatar
  • 183
0 votes
0 answers
81 views

qemu virtual machines slow during RAID5 check

Operating system: CentOS 7.9 (on both host and guests) Host specs: CPU - AMD EPYC 7502P 32-Core Processor RAM - 250 GB (only 22G used by all VMs) Disk - Four Samsung SSD 870 QVO 4TB, grouped in a ...
William Seligman's user avatar
1 vote
0 answers
330 views

QEMU boot with no progress for quite long after using the -enable-kvm option

I just wanna start a vm based on x86_64 via qemu, everything goes as expected(e.g. showing the console and login part) when I run the command below qemu-system-x86_64 \ -nographic \ -smp 4 \ -kernel ~/...
DESPERATE's user avatar
1 vote
0 answers
622 views

how to make two qemu guests communicate between them as well as with the host

I'm on MacOS with apple silicon. I'm tring to set up a vangrant environment of two nodes which both should be able to see each other and be reachable by the host. For that, this is the Vagrantfile I'm ...
Bertuz's user avatar
  • 125
0 votes
0 answers
2k views

Error starting domain: unsupported configuration: host doesn't support passthrough of host PCI devices - fedora 37

I added the section in the xml file of the VM win10 and I got the following error: Error starting domain: unsupported configuration: host doesn't support passthrough of host PCI devices when trying to ...
jeanix46's user avatar
1 vote
1 answer
216 views

Windows asking me to sign in with a company email?

Windows is asking me to sign in with my company's email, problem is I don't have one and nor is the company related to me whatsoever. I am trying to run Windows LTSC on QEMU. What gives?
Anm's user avatar
  • 203
0 votes
0 answers
82 views

"Welcome to Intellek" when trying to install Windows LTSC 2021 in Qemu [duplicate]

On the "Account" stage, it says "Welcome to Intellek" and prompts me to enter my email for Intellek. I do not know what that is, a search reveals it is some company? I downloaded ...
Anm's user avatar
  • 203
0 votes
1 answer
177 views

Cache mechanisme in kubernetes

I've got the next setup: Proxmox 7.2 CEPH 16.2.9 K3S v1.23.15+k3s1 CEPH CSI v3.7.2 CEPH using as RBD-storage for QEMU images and K8S PVC. When I do disk benchmark in QEMU I've got the next results: ...
chs_voks's user avatar
0 votes
0 answers
215 views

Libvirt IPv6 routing to nated network

I'm having trouble getting IPv6 to work for my KVM/qemu guests. I have two bridges setup, one routed (external, non libvirt) bridge for public dedicated ipv4 + ipv6 which works for both protocols. ...
Andrew's user avatar
  • 21
1 vote
1 answer
1k views

Ubuntu 22 No ACPI DMAR table found, IOMMU either disabled in BIOS or not supported by this hardware platform on nested VM

I am using ubuntu 22.04 LTS minimal server. My host server is set up with kvm and is functioning well. All tests pass when running virt-host-validate. When I create. virtual machine i want this to ...
shorif2000's user avatar
0 votes
3 answers
532 views

Before-snapshot script hook for Windows guest on Proxmox?

I have a Proxmox server setup with a Windows 10 guest that will be running MSSQL Express. The Windows guest has QEMU guest agent installed and working. For backups, I have a separate server running ...
Jacob Jewett's user avatar
0 votes
0 answers
263 views

Get network access from my virtual machine with qemu and Debian Host

I have a (hopefully) simple problem. I try to configure my host system to route network traffic through one physical network interface. Here is my setup: I have an ethernet interface (eth0) and i have ...
Christian Nill's user avatar

1
2 3 4 5
13