Questions tagged [kvm]
KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V).
1,124
questions
0
votes
0
answers
9
views
How to add the virt module on CentOS 9 Stream?
I am following a tutorial where I have to work with the virt module on CentOS, I use CentOS 9 Stream. But this module is missing, see output below:
$ sudo dnf module list
Last metadata expiration ...
0
votes
0
answers
16
views
Failed to create domain from /etc/libvirt/qemu/vps.xml error: internal error: Failed to start QEMU : libvirt kvm: Exec format error
Had This error:
Failed to create domain from /etc/libvirt/qemu/vps.xml error: internal error: Failed to start QEMU : libvirt kvm: Exec format error
The fix for me was to reinstall:
apt-get reinstall ...
0
votes
0
answers
12
views
libvirtdbus change home folder
Is there a process to change home folder for libvirtdbus account?
I am using KVM to run VMs on RHEL 8. Also using cockpit.
# /etc/shadow
libvirtdbus:x:979:978:Libvirt D-Bus bridge:/:/sbin/nologin
#
...
-2
votes
0
answers
17
views
Issue with RAID Detection on Oracle Linux 9.4 after Upgrading from Oracle Linux 7.9 [closed]
Previous setup: Oracle Linux 7.9, RAID1 with 2 SSDs.
Current setup: Oracle Linux 9.4 installation, only one SSD detected as a partition.
Attempted to use the documentation link provided (https://docs....
-3
votes
0
answers
23
views
Oracle Linux 9 rsa-Key [closed]
How can I determine which RSA key I have and resolve any compatibility issues with the updated security requirements?
I'm trying to establish an SSH connection using an RSA key on a KVM host running ...
0
votes
1
answer
23
views
How can I add additional tagged vlans when using virt-install to create a guest?
I'm unable to figure out the XPath syntax to add a second tagged vlan when using virt-install to provision a guest:
srv01:~$ sudo virt-install\
--name=ds-controller01.iwc.ig24\
--disk source.dev=/...
0
votes
0
answers
19
views
Meaning of the npages member in the struct kvm_memory_slot
Recently, I've been working on live migration of virtual machines. I'm curious about the calculations of member npages in the kvm_memory_slot struct of kvm. The npages are initialized in the ...
1
vote
0
answers
62
views
Why do i get dev/kvm : No such device after installing kvm?
I am getting the error while running an emulator on my WSL Ubuntu 22.04.3 LTS on Windows
The error came when i already installed kvm in my ubuntu server and trying to create an avd device.
lsmod | ...
0
votes
0
answers
45
views
How can I update the baking file of qcow2 snapshot after the files have already been moved?
I am running Kubuntu (Ubuntu + KDE) with libvirt/qemu/kvm to run VMs.
I have a Windows 11 VM. When I created it, it created a .qcow2 and now I have a snapshot file.
The original file paths were:
/var/...
0
votes
0
answers
136
views
Vagrant-libvirt: could not get preferred machine for /usr/bin/qemu-system-aarch64 type=kvm
I'm having issues with running an arm64 machine using vagrant with the vagrant-libvirt plugin.
Here's the Vagrantfile:
Vagrant.configure("2") do |config|
# Disable synced folders
...
0
votes
0
answers
57
views
Qemu version 2.9.0 and later doesn't support legacy networking mode on gns3
When i start my nodes in GNS3 i get the following error message : Q emu version 2.9.0 and later doesn't support legacy networking mode . How can i fix this. Do i have to do downgrade to a 2.8.0 ...
0
votes
0
answers
98
views
Properly Configuring Host Port Fowarding to QEMU/KVM Guest
Can someone please show me what i am still doing wrong with the port fowarding on my KVM host?
If i try to go to the port 22596 from localhost it still doesn't forward to 8096 as specified. The ...
0
votes
0
answers
41
views
What happens when meet an exception?
I'm studying the part of kvm in linux and it seems that when the we meet an exception during kvm_run, the program will stuck in endless loop to deal with the execption.
For example, when I let kvm run ...
0
votes
0
answers
41
views
Can the hypervisor and VMs share memory?
I was wondering if modifying the KVM would allow the hypervisor and VM to share memory.
I've been studying SEV, AMD's memory encryption technology, and this question came up.
Is it possible for the ...
0
votes
1
answer
101
views
ActiveMQ Classic on Ubuntu 22.04 on VM starts but immediately exits
This installation was done on my KVM/Ubuntu by apt install, but I had the same problem after installing via download and unzipping everything in /opt and setting up the service file, etc. When I use ...