Questions tagged [linux-kvm]
Linux Kernel Virtual Machine is a virtualization system (VM)
425
questions
3
votes
2
answers
730
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
1
answer
2k
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
1
vote
1
answer
3k
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 ...
1
vote
2
answers
517
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 ...
2
votes
1
answer
10k
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 ...
2
votes
0
answers
966
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 ...
1
vote
1
answer
6k
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
548
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
1k
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
1
answer
88
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
5k
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 ...
1
vote
1
answer
6k
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
379
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
1
answer
1k
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
820
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 ...
1
vote
1
answer
5k
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 "...
4
votes
1
answer
3k
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 ...
1
vote
0
answers
84
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 ...
1
vote
1
answer
627
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
367
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 ...
1
vote
0
answers
1k
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 ...
1
vote
1
answer
2k
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 ...
3
votes
2
answers
5k
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
347
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 ...
3
votes
1
answer
7k
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
359
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
685
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
124
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
2k
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 ...
1
vote
1
answer
5k
views
QEMU/KVM emulating vmware graphics
I'm trying to migrate to virtual and old physical machine with nvidia GPU.
I've succesfully done it with virtualbox with vmware graphics emulation, worked like charm after some tuning.
On the other ...
1
vote
0
answers
413
views
how to configure firewalld, port-forward to specific VM:port and permit VM to external
I have KVM/libvirt env as follows.
em1(external)
|
bridge0
/ | \
VM1 VM2 VM3
I hope to access to VM1(192.168.122.103) with 9091 port from external with following.
# firewall-cmd -...
2
votes
1
answer
4k
views
KVM / QEMU - Confused by bridge ip address (on Debian host)
I have followed a few guides to getting a bridge setup on my Debian VM host
The most useful I found to be this:
https://linuxconfig.org/how-to-use-bridged-networking-with-libvirt-and-kvm
I have read a ...
5
votes
1
answer
10k
views
libvirt / KVM/QEMU - Networks: What does "Open Network" do?
When setting up a network with libvirt & virt-manager, there is an option to choose "Open Network" as the "Network Mode" when forwarding traffic to a physical network.
What ...
0
votes
1
answer
612
views
VM with VLAN trunk on KVM
what exactly do I need to configure on Ubuntu18-based QEMU/KVM server to pass a trunk with >1 VLANs to a VM on it? (basically the equivalent of setting VLAN ID to 4095 on a port with ESXi) Some ...
0
votes
1
answer
5k
views
Can't connect to a remote host with virt-manager
I'm trying to connect from a laptop (computer1) to a host (remote1).
On computer1 I have user1 on the host I have a different user (user2).
Both systems are running Debian, the remote1 system is a ...
0
votes
1
answer
1k
views
Cannot connect to KVM virtual machine using VNC (connection hangs)
I have been able to connect to KVM virtual machine since creation using the following commands.
I create a SSH tunnel using ssh [email protected] -L 5903:127.0.0.1:5903 -N -T and then run open vnc://...
0
votes
0
answers
63
views
Virtualization server - picking the hardware with multiple host adapter
We have decided to pick two servers (hardware) and dedicate them to kvm virtualization, replicating data from server A to server B using DRBD + LVM (every guest will store its virtual disk into its ...
0
votes
1
answer
456
views
How do I pin a process to a single CPU core?
I have a 2 core 2 thread cpu and I want to pin one core for a Windows 10 VM and keep the other for the Linux host.
1
vote
1
answer
812
views
Why wont Windows 10 Pro shut down with the ACPI power button when screen is locked locally?
We have Windows 10 running under KVM but it won't shut down when it gets an ACPI power button request triggered by virsh shutdown win10 after a user locks the console---however, it will under the ...
0
votes
0
answers
157
views
I can't mount KVM Virtual Disk '.qcow2' from other Linux Live CD to chroot invalid argument
Hi I have Linux CentOS 7 I create it using Virt-Manger , I boot-up and Linux Distro Live CD Tiny-core 9 to experiment with Linux shell and distro modification chroot
I list detected V disks with fdisk ...
0
votes
0
answers
4k
views
Virsh error, Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
I am trying to setup KVM, but when running certain wirsh commands like:
$ sudo virsh net-define br10.xml or $ sudo virsh pool-define-as debian_pool dir - - - - "/home/$USER/VM"
I get this:
...
0
votes
1
answer
4k
views
How do I import qcow2 VM images in ovirt via Admin Portal?
With oVirt node and engine VM installed, I've added my qcow2 image to the export domain (/nfs/export). I've tried in both the base dir of export domain, and also in the following (where /nfs/export/...
2
votes
1
answer
5k
views
QEMU/KVM - Getting "Error connecting to graphical console: Error opening Spice console SpiceClientGtk missing" when trying to create a VM
I am trying to create a virtual machine using QEMU/KVM. I am getting an error:
Error connecting to graphical console: Error opening Spice console SpiceClientGtk missing
I have looked around but ...
1
vote
0
answers
311
views
Unable to run 32bit VM Guests on Ubuntu 20.04
I have an old 17" MacBook Pro that's too old for modern macOS with an intel i7-2720QM CPU.
I've installed Ubuntu 20.04 on it, running Linux kernel 5.4.0-52-generic.
Try as I might I can't get ...
0
votes
1
answer
2k
views
Network link becomes dead when using bridge interface in Debian
I have a hypervisor (Kernel-based Virtual Machine) running Debian buster which I recently upgraded from Debian stretch. I use network bridging to share my internet connection (it has two Ethernet ...
0
votes
1
answer
411
views
Why my VM is more slow after hardware upgrade?
Old Host centos 8 :
old cpu : AMD Ryzen 3 2200g Quad-core (4 Core, 4 Threads) 3.50 Ghz Processor
old ram : 2 x Corsair 8 GB Vengeance LPX DDR4 2400MHz
SATA 3 SSD
Guest : microsoft windows pro ( ...
2
votes
3
answers
3k
views
Allow Windows KVM Guest to Access Kubuntu Host Filesystem
I am trying to get my Windows Qemu KVM to be able to access the host Kubuntu filesystem, so that I can work with files on Linux and Windows at the same time. I tried looking for various guides online, ...
0
votes
0
answers
4k
views
getting Error message while trying to install KVM vm from terminal, host machine is ubuntu20.04
so in the past when i was installing vms in kvm, i was using kvm GUI, but now i want to install virtual machine from terminal, this is what i tried to do:
virt-install --network bridge:virbr0 --name ...
0
votes
1
answer
112
views
Remote access to 20.04 locks window manager after a few minutes being idle
I have a ubunutu 20.04 VM running on a KVM server. The KVM server is on an updated ubuntu 20.04 system. The VM is basically an unmodified version that was just downloaded and updated. Added x2go so ...
3
votes
2
answers
6k
views
QEMU/KVM: Creating file sharing between Linux host and MacOS guest
I would like to create whatever possible way to enable file sharing between my Ubuntu 20.04 host and a MacOS Mojave running QEMU/KVM.
Things I've tried:
anything related to virt-manager. Doesn't work ...