Skip to main content

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

Is my characterisation of KVM and QEMU accurate?

I usually write essays on topics I am studying to help my understanding. Below are excerpts from my study of Virtualisation. I would like comments from real professionals on their accuracy. KVM is ...
bonecrusher's user avatar
1 vote
0 answers
16 views

Remounting an overlayfs on underlying filesystem failure

I have quite a bit complex setup. I'm running https://github.com/demostanis/demolinux. The root filesystem is made out of an overlayfs between a btrfs read-only subvolume and a read-write btrfs ...
demostanis's user avatar
0 votes
0 answers
20 views

Logitech TrackMan Marble Mouse Back Button

Background A Logitech TrackMan was configured to have its small right button trigger the back functionality in Firefox. Here's an image of the device from the Ubuntu Community wiki: The keyboard and ...
Dave Jarvis's user avatar
0 votes
0 answers
27 views

Why I see different cpu-migrations from top and perf stat?

New to system performance analyze. I am curious on how CPU affinity affect kvm virtual machine. So I try to bind vm's vcpu to physical cpu to improve vm's performance. find the pid of the vm(ecs-...
coolder's user avatar
0 votes
1 answer
98 views

Debian 12 Cloud Image Deployment Issue - Growpart can not find grep and other basic utilities

I created a tutorial quite a while ago for easily deploying Debian 12 from the provided qcow2 images that are provided here: https://cloud.debian.org/images/cloud/bookworm/latest/. Unfortunately, I ...
Programster's user avatar
  • 2,279
0 votes
0 answers
21 views

How can I create a VM in virt-manager that can access the internet through the host but can't even see the host or other devices on the LAN?

I want to be able to create multiple VMs for testing purposes -- questionable websites, files that could be infected with a virus, etc. I want to make sure these VMs should be able to access the ...
IMTheNachoMan's user avatar
1 vote
1 answer
128 views

Trouble building KVM from source for Ubuntu 22.04. section size must match the kernel's

I'm trying to build KVM and I'm having trouble figuring out where I went wrong. It builds fine, I'm 99% sure I'm cloning the correct kernel tag in git, but it doesn't load. I'm running Ubuntu 22.04, ...
Sean's user avatar
  • 121
0 votes
0 answers
59 views

Not able to get Windows 11 VM working on KVM with intel 13900k

This is my first time posting here in hopes I can find an answer to an issue I have been experiencing with trying to get my Windows 11 VM running on KVM with my new Intel 13900KS. To be specific, this ...
SLG's user avatar
  • 1
0 votes
0 answers
102 views

Rocky Linux Emergency Mode in KVMachine does not start

I have "inherited" a virtual server at German hoster STRATO with Rocky Linux 8, but no root password. I wanted to change this as usual, so in grub I entered rd.break enforcing=0 Enter rd....
AlbiWe's user avatar
  • 1
0 votes
1 answer
19 views

KVM: Recover console of VM which connected to console of another VM

How do I recover the console of the first guest when itself is connected to a guest of which it is the host? Host1:~$ virsh console Guest1 ... Connected to domain 'Guest1' Escape character is ^] (...
viator's user avatar
  • 57
0 votes
0 answers
18 views

Ubuntu Cloud Image terminal display resolution

I've been testing out the Cloud Image variants of Ubuntu Server on a Proxmox VE, but I encounter one issue with the NoVNC console - the resolution seems to be something like 640x480 which is very ...
alex.b.bg's user avatar
0 votes
0 answers
16 views

KVM/libvirt VMs layer 2 looks good but layer 3 isn't working

This looks like it's similar to this question but my setup (kvm/libvirt) looks closer to the answer than the question. Host is running Debian 12 (bookworm) and is up-to-date with upgrades, nothing ...
Jarad Downing's user avatar
0 votes
0 answers
56 views

GPU passthrough (single GPU machine)

I am interested in a use case where I have a PC running KVM, and I want to map the host's VGA/DVI output to a guest machine. The host machine will not have 2x video cards. The net effect is that, ...
user1913559's user avatar
0 votes
0 answers
29 views

KVM breaks my host's Internet connection

When the host first boots, route says: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 192.168.0.1 0.0.0.0 UG 0 ...
aswine's user avatar
  • 323
0 votes
0 answers
71 views

Networking Errors on KVM

I am trying to run a KVM virtual machine on Debian 11 (Bullseye) I'm also running this from crouton on ChromeOS in case that's like really crucial, but I don't think it is. Here's the error: Unable ...
John Garlic's user avatar
0 votes
0 answers
17 views

Delete snapshot of guest whose file system has been removed

I cannot delete a guest with virsh undefine because of cannot delete inactive domain with 7 snapshots. The path displayed by virsh domstats does not exist anymore and anywhere else. How do I remove ...
viator's user avatar
  • 57
0 votes
1 answer
26 views

Edit value of "domain" tag seen in XML output of "virsh domcapabilities"

How do I change the domain parameter displayed by virsh domcapabilities from qemu to kvm? <domainCapabilities> <path>/usr/bin/qemu-system-x86_64</path> <domain>qemu</...
viator's user avatar
  • 57
2 votes
1 answer
21 views

Root does not see KVM guests of non-super user

Why doesn't root know about a regular user's KVM guests? user@Lin0011:~$ virsh list --all Id Name State ----------------------------- - Lin0021 shut off user@Lin0011:~$ root@Lin011#...
viator's user avatar
  • 57
1 vote
0 answers
54 views

VIRSH sometimes does not support type KVM

Sometimes, my user cannot start guests although mostly it can. Pardon the vagueness of sometimes/mostly, but I have no idea what happens inbetween, with the exception of the restart of the host ...
viator's user avatar
  • 57
0 votes
1 answer
86 views

Files not listed when mounting VM image with guestmount

When I mount the disk image of a (stopped) KVM virtual machine, ls shows the home and tmp directories as empty, even though inside the virtual machine they are not empty and on the next run (after ...
user22495's user avatar
0 votes
0 answers
42 views

Can not open console with virtual machine manager

I have two virtual hosts running rhel 8.9 (libvirt-8.0.0) and Virtual Machine Manager (virt-manager-4.1.0) on a desktop to control them. I built several guests on host1 and everything worked as ...
Garnet's user avatar
  • 398
0 votes
1 answer
24 views

libvirt can't bind device to runtime due to permission denied

I'm trying to start a new domain via libvirt virsh start my-domain. But it fails with this permission denied error error: internal error: Process exited prior to exec: libvirt: error : Failed to bind ...
itsjc's user avatar
  • 101
4 votes
1 answer
376 views

Can I use SELinux to add an extra layer of protection against 0-day VM escape exploits in KVM/QEMU?

My host is Fedora, and I want to add an extra layer of protection against 0day KVM/QEMU exploits that execute code on the host. For example there have been CVEs where if we run a specially crafted ...
OneAndOnly's user avatar
1 vote
0 answers
185 views

Libvirt iptable chain LIBVIRT_FWX has no effect on interface internal traffic

I created a libvirt network in open mode and added the iptable rules that would have been created for a nat mode network. My plan is to basically create a nat network but add some custom iptable rules ...
elperry's user avatar
  • 11
0 votes
1 answer
160 views

Is it possibel to enable X86 PMU in QEMU emulation mode (without KVM)?

I am trying to run perf in my Linux system, but WSL2 and virtual-box 6.1 do NOT detect the hardware PMU in system. So, I installed qemu-system-x86_64 in Linux VM, and tried to run QEMU in emulation ...
wangt13's user avatar
  • 443
0 votes
1 answer
31 views

Bridges on A Virtual Host

Years ago, I set up a virtual host on RHEL 7 with 2 NICs talking to 2 different LANs. I used some combination of brctl, ifconfig, etc. The host has guests on both LANs. The guests and external ...
Garnet's user avatar
  • 398
-1 votes
1 answer
363 views

kworker causes high CPU and RAM consumption

The kworker performs operations that take the Memory, I/O, and CPU highly on my VPS every hour. How can we fix this?
Mixko's user avatar
  • 49
1 vote
1 answer
114 views

create bootable Image from Rsync System Backup

i've copied a Linux System Rootfolder (/) using Rsync to a local Folder. (Excluding 500GB Data) Is it possible to create a Bootable System Image that boots in Virt-manager? Rsync Command: Rsync -aAXv ...
user2534903's user avatar
0 votes
0 answers
79 views

file system error on non-existent device (ext4_mb_generate_buddy)

Ubuntu 20.04 server running virtual server guests. root@virtual3:/dev# dmesg | grep dm-11 [16067.090601] EXT4-fs (dm-11): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none. [...
David's user avatar
  • 29
0 votes
1 answer
97 views

How to determine when KVM vm was created?

OS is Debian. Not asking about uptime of course, but I would like to determine when vm was created and/or first booted. Normally you can do something like: stat / and check birth time, but for a kvm ...
cat pants's user avatar
  • 487
0 votes
1 answer
193 views

KVM VM on bridge to host not getting IP address

I have a host with 4 ethernet ports. I want to assign eno1 to VM1, eno2 to VM2 and so on... eno1, eno2 , eno3 and eno4 each have static IPs. I want VM01 to have the static IP of eno2. For that purpose ...
rajeev's user avatar
  • 245
0 votes
0 answers
103 views

Booting Existing Linux Installation in qemu VM

There are 2 separate arch installations on my machine, one on an nvme drive and another on /dev/sda (EFI in /dev/sda1 and root in /dev/sda2). Trying to boot the arch on /dev/sda from inside the arch ...
Loma Harshana's user avatar
0 votes
1 answer
453 views

Starting QEMU as another user

I'm currently trying to intercept/block specific requests from the guest in QEMU. According to this question, it seems that the easiest way to do so is to run QEMU as a different user, so that I can ...
Olmarq's user avatar
  • 3
0 votes
0 answers
209 views

KVM Qemu + Libvirt -> Debian Host+Guest => OpenGL / 3D Acceleration -> No Effect

Hi I use debian12 with KVM+Qemu and libvirt ( VirtManager as a GUI ) to create my virtual Machines. I want to have several Virtual machines that have "some" GPU Acceleration NO Direct GPU ...
Viktor Carlson's user avatar
1 vote
0 answers
101 views

Running VMs and virsh command from qemu build from source

I am trying to build QEMU from source using the instructions given here. I am trying to implement a research paper which adds features to the migration mechanism of QEMU and so I need a custom build(...
Amit Kumar's user avatar
0 votes
0 answers
38 views

Does it make sense to run mcelog inside of a kvm vm?

I would imagine it would catch qemu / kvm / libvirt bugs, and probably nothing related to the actual hardware. Running mcelog on the host of course, but is it worth it/helpful to run it inside a kvm ...
cat pants's user avatar
  • 487
6 votes
1 answer
213 views

Is there a way to determine what process is rebooting a server?

I have a kvm vm that seems to be rebooting randomly. I'm not seeing anything in syslog about reboot, shutdown, error, core dump, panic, etc. No errors in libvirtd log on the host either, no errors in ...
cat pants's user avatar
  • 487
2 votes
2 answers
394 views

How to start docker container X86 on Rasberry PI 4 with arm64 architecture?

I have Raspberry PI 4 with 8 GB memory. And I have x86 container. It is working on x86/amd64 servers correctly. I would like to port it to raspberry. It has ubuntu 22 released from Raspberry team. I ...
Dmitry Senashenko's user avatar
0 votes
0 answers
36 views

same ip and subnet in 2 different bridges

I am trying to create 2 different virtual networks in the same ip range (not using NAT) in virt manager. This doesn't work with the gui or editing the xml of the new virtual network. Is creating ...
ISG's user avatar
  • 1
0 votes
0 answers
42 views

Unable to ping KVM/Qemu VM: Administratively prohibited

I am trying to setup routing to a KVM on my computer. When I try to ping a VM from another machine, I get the error message "Administratively prohibited". The VM can send IPv6 traffic out (...
Farhan Yusufzai's user avatar
0 votes
0 answers
22 views

Virsh Local vs SSH [duplicate]

I log in as user on a host machine and run virsh list --all and get the below: Id Name State ---------------------------------- 13 win10 running 14 OpenSuse ...
John's user avatar
  • 1
1 vote
1 answer
62 views

Is there any benefit in disabling kvm module on bare metal that won't ever run kvm guests?

Somewhere along the line, the nested kvm kernel module became enabled by default. As hard as it may be to believe in this day and age, not everyone in the world had a need to run kvms on every host ...
guzzijason's user avatar
0 votes
0 answers
119 views

Change resolution of a windows guest to a custom value

I use a Windows guest to run my MS office applications, like office Word. I typically keep MS Word fullscreen in my guest, and keep my guest's resolution at 1920x1080 (my host's resolution). However, ...
Anm's user avatar
  • 113
0 votes
0 answers
328 views

How can I use QEMU GTK as display when using libvirt?

I was following the guide for configuring Intel GPU Passthrough through GVT-g and had some issues when trying to use QEMU GTK as a display. In order to troubleshoot this more easily, I tried this out ...
cidra's user avatar
  • 81
0 votes
1 answer
179 views

Linux and KVM Qemu VM - "Couldn't ARP for host" despite that host and VM are both bridged and in the same subnet

I am using KVM Qemu in Kali linux host, and trying to practice ARP spoofing. In the Kali linux (which is connected to wired ethernet network), I have set up the following configuration (from tutorials ...
Shy's user avatar
  • 599
0 votes
1 answer
83 views

How do I recover data from a Linux KVM virtual machine?

I am currently experiencing the following problem: after an untimely power outage, my Linux KVM virtual machine no longer boots up. It shows no signs of life at all. But there are many important files ...
Andrewww's user avatar
-2 votes
1 answer
1k views

How to configure bridged networking for KVM virtual machines in Kali Linux host?

My base/host machine is running Kali Linux. It is a fresh install. My purpose is to configure the use of Bridged network mode in the KVM virtual machines I install and run on top of this host OS. I ...
Shy's user avatar
  • 599
0 votes
0 answers
29 views

KVM - Share Vm's Internet access with host (reversed use case)

So if your traffic "must" go via Windows. Setup Linux on PC Create Windows VM VM gets Wifi Dongle (USB-Redirect) Atm, the host (linux) has no internet access. Is there a way to create a ...
user82375897897928347's user avatar
0 votes
0 answers
301 views

Using IPMI in virtualization - what is the difference betweem virtualbmc project of openstack and QEMU device ipmi-bmc-sim?

I'm setting up a virtual lab on my laptop (using kvm/qemu), and need an IPMI solution (e.g., to use STONITH as is etc.). I have looked at virtualBMC and QEMU ipmi-bmc-sim (search for ipmi on the page) ...
Dani_l's user avatar
  • 5,021
0 votes
0 answers
45 views

RHEL9 make most of virtualisation features from RHEL7, how to upgrade to a modern OS?

I have a hypervisor that is installed on a CentOS 7.9.2009, with qemu-kvm. I have some virtualised old VMs that I would like to migrate elsewhere on a more modern system. I tried CentOS 9.0 and Rocky ...
MUY Belgium's user avatar
  • 1,264

1
2 3 4 5
21