Questions tagged [kvm]

KVM is the Kernel Virtual Machine, a virtualization hypervisor built into the Linux kernel.

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

KVM error under MX Linux 21 after upgrade

I got KVM error after hardware upgrade upgrade (more RAM and changed MB with same model from another computer (got 2 equal) due to broken ports). It worked as a charm, now I got error: Traceback (...
Rumen's user avatar
  • 1
0 votes
0 answers
8 views

The attached virtio disk is not recognized by libvirt but it is recognized by qemu

I'm trying to virtualize FreeBSD 13.2 for arm 32 bit on my laptop ARM Chromebook where qemu is version 5.1,KVM is enabled,libvirt and virt-manager are installed from the source code and everything ...
Marietto's user avatar
  • 495
0 votes
0 answers
19 views

Route bridge traffic thru a specific interface in my KVM server

My setup is as depicted in the image. My VMs sit on both virtual subnets. Currently, all traffic from both virtual subnets flows thru ens1 since that is the primary interface with a route metric of ...
Mayur Raol's user avatar
0 votes
0 answers
36 views

The network icon in debian system taskbar is missing

Operating System: Debian Bookworm stable Desktop Environment: Xfce I have Debian with all the latest updates installed. After installing software like qemu-system, virt-manager, and bridge-utils, I ...
matome's user avatar
  • 1
0 votes
0 answers
35 views

My Ubuntu kernel config file does not recognizes all memory available to the system,but only half

The project that I've been working on since 2 years is to enable KVM (with the support of libvirt and virt-manager) on a recent version of Linux and of its kernel on the old but still nice ARM ...
Marietto's user avatar
  • 495
0 votes
1 answer
26 views

Libvirtd/Qemu routed network mode problem with two virtual networks

I have a persistent problem with my virtual machine host. Host machine rebooted recently and after that one out of the two virtual networks stopped working. The network topology that I have is a /26 ...
user2771538's user avatar
1 vote
0 answers
27 views

Performance problems when running Wireguard between virtual machines

I’m running into performance problems with Wireguard tunnels running between two virtual machines on the same hypervisor (running under Qemu/KVM) and I would greatly appreciate any insights/advice ...
Tulkas's user avatar
  • 53
1 vote
1 answer
26 views

Why a user could run qemu virtual machine in KVM mode without access to /dev/kvm on Debian 12 (bookworm)?

One user account A, could run qemu VMs with kvm enabled, with the option -enable-kvm. But user A does not have access to /dev/kvm. The related user groups and /dev/kvm permission is as follows. $ id ...
liginity's user avatar
  • 113
0 votes
1 answer
31 views

Error : virHostCPUGetKVMMaxVCPUs: KVM is not supported on this platform: Function not implemented

I'm running Debian bookworm on my ARM Chromebook,model "xe303c12" and I've recompiled the kernel (5.4) to enable KVM,so now my system sounds like this : $ lsb_release -a No LSB modules are ...
Marietto's user avatar
  • 495
0 votes
0 answers
29 views

Laggy mouse cursor on windows guest

I have virt-manager, qemu, kvm setup. I have installed Windows 11 and Arch Linux guests. On Arch Linux, I don't have any additional guest drives for virtualization to work. On Arch Linux, when the ...
s1n7ax's user avatar
  • 387
1 vote
0 answers
37 views

Failed to acquire pid file : /var/local/run/libvirt/qemu/driver.pid

I'm running Debian bookworm on my ARM Chromebook,model "xe303c12" and I've recompiled kernel to enable KVM,so now my system sounds like this : $ lsb_release -a No LSB modules are available. ...
Marietto's user avatar
  • 495
1 vote
1 answer
28 views

archlinux on vm (created by libvirt) can not start up?

there is the domain xml for vm0x01: <domain type='kvm' id="1"> <name>vm0x01</name> <uuid>4dea24b3-1d52-d8f3-2516-782e98a23fa1</uuid> <genid>...
SomeNetDrugs' SuperStunRod's user avatar
0 votes
0 answers
31 views

No Internet from internal GSM modem, but only in Guest OS (KVM/Qemu)

I have been trying to set up a virtual router on my laptop utilizing the LTE card (Sierra Wireless AirPrime EM7455) as its WAN interface. To summarize my problem, the LTE card works in the host but I ...
klanec's user avatar
  • 1
0 votes
1 answer
44 views

What is the difference between these two blockdev declarations?

In Debian bullseye, I am starting virtual machines using QEMU / KVM by command line (i.e., without virsh or other helpers / wrappers). One of those VMs starts from a block device that is declared as ...
Binarus's user avatar
  • 3,180
0 votes
0 answers
43 views

cannot import qcow2 image in virt-manager to other vm

I have installed debian to a qcow2 image to prepare it for usage in a paravirtualized vm and have tried to import it on another vm. Virt-manager doesn't give any errors, however from the OVMF bios it ...
MaxBrandtner's user avatar
0 votes
0 answers
112 views

QEMU-KVM Freezes on Guest Reboot - How do I fix this?

I haven't tested it on a Linux guest, but on a Windows 10 virtual machine guest most reboots freeze in the middle of starting back up. This has never happened with me on VirtualBox, and I wouldn't ...
Asteroid's user avatar
1 vote
1 answer
34 views

Can not find USB stick after attach it to VM

Am an amateur debian11 user (In contrast to an expert :-). My pc installed Debian 11 KVM/QEMU. Under Virt-Manager, VM connect to host USB successfully with the option == redirect USB device. Need to ...
yawob's user avatar
  • 21
0 votes
1 answer
72 views

In KVM/Libvirt: How can I have two NAT networks with the same IP range on one host?

I'm trying to use KVM and libvirt to test some infrastructure setup in a virtual machine, where basically I'm booting a VM inside a network. In my case, this VM and the network always must have the ...
Alex's user avatar
  • 103
1 vote
0 answers
15 views

How can I configure my Linux host to NOT connect to a 2nd bridged interface that uses a different VLAN?

My computer is connected to a port on my switch that allows VLAN 10 (default) and VLAN 20. My computer only has 1 ethernet card: eno1. On my computer, I have created two bridged interface: br0 where ...
IMTheNachoMan's user avatar
0 votes
1 answer
66 views

Understanding libvirt / kvm bridged network and its IP

I'm trying to get the IP of a guest virtual machine connected to my network with libvirt / kvm bridging. I've come across a couple of resources online, but they seem to be out of date, like this and ...
xpt's user avatar
  • 1,232
0 votes
0 answers
27 views

How can I use create a bridge network for different VLANs so my host + guest can connect to different VLANs?

My box has Debian 12, KDE, and is using Network Manager. I am using virt-manager and want to create VMs on different VLANs on my network. My box is connected to a port on my switch that allows VLAN 10 ...
IMTheNachoMan's user avatar
0 votes
0 answers
43 views

How can replace the arguments -soundhw all in kvm command?

Several years before,i run virtual machine this way: sudo apt-get install qemu qemu-kvm cd ~/ mkdir debian_qume wget some_debian_version.iso #it is a url mv some_debian_version.iso ~/debian_qume/ cd ...
showkey's user avatar
  • 99
0 votes
0 answers
56 views

How can I configure VMs to suspend or shutdown when the host is rebooted/shutdown with KVM / virt-manager?

I am running openSUSE Tumbleweed with virt-manager. I can see an option in the VM details for starting the VM when the host boots up. I am trying to find a way to configure what a VM does when the ...
IMTheNachoMan's user avatar
0 votes
0 answers
14 views

What is the **openSUSE way** for using VLAN 10 for my host and VLAN 20 for guest VMs with a bridged connection and KVM?

I have a fresh install of openSUSE Tumbleweed installed on my box. During the install process I said to install KVM Hypervisor and it defauled to a bridged connection (which is what I want). My box is ...
IMTheNachoMan's user avatar
0 votes
1 answer
30 views

Install base Linux on KVM virtualized hardware (dom0)

Goal: I would like to install my main Linux distro on top of KVM, equivalent to dom0 in Xen hypervisor parlance. I know that running an OS on top of a hypervisor is not uncommon and that KVM has been ...
Adam Erickson's user avatar
0 votes
1 answer
57 views

is it possible to oversell KVM VPS? [closed]

I found a cloud service provider selling VPS with a cheaper price compared to other companies. They claim to use kvm for virtualization so it made me curious is overselling hardware the reason of this ...
Naadiyaar's user avatar
0 votes
0 answers
40 views

Vagrant OpenBSD Box not starting up through Libvirt Provider

So I have created a OpenBSD 7.3 VM in libvirt with the following shell command. virt-install --name openbsd7.3 --os-variant openbsd7.0 \ --virt-type kvm --vcpus 1,maxvcpus=2 --memory 256,maxmemory=...
prmethus's user avatar
0 votes
0 answers
35 views

Can’t start VM with img

I'm using Debian 11 and libvirt with KVM. Previously, I was able to start VMs with a mounted .img file, but now I'm unable to do so. I have reinstalled virtualization, redownloaded the .img file, and ...
Tom 's user avatar
  • 1
0 votes
0 answers
9 views

Working VM in KVM, cannot mount volumes inside disk image, after graceful reboot of host

So I have a Centos based VM (NethServer) inside a KVM host (UNRAID). I have this for years and has proven very resilient, surviving host power cuts etc. Today I rebooted the host gracefully, because ...
NLS's user avatar
  • 1
0 votes
0 answers
25 views

virt-sysprep libguestfs read-only filesystem error when cloning VM

I am trying to follow this guide to clone a qemu VM. However, when I try to run virt-sysprep on the image it gives me this error: virt-sysprep: error: libguestfs error: rm_f: /$Recycle.Bin/S-1-5-21-...
John Salazar's user avatar
0 votes
0 answers
62 views

GPU passthrough works with Windows 10 x64 and not Windows 10 IA32

I have been running GPU passthrough with UEFI and KVM on Linux for the best part of a decade (XP x64, now Windows 10 x64), and that has been working great, but recently I tried to get it working with ...
Gordan Bobić's user avatar
0 votes
0 answers
170 views

keyboard/mouse not working in VMM thru VNC

i remotely connect to my Virtual Machine Manager thru VNC client (MobaXTerm) to TightVNC (on the Debian host) on Win10. however, when i spin up a vm, the guest does not respond to any keyboard or ...
WhiteRau's user avatar
  • 213
1 vote
0 answers
297 views

KVM vm network performance is super slow compared to host

I am running a KVM Windows 11 VM guest with an arch linux host. I have tried across multiple windows and linux guests and the network performance is the same across the guests, so this is not a guest ...
Eshy's user avatar
  • 165
0 votes
0 answers
114 views

Starting QEMU VM with USB serial device attached fails with permission denied, but attaching it after VM is started works

I have a defined a USB device like this in virt/usb-serial.xml: <serial type="dev"> <source path="/dev/serial/by-id/usb-...
Henrik's user avatar
  • 141
0 votes
0 answers
103 views

QEMU command with NVME boot is functional but cannot convert to virt-install parameters

I'm attempting to convert a working qemu command to virt-install parameters. The working command is: qemu-system-x86_64 -bios /usr/share/OVMF/OVMF_CODE.fd -boot c -drive file=/vm/image.qcow2,if=none,...
enigmaedge's user avatar
1 vote
1 answer
125 views

Delete VM including storage with python-libvirt

I'm trying to write scripts in Python with the libvirt library, but there's one thing I'm currently stuck at. I can successfully create a VM, set it up how I want it, start it, access it, and shutdown ...
Florian Bach's user avatar
-1 votes
1 answer
66 views

Can I use KVM without ioctl?

Recently I've discovered how /dev/kvm doesn't seem to implement functionality for read() or write(), and any attempt to invoke them always results in Error 22 (Invalid argument). I'm trying to avoid ...
Tcll's user avatar
  • 111
0 votes
0 answers
46 views

KVM: Reboots virtual machine reboots the virtualizer machine too

Rebooting or booting the virtual machine triggers an immediate reboot of the virtializer machine. No matter if I'm on SSH or I do it by VIRSH command or I press the PLAY button in VMM. I am using KVM ...
WLukas's user avatar
  • 1
0 votes
0 answers
204 views

super / windows key in virtual machine(qemu/kvm) opens the menu on my host aswell

i've been having this issue ever sinced i switched my Desktop enviroment from gnome to kde,basically whenever i press super it opens the menu on my host as well and its really quite frustating apart ...
user572317's user avatar
0 votes
0 answers
59 views

KVM - Oracle Linux 8 - RAC Installation (Private IP Problem)

KVM virtualization is running on 2 different physical servers. Each of the nodes will run on a physical machine. Oracle RAC installation will be done on OL 8.x operating system as KVM Guest. I want to ...
rndm_acct1's user avatar
0 votes
0 answers
39 views

Why does Xrandr's state of output is different in QEMU/KVM guest?

I have just started playing with QEMU. One thing I have noticed is that the available resolutions listed by xrandr is different from what is available on my host. I would like to change the ...
hba's user avatar
  • 889
0 votes
0 answers
104 views

How to build qemu with additional machine types

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
38 views

KVM VMs get disconnected when I restart a VM

So, I have a VLAN setup in a KVM host, where I bridge a firewall WAN port to a physical eth interface, and then bridge the LAN port to an internal bridge, which has vlan subinterfaces, which ...
Orsiris de Jong's user avatar
0 votes
1 answer
210 views

KVM - Windows guest cannot access host, but can ping both directions

I have a host running Fedora 36, guest is Win11 I am attempting to share a directory on the host box with a windows 11 guest. Through research I found that samba is the generally recommended way to ...
Roger Creasy's user avatar
0 votes
0 answers
118 views

How to bring-up PCI passthrough for NIC card in ubuntu ARM based system

I have Intel x700 series NIC card on my ubuntu 22.04[ARM] based system And using KVM for virtualization, I need to use these NIC ports for guest VMs. If any document to setup PCI passthrough for NIC ...
velpandian's user avatar
0 votes
1 answer
437 views

Enabling drag-and-drop file transfer between host and guests in KVM_QEMU on Arch Linux

I am running Windows 7-10 guests on an Arch Linux host, and I have tried using Virtualbox, Vmware, and KVM_QEMU. I have found that the best performance is with KVM_QEMU, but I am unable to drag and ...
damien darhk's user avatar
0 votes
0 answers
41 views

Systemd bridge has self assigned IP on reboot

Running Ubuntu 22.04 with a TrendNet 2.5Gbe PCIe card I'm binding my NIC enp3s0 to a bridge br0 to use with a KVM that I'd like to have access to my local network. Configuring the bridge with systemd-...
dmstanley's user avatar
1 vote
0 answers
120 views

How do i configure my laptop for Hardware Acceleration for the Android Emulator to use KVM? (I use arch linux)

I am a newbie, and I use Arcolinux (Arch based) and hyprland-Wayland. So I was installing Android Studio, and then in the installation it asked me to configure hardware acceleration for Android ...
Doroga's user avatar
  • 11
0 votes
0 answers
305 views

KVM/QEMU Network "default" NAT Configuration - Guest cannot connect to Host or Internet

In Arch Linux, any guest VM no longer connects while the VM is using any virtual network. This issue pretty much came out of nowhere, as it was working previously, with no changes in any system ...
spectra1duke387's user avatar
0 votes
1 answer
157 views

Changing/removing password in a .qcow2 virtualization

I downloaded a .qcow2 image from cloud.centos.org, and have been attempting to change the password so I can log into it when loaded into a virtual environment. I tried editing /etc/shadow using virt-...
Michael VanDeMar's user avatar

1
2 3 4 5
21