Questions tagged [kvm]

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

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

Virt-manager "Unable to complete install: 'Requested operation is not valid: network 'default' is not active'"

I have just instaled virt-manager on Arch Linux, I've gone through all of the steps of creating a VM, but when I click on "Finish" on step 5/5 I get two pop-up dialogs: Unable to complete ...
user avatar
  • 11
0 votes
0 answers
7 views

Create bridged connection for VMs without losing host IP/Connectivity [duplicate]

I'm migrating my VM host from VMware to KVM. In VMware, a network bridge is available out of the box. In Linux, it is not. I created a bridge, but when I bound my physical interface to it I lost ...
user avatar
0 votes
0 answers
6 views

KVM Virtual GPU passthrough to real gpu multiple monitors

I have a tesla m40 passed to windows 10 and another GPU that I wanted to use as a display output for the tesla m40 but if I pass it directly to windows it doesn't use the m40 for any application and ...
user avatar
  • 1
0 votes
0 answers
20 views

Help with GPU PCI-passtrought

I have problem with GPU PCI-passtrought. My system is using Proxmox 7 and want to passthrough the GPU2 to Win10 VM also IOMMU and AMD-V are enabled from the UEFI. My system specs: CPU: AMD FX 8300 MB: ...
user avatar
-3 votes
0 answers
36 views

Encrypt VM in KVM

I need to encrypt a Linux virtual machine using KVM. I have installed qemu-kvm, qemu-img, virt-manager, and libvirt on CentOS 8 and I created a virtual machine running Fedora. I now want to encrypt ...
user avatar
0 votes
0 answers
19 views

cannot create qcow2 format VM disk on LVM logical volume

I tried to create a new VM using LVM logical volume tdv_qcow2 as its disk, but it seems to be using raw format instead of qcow2 format, even though it is explicitly specified. sudo virt-install --virt-...
user avatar
0 votes
0 answers
10 views

Color management / profiles in a virtual machine under Linux

I have some photo editing software that I intend to run on a Windows VM, with the host being Ubuntu. I already read about color management for the Ubuntu OS itself and I think I managed to set up the ...
user avatar
0 votes
0 answers
7 views

Inconsistent output from ftrace trace_pipe

I was trying to trace the kvm:kvm_exit and kvm:kvm_entry events for a few pids. When I do a cat trace_pipe. I noticed that the output format for some of the logs is a bit different from how it ...
user avatar
  • 101
-2 votes
1 answer
30 views

99 kvm/qemu/virt-manager problems

Specs Host system: Kernel: 5.15.28-1-MANJARO virt-manager version 4.0.0 CPU: AMD Ryzen 7 5800H Questions should be specific and address only one problem etc.. i know. But this program has me ...
user avatar
  • 7
-2 votes
0 answers
10 views

KVM guest installation fail due to custom script launched upon installation

I installed a custom linux iso (yocto) provided by the member of another team in a real computer without any problems. I am now trying to install it in KVM but I am facing a problem I can't resolve. ...
user avatar
0 votes
0 answers
24 views

Isolated network chain for multiple KVM guests to access the internet

I have more or less 3 VMs (with KVM) that must be "chained" by 2 isolated connections like that : (NAT/internet access) --> |VM vm_A| -- (isolated network in_1) --> |VM vm_B| -- (...
user avatar
  • 43
0 votes
0 answers
24 views

How do I force reset (from the host) a VM started with qemu-system-x86_64?

I have a Windows VM that is stuck on the blue reset screen. Usually in this situation I just kill the process for the VM, but obviously that isn't ideal. It seems that they way to do this is through ...
user avatar
1 vote
1 answer
27 views

How to restore free Space after deleting virtual machine disk?

Hello everyone i wish you all doing good. So lately i was working on a Manjaro 21.2.5 host on latest updates with a Windows 11 guest Vm running on qemu/kvm with libvirt and a dynamique size virtual ...
user avatar
1 vote
0 answers
12 views

How to API forwarding GPU acceleration with KVM GPU?

I am finding myself unable to fins some resources about how to use setup AF1 in a KVM Vitural Machine, Thus the question is how I would be able to setup AF GPU acceleration in a KVM (linux) virtual ...
user avatar
  • 21
1 vote
1 answer
15 views

Why does traffic continue to flow through my gateway despite a firewall rule blocking all outbound traffic addressed to it?

While messing around in a qemu guest I discovered something very peculiar. If I set the system firewall to reject all traffic to my gateway (10.0.2.2), the firewall only rejects traffic destined to ...
user avatar
1 vote
0 answers
31 views

Permission denied: Linux KVM Share

When I tried to start the VM I get the following Error (Note, the host is a OpenSUSE Leap 15.3): Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", ...
user avatar
  • 21
0 votes
0 answers
28 views

Virtualizing physical Ubuntu installation into a KVM without copying it

I have an Ubuntu 20.04 installation which now has been running 24/7 for a couple of years. It is installed on a 512GB SSD which is connected to a Celeron-based N3150-ITX from ASRock. I am intending to ...
user avatar
  • 561
1 vote
0 answers
23 views

Qemu Instraction Suspend and Resume

When dealing with the synchronization between QEMU and the outside SystemC model, in order to reduce the synchronization and recovery overhead, it is necessary to pause and recover at the instruction ...
user avatar
1 vote
0 answers
69 views

KVM clipboard sharing with client running Wayland

I have Fedora 35 installed as a VM, with Qemu/KVM as the hypervisor and virt-manager as the graphical front-end, running under Manjaro KDE. Following numerous guides & answers I have managed to ...
user avatar
  • 393
1 vote
0 answers
83 views

HDD write speed on gpt vs lvm, baremetal vs kvm

I'm comparing write speed of HDD storage from two sources - baremetal, kvm and on two formats - gpt partition, lvm partition. Commands have been run thrice and I checked the average value. I used one ...
user avatar
0 votes
0 answers
17 views

Help With GPU pass-through, stuck on Creating Domain after MX130 GPU pass-through

I figured out how to GPU pass-though, I used a GitHub page to run the script, I did chmod it. Here is the link: https://github.com/pavolelsig/Passthrough_helper_PopOS Specs: MX350 (GPU I WANNA PASS) ...
user avatar
0 votes
1 answer
42 views

I need help (both with GRUB and GPU pass-through)

How do I add a parameter to system-d on Pop!_OS? I want to pass-through a GPU. Please also give a a good guide of how to GPU pass-through on Pop!_OS 21.10. Thanks in advance.
user avatar
0 votes
2 answers
19 views

Modifying files on partition mounted both on host and in KVM guest, understanding the caused corruption

I have a server to which I added two SSDs. On the host I created a RAID 1 with both of them by using mdadm. The RAID was created by first creating partitions on the SSDs, and using the partitions to ...
user avatar
  • 561
2 votes
1 answer
51 views

Passing "Windows key" shortcuts in the guest VM to the host computer with virt-manager

I'm using KVM/QEMU on Ubuntu 22.04 and running Windows 10 as a guest VM. I am using virt-manager to connect to the VM. I would like all shortcuts that use the "Windows key" to be processed ...
user avatar
0 votes
1 answer
95 views

Arch (or Manjaro) install into KVM VM: UEFI boot disk not found after cold start

I installed Arch Linux into a KVM virtual machine using the Installation Guide. The installation was successful because after rebooting, I boot into my fresh installation. The problem is that after I ...
user avatar
1 vote
1 answer
107 views

qemu/KVM iptables port forwarding

After dozens of articles, blob, tutorials and even answered questions here on stackoverflow, I'm still stuck on my problem: how to setup port forwarding from host to guests VMs. First: sorry for my ...
user avatar
  • 13
0 votes
0 answers
21 views

Using -enable-kvm inside virtual machine

I have a virtual machine (Ubuntu 20) under VirtualBox (6.1.26). I am trying to run yet another vm inside ubuntu vm using qemu. It works, however, running qemu inside vm with -enable-kvm is almost 2 ...
user avatar
0 votes
1 answer
39 views

Can I add multiple users to qemu.config?

I am installing my first KVM/QEMU based virt manager. As per the instruction one needs to change the config file of qemu.config. sudo nano /etc/libvirt/qemu.conf I used vim to edit the file and added ...
user avatar
0 votes
0 answers
32 views

How to make use of QEMU virtio crypto device?

While trying to optimize the performance of my virtual machines, I stumbled upon a virtio device namely virtio-crypto-pci. With no tutorial and little documentations, I managed to use it as follow: [.....
user avatar
  • 445
0 votes
0 answers
40 views

GRUB password on KVM virtual machine

I'm trying to put my virtual machines in compliance with the SCAP Security Guides. There's a rule that requires GRUB to be password protected. After setting user and password for GRUB, my virtual ...
user avatar
0 votes
1 answer
28 views

When is a disk sync necessary on qcow2?

I'm running Apache on a VM with a qcow2 disk. Apache runs a (compiled C++) program which does the following: It calls system to run another (C++) program which creates a file It then attempts to ...
user avatar
  • 191
1 vote
1 answer
60 views

Can a malicious docker image running on GNOME-Boxes compromise the host?

I'm using GNOME-Boxes to run a Fedora 35 guest inside a Fedora 35 host. If I ran a docker container, using the --privileged flag (among others), what's the most harm it could cause? I read a malicious ...
user avatar
0 votes
0 answers
22 views

How do I extract a system image from a virtual machine without modern support?

I am working on trying to archive software from an old VMware virtual machine. Unfortunately, the only copy of the software is on a custom image vmware workstation v5.0 virtual machine, running centos ...
user avatar
0 votes
0 answers
76 views

QEMU/KVM on Manjaro has sound delay

OS: Manjaro x86_64; Kernel: 5.15.21-1-MANJARO; libvirt: 1:8.0.0-2; virt-manager: 3.2.0; I've set up a Ubuntu 10.04 VM just for fun, and I've noticed (with AC97 and ICH6) that the sound had a 1-4 ...
user avatar
  • 1
0 votes
0 answers
138 views

KVM-QEMU + Libvirt - CPU Pinning

I would like to ask, if it is possible to reserve cores just for particular VM's and prevent others to use them. Let me explain closer: I'd like to have 2 virtual machines to be pinned to cores 0-7 ...
user avatar
  • 101
0 votes
0 answers
11 views

Network configuration so VMs running on KVM can access internet

I deployed the KVM on Redhat 7 to make labs . I created custom bridge interface and gave this Virtual-Bridge interface IP 192.168.56.X now all VMs are on same subnet 192.168.56.X ,Now KVM Host can ...
user avatar
  • 3,834
0 votes
0 answers
49 views

CentOS 8 Stream Virtual Machine Networking with Bridges VM's cant use default (gateway) dns servers

I have a physical server running CentOS 8 Stream. It has 2 network interfaces, eno1 and eno2. The eno1 interface is reserved for the main server; eno2 is set up as a bridge for VMs. I'm using Virtual ...
user avatar
  • 101
0 votes
0 answers
230 views

virt-manager: Remove mouse integration

Host: Debian Bullseye Guest: Windows XP virt-manager: 3.2.0 Hypervisor: KVM Emulator: /usr/bin/qemu-system-x86_64 I am trying to play an old Windows game in a virtual machine (because it won't work on ...
user avatar
0 votes
0 answers
29 views

Is passing through a GPU to KVM supported when running linux in tty mode (3 grub argument)?

I am trying to set up a KVM virtual machine and pass through my single graphics card (AMD 5700XT + aorus x570 pro) but have had no success so far. I have been collecting dmesg logs via ssh on a remote ...
user avatar
0 votes
2 answers
119 views

With KVM, can you set the hard drive storage to be dynamic/auto-expand with the contents of the guest?

Is it possible to have a guest hard drive that grows with usage rather than pre-allocated at the time the guest is created? I'd like to specify a maximum size or perhaps not specify any size at all at ...
user avatar
0 votes
1 answer
54 views

Virt-manager: How to ignore key sequence from host?

I'm on Debian+Xfce and I have two desktops. I set Super+F1 to take me to the first desktop and Super+F2 to take me to the second desktop. I would like to run a virt-manager guest in full screen on the ...
user avatar
1 vote
1 answer
110 views

Enabling KVM without BIOS setup

I'm running Debian 11 LXDE in an old notebook and during the boot I'm receiving the following message: root@debian:~# dmesg | grep -i kvm [ 20.501228] kvm: disabled by bios [ 20.541824] kvm: ...
user avatar
1 vote
0 answers
182 views

KVM port forwarding (Ubunto 20.04)

I have a fresh installation of my computer of Ubuntu 20.04.3 LTS. I have installed kvm: sudo apt -y install bridge-utils cpu-checker libvirt-clients libvirt-daemon qemu qemu-kvm I have created a new ...
user avatar
0 votes
0 answers
36 views

virsh cpu-baseline issue

According to the libvirt virtualization api manual pages: cpu-baseline Compute baseline CPU which will be supported by all host CPUs given in <file>. So, as a theoretical exercise, I've ...
user avatar
0 votes
0 answers
135 views

How to Setup Bridged Routing with QEMU-KVM and Netplan in Ubuntu Server 20?

Very new stack exchange user here, so apologies in advance if I am breaking protocol in any way. Also I am still somewhat of a linux and routing novice so forgive my ignorance. The basic problem is ...
user avatar
3 votes
1 answer
373 views

How to get the hostname and IP address of a VM using qemu-guest-agent

I am running a VM using qemu-system-x86_64 -accel kvm,thread=multi -cpu host -smp 1 -m 2048 \ -drive file=ubuntu-server1.qcow2,if=virtio -vga virtio -display none -daemonize \ -nic bridge,model=virtio-...
user avatar
  • 1,181
-1 votes
1 answer
229 views

Chrome OS on Linux through QEMU

Is it possible to install full Chrome OS through KVM on Linux and where can I get the full .iso file or the img of Chrome OS?
user avatar
0 votes
0 answers
28 views

Ready to use VMs inside Proxmox

Are cloud-init images the only way to deploy ready to use VMs inside Proxmox? (Without installing distros inside of vm)
user avatar
3 votes
0 answers
119 views

What is the difference between virtio-net-pci, virtio-net-pci-non-transitional and virtio-net-pci-transitional

I am seeing multiple virtio models for -nic. % qemu-system-x86_64 -nic model=help | grep virtio virtio-net-pci virtio-net-pci-non-transitional virtio-net-pci-transitional I want to know the ...
user avatar
  • 1,181
1 vote
1 answer
361 views

Qemu suddenly doesn't find any bus for the virtual mouse and keyboard: -device usb-tablet: No 'usb-bus' bus found for device 'usb-tablet'

I've installed macOS Catalina some time ago in Qemu/KVM and it worked okay for a few months till today when I needed something and wanted to boot the virtual machine. This error pops up: Error ...
user avatar
  • 289

1
2 3 4 5
19