Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [kvm]

Questions about the Kernel-based Virtual Machine, an open source virtualization infrastructure to use the Linux kernel as a hypervisor.

Filter by
Sorted by
Tagged with
0 votes
1 answer
131 views

"apt upgrade" on aarch64 reports "No VM guests are running outdated hypervisor (qemu) binaries on this host"

Every apt upgrade show this error/warning message - Scanning processes... Scanning candidates... Scanning processor microcode... Scanning linux images... Running kernel seems to be up-to-date. ...
user avatar
  • 1,838
0 votes
0 answers
19 views

KVM guest network not working in bridge mode

I have a a KVM host running 20.04 and several KVM guests also running 20.04 which are setup to get their networking through bridge br0 of the host machine. After a reboot of the host machine, none of ...
user avatar
0 votes
1 answer
35 views

memory usage is wrong and diagree between gnome-system-monitor and htop (22.04)

I'm having a RAM problem where my RAM is full but there's nothing consuming al of it. The sudo htop commands shows my real memory usage, while sudo gnome-system-monitor shows the memory full. It ...
user avatar
  • 157
0 votes
0 answers
30 views

UEFI boot and different OVMF firmware files when building a VM

What is the difference between the UEFI/OVMF firmwares available in Ubuntu 22.04? Which should I use when building general purpose Windows and Linux VMs in QEMU/KVM with UEFI & Secure Boot? ...
user avatar
  • 1
0 votes
0 answers
31 views

22.04 Getting 5120x1440 to work with a 49 inch screen over HDMI with KVM switch WEYLAND

I'm on Ubuntu 22.04 and trying to configure 5120x1440 resolution I have a 1060GTX from Nvidia and a Samsung G9. I'm also using a KVM switch so the monitor is hooked up to both a laptop running Ubuntu, ...
user avatar
  • 101
0 votes
0 answers
31 views

Restart a KVM VM like a real machine

Hello Ubunteros and Xubunteros I have Xubuntu 20.4 in a custom PC, and I would like it to run a KVM VM that would be persistent, that is it would restart from the same state as it stopped in. I know ...
user avatar
0 votes
0 answers
69 views

Virt-manager filesystem passthrough not working

I'm new to the ubuntu/linux environment so I don't have a lot of knowledge before hand. I'm currently trying to set up a filesystem passthrough between my host (Ubuntu 22.04 LTS) and my vm (Ubuntu 16....
user avatar
0 votes
0 answers
54 views

"wrong fs type, bad option, bad superblock on /hostshare" when trying to mount filesystem passthrough on qemu/kvm

I need some help on solving a problem where when I try to add a filesystem passthrough on qemu/kvm sudo mount -t 9p -o trans=virtio /hostshare ~/hostfile i get the error: mount: wrong fs type, bad ...
user avatar
0 votes
0 answers
8 views

Unable to customize focal image with Libguestfs

I downloaded focal-server-cloudimg-amd64.img and I am trying to pre-install software on it in order to create a template in proxmox. When I run virt-customize --install ..., it fails with "No ...
user avatar
  • 101
0 votes
0 answers
25 views

Cannot get grub to load the right image in a VM

I have an Ubuntu image created with the following: qemu-img create -f qcow2 -b focal-server-cloudimg-amd64-disk-kvm.img test.qcow2 20G It comes up and cloud-init works. I now install a new kernel ...
user avatar
0 votes
0 answers
37 views

How do I install extra kernel modules in a KVM kernel?

I have an Ubuntu VM built from the focal-server-cloudimg-amd64-disk-kvm.img image. The problem is that I am trying to install a package that requires kernel modules not included. Specifically, I ...
user avatar
0 votes
0 answers
56 views

QEMU: unable to mount USB device to VM

I want to passthru an USB stick to my VM running in plain QEMU. Here is the device from the host system: ~ $ lsusb -t /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M |__ ...
user avatar
  • 75
1 vote
1 answer
84 views

Ubuntu 20.04 cloud-init won't configure network

The issue I have is the exact same as documented by someone on 18.04 years ago on StackOverflow but the solution there doesn't work. My steps to reproduce the problem are as follows: I start with an ...
user avatar
0 votes
0 answers
13 views

boot up/shutdown messages do not appear on text console

On Ubuntu Bionic (18.04) I do not see any messages during boot-up or shutdown on the text console! (virsh console). However, I do see messages on the graphical console (virt-manager GUI) Do I need ...
user avatar
  • 49
0 votes
0 answers
21 views

Error validating install location: Distro 'ubuntu20.04' does not exist in our dictionary

I am trying to Install Ubuntu20.04 as a Guest on top of KVM (Ubuntu 18.04 LTS ) and see the below error. :~$ sudo virt-install \ --name=sno-dns --os-variant=ubuntu20.04 --ram=8192 --vcpus=4 --...
user avatar
0 votes
0 answers
41 views

How forward Server port to Virtual Machine?

I'm trying redirect all my port 80 traffic to a virtual machine. Server setup: Main Server: interfaces: en0: ip 192.168.1.2 virbr0: ip 192.168.10.1 Virtual Machine: interfaces en0: ip 192.168.1.3 en1:...
user avatar
  • 613
0 votes
0 answers
33 views

How to make KVM guest forget IP address deleted from /etc/hosts?

In my workstation I run a KVM hypervisor containing: a guest VM running Xubuntu as my developer environment. a guest VM running Ubuntu server as my development target. I set the IP address of the ...
user avatar
0 votes
0 answers
22 views

KVM virtual Guest Server not reaching internet Guest Desktop does

100% new to Linux/Ubuntu Have set-up a physical machine with Desktop and installed KVM. I have two NICs in the physcial machine. Secondary NIC is assigned to the KVM virtual network and is turned off ...
user avatar
0 votes
0 answers
13 views

QEMU Doesn't Install In My WSL 2 [duplicate]

I have downloaded tried qemu for my os and bootloader development workspace, but it just won't download, i tried using sudo apt and sudo apt-get to install it but nothing seems to work. Here is the ...
user avatar
0 votes
0 answers
13 views

Provisioning IP Address for KVM Guests from Network DHCP Server (pihole)

I have a Ubuntu 20.04 server with KVM installed. I want the VMs that I create to get their IP from the network DHCP server. I've created a DHCP reservation for my first guest VM based on the MAC ...
user avatar
0 votes
2 answers
155 views

Unable to add virtiofs filesystem to QEMU VM in Ubuntu Server 20.04 due to incomplete feature support

I am having difficulties adding a shared folder on my host Ubuntu Server 20.04 for exchanging data with my Linux VM using virtiofs. Inside my <domain/> I have added <memoryBacking> <...
user avatar
0 votes
0 answers
125 views

unable to start android emulator due to kvm error code:0x80000021

I would want to run android emulator inside a virtual machine and below are the system (host and guest) details. When I start the emulator, it crashes immediately with the error message "KVM: ...
user avatar
0 votes
0 answers
14 views

Local IP range unreachable outside of VM scope (yet same subnet)

Using Ubuntu 21.10 on both Host and VMs, I'm experiencing networking issues on the following setup: I have 3 microk8s clusters running on hosts using KVM. Each cluster has a controller plane and 2 ...
user avatar
  • 1
0 votes
0 answers
46 views

Ubuntu Core20 corporate network settings (proxy and ca-certificate)

I've been trying to evaluate Ubuntu Core at work, and I've run into some issues getting started... Following instructions from https://ubuntu.com/download/kvm, I can get the image (ubuntu-core-20-...
user avatar
0 votes
0 answers
23 views

Ubuntu 20.04.2 as VM autologin hangs

I have an Ubuntu 20.04.2 Desktop with KVM installed. I then installed Ubuntu 20.04.2 Desktop as VM. I have it setup, so that an auto login on tty6 starts. It kinda of works. The VM boots and stays on ...
user avatar
0 votes
0 answers
21 views

kvm-ok confusing output

$ kvm-ok INFO: /dev/kvm does not exist HINT: sudo modprobe kvm_amd INFO: Your CPU supports KVM extensions KVM acceleration can be used As it suggests: $ sudo modprobe kvm_amd modprobe: ERROR: could ...
user avatar
  • 270
0 votes
0 answers
41 views

Connection Details is greyed out in Virt-Manager | KVM

I'm trying to edit my connections and Connection Details is greyed out in Virt-Manager. Does anyone know why? I've never encountered this before. This is happening on Ubuntu 21 most updated version on ...
user avatar
0 votes
0 answers
25 views

MAAS - KVM host (LXD) show no availiable resources

I have deployed a Maas installation on one PC (A) and trying to connect the LXD of another PC(B) to it. I have successfully connected (B) as a KVM host to Maas, however it shows zero CPUs and Memory, ...
user avatar
  • 1
0 votes
1 answer
19 views

KVM Virtual Machine Webcam Permissions

Host is Ubuntu 20.04, guest is Ubuntu 20.04. I have added the host integrated webcam through the Virtual Machine Manager's "Add Hardware" button. An error message appears while attempting ...
user avatar
  • 115
1 vote
0 answers
626 views

Unable to connect to libvirt qemu://system

I am trying to setup a GPU passthrough for KVM but I've been facing this egregious problem the whole time. Basically, it's telling me to verify whether libvirt is running or not. Unable to connect to ...
user avatar
  • 11
0 votes
0 answers
16 views

Install package libvirt-dev? [duplicate]

I want to install the package libvirt-dev but it depends on a specific version of libvirt0, how can I switch back to version 6.0.0-0ubuntu8.14? ~> sudo apt -y install libvirt-dev Reading package ...
user avatar
1 vote
0 answers
20 views

How do I see vm creation times from the Virtual Machine Manager GUI? h

I simply want to know the date / time for each VM I have created, and the last time they were booted. Seems like an intuitive thing that any sane GUI programmer would have included??? I have 4 vms, ...
user avatar
-2 votes
1 answer
116 views

VBS(Virtualization Based Security) on Linux, Kernel protection using hardware based virtualization. Is it planned to be embedded in a distro?

https://www.linux-kvm.org/images/4/40/01x05-Jun_Nakajima-Kernel_Protection_Using_Hardware-Based_Virtualization.pdf We have already VBS(Virtualization Based Security) in Windows 11. I do need that ...
user avatar
0 votes
1 answer
216 views

Poor performance of virtualization on ubuntu 21.10 (virt-manager)

just by switching from 20.04 to 21.10 I get a poor performance on virt-manager, and sometimes it freezes. Just by moving a window around I can see that it lags a lot. I tried many times to move to ...
user avatar
  • 157
1 vote
0 answers
17 views

Mouse no longer working when using a Linksys KVM switch with Ubuntu 20.04

I have been using a Linksys PS2KVM2 (2 port) switch to toggle between Ubuntu and Windows for years. I recently had a need to add another computer, so I replaced the Linksys 2 port KVM with a Linksys ...
user avatar
  • 11
0 votes
0 answers
93 views

Issue with bridge br0 DNS when I change the nameserver address 20.04

So basically I have an issue when I change my bridge br0 namerserver from 192.168.50.1 which points to a pfSense router, to my PiHole ad blocker. All clients get dhcp from the PiHole and are working ...
user avatar
0 votes
0 answers
62 views

Ubuntu kvm error please help

Hi I'm using Ubuntu Kvm and whonix, I'm able to install it and have whonix start up. Then I restart my server and everytime I keep having this error. Can anyone please help me. root@ubuntu:~# virsh ...
user avatar
0 votes
0 answers
99 views

Disable IP Routes on Boot

I'm running KVM on bare metal Ubuntu 20.04, and in order to get guest to host networking functional, I added a macvlan interface. I added a script under /etc/networkd-dispatcher/routable.d/10-macvlan-...
user avatar
0 votes
1 answer
164 views

qemu adding a non bootable floppy raw format image into an existing virtual machine

This is the issue: I created a floppy image which I want to add to an existing virtual machine. I added the disk from the virtual machine manager but when I boot the vm I get this error: Automatically ...
user avatar
0 votes
0 answers
46 views

Weird Network slowness on qemu vms

I've created two qemu VMs using below command. Both VMs are on virbr0 bridge. qemu-system-x86_64 \ -drive "file=bionic-server-cloudimg-amd64.img,format=qcow2" \ -drive "file=${...
user avatar
  • 101
0 votes
0 answers
55 views

How to get IP from a DHCP server sitting on a sibling VM?

I have an Ubuntu 20.04 LTS server at home which I use as a media server and other entertaining purposes, inside which I have installed Google's 2 factor authentication and with external access via ...
user avatar
  • 1
0 votes
2 answers
393 views

Reset internet on Ubuntu server 20.04 LTS

I converted a VirtualBox image (Ubuntu server 20.04 LTS without GUI) to QEMU image (sudo qemu-img convert -f vdi...). It is start and work, but its ethernet network does not. I can not update it etc. ...
user avatar
  • 13
0 votes
1 answer
69 views

moving KVM image from one server to another and then resize

host1 has a 40G guest image inside an LV. host2 has a 50G guest LV partition available. dd to transfer host1/guest(40G) --> host2/guest(50G). gdisk to correct the location of the GPT table - root@...
user avatar
  • 91
0 votes
0 answers
101 views

Multiple VMs in Ubuntu Server 20.04

Complete noob here on VMs. I have a good spec (EPYC 7502P 32-Core) Ubuntu 20.04 server where I am not using all the resources for the task I am currently running. Is it possible create multiple VMs ...
user avatar
0 votes
1 answer
119 views

Qemu how to get a port for VNC and stop the terminal?

Using Ubuntu 20.04, I am starting my Ubuntu server with: qemu-system-x86_64 \ -enable-kvm \ -cpu host \ -smp 11 \ -drive format=raw,file=/mnt/kvm-guests/work.img,if=virtio \ -net nic,model=...
user avatar
  • 103
0 votes
1 answer
444 views

How to connect Ubuntu 21.10 to tagged VLAN (netplan)

I have network VLAN: 4005 MTU: 1400 Subnet: 157.XX.XX.64/27 Gateway: 157.XX.XX.65 Netmask: 255.255.255.224 Broadcast: 157.XX.XX.95 I want to configure netplan Ubuntu 21.10 to IP 157....
user avatar
  • 105
0 votes
0 answers
49 views

virt-v2v error converting vmware p2v converted windows machine errors when being converted for kvm using virt-v2v

Running Ubuntu 20.04 When running the virt-v2v I am getting an error on the virtual machine output created by vmware's converter for p2v. This is the error message: virt-v2v: error: libguestfs error: ...
user avatar
1 vote
0 answers
439 views

Create a shared folder for KVM Windows guest on Ubuntu server 20.04 or properly set up NAT connection

Hi I am posting this because all of the guides I can find involve a GUI. I am using Ubuntu server and controlling it with cockpit. I installed the following packages to get virtual machines working: ...
user avatar
  • 665
0 votes
0 answers
129 views

No longer starting Virtualbox VM after OS Update/Reboot: VirtualBox can't enable the AMD-V extension

Virtualbox VMs have been running fine on my Ubuntu 20.04 machine until right after my latest apt get update; apt get upgrade -y and reboot. Now, whenever I try to start a VirtualboxVM, I get the error:...
user avatar
0 votes
0 answers
821 views

How to enable 3D acceleration on Windows VM in virtual machine manager

I have tried setting Type to Spice server and opengl on in display Spice and in Video Virtio setting the model to Virtio and 3D acceleration on, but that made the Windows VM unusable because of the ...
user avatar
  • 1

1
2 3 4 5
22