Questions tagged [linux-kvm]
Linux Kernel Virtual Machine is a virtualization system (VM)
397
questions
0
votes
0
answers
12
views
Port forwarding not working in qemu/kvm guest
I'm trying to enable port forwarding in my QEMU/KVM guest with no luck at all. I'm invoking the KVM instance by the following command
sudo qemu-system-x86_64 ./vm1.img -m 2G --enable-kvm -pidfile vm1....
0
votes
0
answers
12
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 ...
0
votes
1
answer
35
views
QEMU/KVM, using full physical disk is faster than raw .img file?
When adding an HDD to a guest in QEMU/KVM in Virt-Manager, there are "qcow2" and "raw". "raw" seems to be storing the data in a file with the ".img" extension. ...
2
votes
2
answers
13
views
Possible to move a guest OS on VirtManager (Linux) to Windows?
For VirtualBox or VMware Workstation,one could copy the guest OS data directory to another computer and run it there. For example, I could create a guest OS on Linux, and then copy the guest data ...
0
votes
0
answers
31
views
Transferring a Windows 10 license from an inaccessible VM
Some backstory will follow: I own multiple computers at home. The one computer I want to apply the license to was a Linux computer, a Dell XPS 13 9333, now dual-booted with Windows/Arch Linux. On the ...
0
votes
1
answer
49
views
Does IP required for bridge interface in KVM host
We have a requirement to configure bridge on SLES host and add it for KVM guest as bridge mode for public IP.
In this case, Is it mandatory to have ip on the bridge interface of the SLES host
0
votes
1
answer
90
views
Unable to load Nvidia drivers in QEMU virtual machine
I have an Ubuntu Server 20.04 LTS on an Alienware Aurora R6 (i7-7700 CPU with a Nvidia GTX 1080). I am relatively new to type-1 hypervisor and have some experience with type-2 (VirtualBox).
On the ...
0
votes
0
answers
13
views
Task manager showing absurdly high network throughput in VM
I've got an instance of Windows 10 running in a KVM instance and the task manager in it shows ridiculously high total network throughput (150-900 Gbps upload and download on a 1Gbps link)
has anyone ...
0
votes
0
answers
183
views
No Internet on Linux KVM Windows 10 guest using VirtIO drivers
I'm attempting to install a Windows 10 VM using QEMU/KVM in virt-manager. I want to use it for a WinApps setup to do some experiments with Adobe CC in Linux.
I've been following several guides ...
0
votes
0
answers
69
views
FreeDOS as DOSBox replacement
Generally when the question about DOS games flares up, the general consensus is to use DOSBox (or DOSBox Staging) and it usually does the job.
However, as a proof of concept I wonder if it would be ...
0
votes
0
answers
234
views
virt-manager - spice-guest-tools not working on Windows 10 guest
Host: Debian Bullseye
Guest: Windows 10 20H2
Hypervisor Details:
Hypervisor: KVM
Architecture: x86_64
Emulator: /usr/bin/qemu-system-x86_64
Chipset: Q35
Firmware: BIOS
Windows in the VM is running ...
0
votes
0
answers
25
views
Do i need to add the same number of vCPU between my VMs for real-time computing?
I will be using KVM to host a few virtual machines. The objective is to simulate the behaviour of services hosted in the VMs, real-time computing is needed.
After discovering the concept of real-time ...
0
votes
0
answers
40
views
NAT with iptables does not work from within a VM
I use Proxmox on a Debian 11 host with two public IP addresses.
One ip gets bridged to a virtual machine (VM1) via vmbr0.
For another machine (VM2, IP 192.168.10.2) I want to use NAT to get internet ...
0
votes
0
answers
4
views
Wireless screen sharing and screen recording in Windows 10 guest in KVM
I have a Dell Latitude laptop (E7480) with Intel i5, Intel wireless and integrated Intel graphics adapter. On that laptop I run KVM/QEMU with Windows 10 guest. On this guest I would like to use ...
0
votes
0
answers
51
views
Enabling SSSE3 flag on a VM running on KVM
How do I forward the SSSE3 flag from my host server to VM while using KVM? I tried the following.
My QEMU version is qemu-kvm-1.5.3. My host server has the SSSE3 flag enabled (output cut for brevity):
...
0
votes
0
answers
15
views
Migrating VMWare VM (containing Windows system full-disk encrypted with VeraCrypt) to KVM
I have problems trying to migrate VMWare VM (Windows 10, full system ecnryption via VeraCrypt) to KVM.
If I try to convert via
qemu-img convert -O qcow2 ./src.vmdk ./dst.qcow2
then I get "No ...
0
votes
1
answer
16
views
KVM 3.1.1 installation
I have a requirement to install KVM 3.1.1 on RHEL7 or 8.
When I am checking I found that qemu-kvm is automatically installed on RHEL8 and the version is 4.2.
It would be great if anyone can share the ...
0
votes
1
answer
259
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 ...
0
votes
2
answers
198
views
kvm/virt-manager boot selection
I have a VM with two virtual disks. Each have windows OS (w10 and upgraded, same W10 to W11). I cannot separate them to 2 VMs, because I'll loose the activation on one of them. I have enabled boot ...
1
vote
0
answers
78
views
Ubuntu running on vmware-kvm with Dual Screens
I'm trying to find a way to use Ubuntu 64-bit on vmware-kvm.exe with dual screens. Ubuntu runs perfectly fine but I can't use my two monitors unless I use VMware workstation player. I've been ...
0
votes
0
answers
50
views
Get difference between two virtual machine qcow2 files
I have 2 qcow2 files based off the same .img file created with qemu-img. The guest OS is CentOS 7 and host is Rocky Linux 8. I'd like to get the changes in the file system between the images and I ...
0
votes
1
answer
127
views
Virtual machine Windows 10 unmountable boot volume error
I'm running Windows 10 through KVM and virt-manager. Today, I'm receiving a BSoD along with error:
Unmountable boot volume
Then, the screen shows automatic repair preparation:
Then, a black screen ...
0
votes
1
answer
152
views
Boot virtual Windows 10 KVM from physical machine
I have a Windows 10 QEMU/KVM setup whose virtual disk is in qcow2 format. I would like to boot my physical machine using this virtual disk. Is it possible to write the content of this virtual disk to ...
0
votes
0
answers
40
views
Can't see graphic interface in virt-manager or virt-viewer
I normally create VMs with the virsh command
virt-install --name <name> --ram 3000 --vcpus 2 --disk size=300 --os-variant centos7.0 --os-type linux --console pty,target_type=serial --location /...
1
vote
1
answer
1k
views
Is it possible to install KVM in WSL 1?
I have WSL 1 installed on my Windows 10 machine in which Ubuntu 20.04 is installed. My CPU supports hardware virtualization. I followed instructions here to try to install KVM, but when I run "...
0
votes
0
answers
25
views
KVM locks with Windows 10 running hyper-v enlightenments
If I run any of these Hyper-V enlightenments with a Windows 10 guest under KVM the guest locks up when the AMD video card is passed through as a hostdev:
<hyperv>
<relaxed state='on'/>
...
0
votes
0
answers
21
views
Virtual Machine: web pages are opened only after several refreshes of a page
I installed Windows 10 Virtual Machine using libvirt (Virtual Machine Manager, QEMU/KVM). It works but when I try to open a web page inside the VM, browsers say they can't reach it and I need to do ...
0
votes
0
answers
56
views
Virtual Machine Networking Configuration - Route all traffic on IP to VM
I have a server with KVM installed and am running (successfully) a virtual machine on IP XXX.YYY.ZZZ.XYZ. I can vnc to the virtual machine, perform installation etc. I would now like to dedicate the ...
2
votes
1
answer
278
views
QEMU aarch64 on ARM Mac never boots and only shows (qemu) prompt
I'm trying to emulate aarch64 and/or arm using qemu on ARM/M1 macOS. However, after multiple installer isos (ubuntu aarch64, standard alpine aarch64, etc) I can't seem to get anything but a blank ...
0
votes
0
answers
12
views
KVM nested virtualization parameter
What does it mean to enable nested virtualization on a given physical or virtual machine?
For example, if I set the following parameter to Y on a physical computer,
/sys/module/kvm_intel/parameters/...
1
vote
0
answers
24
views
Make a QEMU+KVM guest export USB mass storage to host?
So I'm really wondering if you can use a QEMU+KVM guest as a USB device. I'm really just playing around and have no very clear use-case for it. But one imaginable thing is to setup the guest so that ...
0
votes
0
answers
92
views
QEMU cannot terminate when guest OS power off (reboot: System halted)
I'm booting a Debian 10 QEMU image with Linux kernel 5.2. When I type poweroff inside the guest, system halts here:
... ...
[ OK ] Reached target Power-Off.
[ 5.271091] printk: systemd-shutdow: ...
0
votes
0
answers
70
views
Virtual Function over vfio-pci PF driver
I'm trying to create VFs to be attached to KVM machines.
I can create VFs when the PF is attached with kernel driver 'igb'. But then the problem is the PFs and the VFs are on same IOMMU group, and all ...
0
votes
0
answers
49
views
Give static IP's to multiple QEMU Virtual Machines
my networking knowledge on linux is pretty limited and I have been trying to assign static IP addresses to each of my VM's as they need to communicate with one another.
I have been reading some ...
0
votes
0
answers
30
views
guest with mactap driver in network with switch support hairpin can not be fond
problem description:
I run a host with kvm installed on ubuntu20.04 and start a three vms with interface xml like below:
<interface type='direct'>
<mac address='52:54:00:9b:85:3a'/&...
0
votes
0
answers
56
views
rhel7, kvm, custom machine slice for cgroup priorities
Following these docs
Control Groups Resource Management
RHEL specific docs (might require subscription access).
Introduction to control groups
Controller specific kernel documentation
I'm trying to ...
1
vote
1
answer
90
views
Why is pfSense giving me incorrect memory usage when VirtIO memory ballooning is used?
I am running pfSense as a KVM/libvirt guest. When I configure memory and currentMemory both to 2048 MB the pfSense dashboard shows ~2GB of ram and 18% utilization. If I set memory to 2048 MB and ...
0
votes
2
answers
59
views
Timeout for access from Guest VM to Host
I use virt-manager to administer my virtual machines. I would like to communicate a virtual machine (Windows) with the host machine (GNU/Linux).
I use the default network interface, which is a bridge ...
0
votes
0
answers
146
views
How to make KVM guest stop showing both host and guest mouse cursors as it makes guest very hard to use?
I've created a CentOS 7 (KDE) VM on a Centos 7 KVM server without X or GUI, and there's only one guest on this server. I see two cursors in the virt-manager VM console: the host cursor and the guest ...
0
votes
0
answers
114
views
Access Host Machine from a Virtual Machine (KVM)
my main server Linux machine is running a Ubuntu 20.04.2 LTS Server, with no GUI, and I'm running a KVM on it using Cockpit Machines (https://github.com/cockpit-project/cockpit-machines) and using a ...
0
votes
1
answer
193
views
Windows VM on Linux with dedicated GPU and memory
I'm building a new PC. I want windows for gaming and some C++ work targeting the hololens. However, my primary development machine would be linux.
I have 32Gb ram, 2 x 1tb m.2 memory, one 3080 and no ...
0
votes
0
answers
48
views
Can ProxMox VE or Foreman be installed on top of an existing KVM/libvirt instance?
We use qemu-kvm version 1.5.3 / libvirt version 4.5.0 on CentOS 7 to run VMs. We're using Vagrant or virsh to manage VMs and we'd like to install an easier to use management tool on top of the ...
1
vote
1
answer
580
views
Virt manager error: unable to find any master var store for loader
I followed the guide here https://github.com/kholia/OSX-KVM but I got an error after importing the VM into virt-manager. Specifically, I get the error 'unable to find any master var store for loader'
...
1
vote
0
answers
198
views
sudden Oracle 8 KVM Container crashes on startup " internal error: End of file from qemu monitor"
we have 2 Hardware-Servers with Ubuntu 20.04 LTS on both we run Oracle linux 8 via KVM.
They were working fine until today. Both do not boot correctly with the following error message on the host ...
1
vote
1
answer
1k
views
Performance issues with KVM versus Virtualbox
I'm trying to use KVM on Ubuntu (5.8.0-59-generic #66~20.04.1-Ubuntu) and finding some serious performance issues. In order to quantify the problem, I tried a fresh install of Windows 7, both under ...
0
votes
0
answers
210
views
kvm Windows 10 VM BSOD (blue screen of death) with cpu passthrough enabled
Start a KVM windows 10 VM using QEMU emulator version 5.0.1 with cpu-passthrough enabled on three machines whose CPU are:
Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
6226R 2.9 GHz(16C)
Xeon(R) 4210 (...
0
votes
0
answers
126
views
Assigning public IP address to a VM hosted on a server behind NAT
I have a pool of public IP addresses (95.xxx.xxx.196 - 254). I also have a server hosting KVM machines. It has a private IP address 10.0.0.1 which is NATed by the router to the 95.xxx.xxx.200 address ...
1
vote
0
answers
443
views
Arch single-GPU KVM passthrough goes back to login when booting VM
Alright, so I made my KVM setup according to this video.
https://www.youtube.com/watch?v=BUSrdUoedTo
I'm running with an AsRock Fatal1ty motherboard, and an RTX 2060.
Whenever I boot my VM, it goes to ...
0
votes
0
answers
34
views
Drivers not working for a pass through GPU
I recently made a Virtual Machine using virt-manager, and I pass through a GPU. When I turn on the guest (Windows 10). It disables the device and locks the screen resolution to 800x600. I have no clue ...
1
vote
1
answer
291
views
KVM Virtual Machine Network - Guest-guest/VM-VM only network (no host/hypervisor access, no outbound connectivity)
I know that with the virsh command I can create several types of networks (a "NAT network", for example) as we can see in these URLs...
KVM network management
KVM default NAT-based ...