Questions tagged [kvm]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

Video decoding acceleration for virtualized guests

I'm running Firefox inside a Qemu virtual machine on a laptop. When I play videos all the decoding is done on the CPU, which is very power hungry. Is there any solution to enable video coded ...
0
votes
0answers
17 views

KVM VM's on Ubuntu Server

I have Ubuntu Server 18.04 LTS with some Samba shares, Nextcloud and other services but i want to create a VM with KVM which I can access it outside LAN. I have basic KVM knowledge and at the moment ...
0
votes
0answers
15 views

hanging virtualization, Is it the guest VM, host linux or the hypervizor?

I use virtualbox on a Ubuntu 18.04 Host system to run virtualized systems (windows, linux and some bsd), among those systems there some server system and some as GUI/desktop. Since yesterday I ...
0
votes
0answers
11 views

How to get QEMU guest access to host and internet?

Installed is QEMU-4.0.0-rc50 and I use the following in a bash script to start a guest vm. The VM boots and runs the image just fine. The problem is with the networking, the guest cannot see the ...
0
votes
0answers
10 views

virt-viewer unable to make work mouse back and forth buttons

I'm unable to make work my mouse back and forth button with virt-viewer on kvm. Have a debian virtual-machine and debian virt-viewer. My versions are Hardware host: qemu-kvm 1:3.1+dfsg-8+deb10u4 ...
0
votes
1answer
57 views

Linux Mint - QEMU/KVM USB Redirect and Windows 10 Guest

A couple of months ago I installed Windows 10 version 1909 in a Linux Mint 19.1 (Tessa) QEMU/KVM guest. Using USB Redirect (aka USB Redirection, virsh attach), a USB to SATA bridge is connected to a ...
0
votes
0answers
12 views

How PIT (programmable interval timer) is useful?

While reading KVM APIs I came across KVM_CREATE_PIT2. How PIT will be useful to us. Is PIT is only useful for hardware?
1
vote
0answers
111 views

Passthrough SATA Controller KVM

Ahoy friends. Currently i use Fedora 31 and KVM to run a few virtual machines, including my storage machine, based on FreeBSD. All the HDDs which are connected to my SATA controller should be passed ...
0
votes
0answers
29 views

Is it possible to passthrough all devices in QEMU/KVM?

I'd like to create an extra execution environment between the OS and the hardware to test something, so I decided to create a small linux environment which only runs a single VM with the primary OS ...
0
votes
0answers
16 views

KVM empty virsh pool-list

I am trying to move the KVM storage .qcow2 file from /var/lib/libvirt/images to an external HD to save space on my laptop. I am trying to follow this guide but when I prompt: virsh pool-list I got ...
0
votes
1answer
22 views

Disable sound when using Spice with KVM/libvirt

I see a lot of questions across SE about getting sound to work with KVM guests, whether using Spice or Pulseaudio. However, I would like the opposite. I would like no sound whatsoever to be passed ...
0
votes
0answers
49 views

Passthrough of VM's to local network (bridging) Fedora 31 Server

Ahoy friends. I have been struggeling for almost 3 days now, and it's quite hard to find appropriate information about KVM regarding the creation of bridges. Yesterday i have set up a new Fedora 31 ...
0
votes
0answers
19 views

Libvirtd Fails to Start

I am using wifi, but libvirtd is trying to use eth0: gentoo /var/log # service libvirtd start * Caching service dependencies ... [ ok ] * Bringing up interface eth0 * config_eth0 not specified; ...
0
votes
0answers
28 views

How to handle different File System passthrough for Windows VM

I would like to know which options I have to handle a more advanced file system and volume manager like ZFS or LVM+XFS with KVM and windows. Should I create a LVM volume-group and passthrough it to ...
0
votes
1answer
52 views

How is it possible to passthrough a USB drive to a VM, using QEMU, without losing access on host OS?

I'm using QEMU on Linux with KVM, I need to make available a USB drive (external HDD) to the guest while I can still have access to the drive from the host OS. Is this possible?
0
votes
2answers
33 views

store a KVM .qcow2 image in NTFS external hard disk

I have a .qcow2 image that became really bigger (36 GB) and I want to move it to an external HD to avoid using all my PC (Debian machine) memory for that. Is it possible to store it (and access it ...
0
votes
0answers
40 views

virt-install | LVM physical disk and passthrough commands

I want to create a new Arch x64 VM on the same physical disk with new partitions in a new volume group. My problems are the commands I should use to gain sata, PCIe and cpu passthrough Atm I have ...
0
votes
0answers
116 views

Passing a USB device to Qemu KVM

I am trying to get my Windows VM to access my USB pen drive, but I am having problems passing this USB over to the VM. On my Linux host machine, I ran lsusb where my device was identified as Bus ...
0
votes
0answers
72 views

Running multiple QEMU instances using a single TAP network device

Is there a way to setup QEMU TAP networking without allocating a TAP device for each VM? My goal is to preconfigure QEMU TAP networking with NAT (as root), and be able to run an arbitrary number of ...
0
votes
0answers
15 views

Linux vlan int creation causes a loopback error

I have encountered a problem with configuring vlan tagged linux bridges, on a Cisco small businesses switches trunk interfaces. Our environment consists of 3 servers and one switch, that handles ...
1
vote
1answer
46 views

Does it mean that if my mac supports virtualization (has VMX cpu flag) the virtual machine (that I will install on my mac) will support it (VMX) too?

When creating a virtual machine with Ubuntu OS on it, I set in the characteristics of VM: VT-x/AMD-V, Nested Paging, PAE/NX, Paravirtualization KVM. But after creating the VM, I run it and check for ...
1
vote
1answer
35 views

virt-install: send guest command from a host script

I can redirect virt-install input/output to console with the --console option: virt-install \ --name centos \ --ram 1024 \ --os-type linux \ --os-variant centos7.0 \ --graphics none \ --...
2
votes
3answers
282 views

SELinux blocking qemu / libvirt from accessing ISO

I am unable to get selinux to allow libvirt to access images and ISO files outside of the default libvirt directory. What makes it more frustrating is that audit2allow and setroubleshooter does not ...
0
votes
0answers
69 views

Install yum on a Linux system

I have aLinux distribution, which does not have yum or dnf, only rpm. Unfortunately, since rpm does not manage the packages or resolve dependencies, it implies downloading and installing each ...
0
votes
0answers
29 views

Installing qemu-guest-agent on a redhat vm without internet access

I have a redhat 7.4 machine, and I'm installing a 7.2 VM on it. This isn't for production, 99.9% just for learning. I've gotten the VM up and running, but now I'm trying to set up a qemu guest so ...
1
vote
1answer
96 views

On most linux systems, why is the KVM kernel module loaded even when you're not using virtualization?

Recently I started looking at KVM/Qemu as an alternative to VirtualBox and was shocked to notice that these 3 modules seem to be automatically loaded on almost every linux system I checked: [pgoetz@...
0
votes
0answers
58 views

Virt Manager is not opening on Ubuntu 18.04

I have installed virt manager from terminal using command apt-get install virt-manager in ubuntu 18.04. It is installed successfully but when i click on VirtManager App icon it is not opening. When i ...
1
vote
1answer
66 views

Part of virtual machine's screen is not visible when resolution changes with SPICE

A virtual machine with Windows 10 as the guest's OS is set up using KVM/QEMU. Without SPICE, it worked perfectly fine but for clipboard sharing, I followed Arch Linux's Guide. But then it's super ...
1
vote
2answers
50 views

How to create VM's for 32-bit and 64-bit Wine-based development environments on a 64-bit box? [closed]

I am running a 64-bit Linux (Devuan) and want to create separate VM's to contain Wine as 64-bit and 32-bit respectively, as well as the needed development(coding/IDE/debug) tools for each. My options:...
0
votes
0answers
72 views

virsh attach-disk only work with name vd* instead of sd*

I have an qcow2 image and want to attach another disk to it. # create new qcow2 disk qemu-img create -f qcow2 vm-disk2 500G Then I attach it as sdb: virsh attach-disk myvm /var/lib/libvirt/images/...
2
votes
0answers
269 views

Forward iOS Tablet from Linux Desktop to QEMU macOS VM

I am running macOS 15 in a qemu virtual machine on a manjaro Linux machine. Since I want to use it for iOS development/deployment I tried connecting and forwarding an iPad running the latest iPad-OS ...
0
votes
0answers
45 views

I'm looking for a cross platform DM to drag and drop files from / to a qemu / kvm Windows guest OS and Ubuntu host os VM

Actually I'm using Ubuntu 19.10 as Host OS and Windows 10 as a guest,virtualized with qemu and kvm. No problem at all,but I feel the missing of the possibility to copy and paste files from / to ...
0
votes
0answers
43 views

KVM: isolation between different NAT networks

I'm trying to setup multiple NAT networks in KVM that are isolated from each other and can't get it work. I face a behaviour that I can't explain, and I would like some clarification about it. If I ...
0
votes
1answer
52 views

Copy data from inside KVM virtual machine to host file system

Is possible to copy data from inside of Virtual machine running on KVM/QEMU to physical host machine?
0
votes
1answer
65 views

Cannot guest ip addresses of guests

I use kvm and libvirt and cannot get the ip address from the host: The list from each of the guests is empty: virsh domifaddr guest1 Name MAC address Protocol Address -----------...
0
votes
1answer
34 views

Recover deleted files from a virtual disk image

I need help. Accidentally, all files from root were deleted. It was not me) It is easy if there would be simple disk partition. But, there is logical volumes used. Centos 7 KVM QEMU $ ll server.img -...
1
vote
0answers
118 views

QEMU: cannot run commands with non-root user

when I try to run any qemu-system-x86_64 command, even --help, nothing happens (I check ps and there is nothing running in the background). As soon as I run the command with sudo, everything works. My ...
1
vote
0answers
82 views

qemu-bridge-helper assign the same ip to all VMs

I am trying to have the VMs appear on the external local network with unique ips as if they were a separate regular computer on the local network. I was able to do that with one VM. However, when I ...
1
vote
1answer
127 views

Copy & Paste unusable in KVM virtual machine (Ubuntu) when RStudio is running

Setup: Fedora 30 with a KVM/qemu virtual machine running Ubuntu 18.04.1. (This setup because I want to run RStudio and on my Fedora 30, and it just barfs & dies immediately somewhere in the ...
0
votes
0answers
104 views

qemu GPU Passthrough error 43 Windows and dmesg errors

I'm currently setting up a virtual machine that should use my discrete nvidia card. Setup looks good so far, machine is up and running and I can view the machine via SPICE interface. The video card ...
3
votes
3answers
871 views

virt-manager: KVM is not available

I'm running Arch Linux and have been running into trouble trying to use QEMU/KVM on virt-manager, and a similar root problem is likely to address my issues while using the similar gnome-boxes. ...
0
votes
0answers
234 views

Live backup of KVM virtual machine

I am searching for the secure and best way to live backup a kvm virtual machine. This VM will contain a database, the good news is that the backup will be run at night when there will be virtually no ...
0
votes
1answer
63 views

Open qcow2 image on debian remote server remotely

I recovered a vmware image from an inaccessible server after converting it to qcow2, now it is on a remote debian server (kimsufi) and as it is 64GB I can't download it to my small pc. I read that I ...
0
votes
0answers
148 views

How to convert a list of VMDK files into a qcow2 or img file which have the same size

I've just configured the passthrough on my ubuntu / I9 9900k / nvidia geforce RTX 2080 ti machine. Now I'm converting the VMware virtual machine VMDK files (created from the conversion of a physical ...
0
votes
0answers
19 views

PXE booting on KVM stops at 4GiB

I have set up my first FOG server for PXE deployment and it works fine. I have a Windows 10 image captured (20GB) with my configurations which I am able to boot from when I boot directly from my PC. ...
0
votes
0answers
24 views

Build DHCP server ubuntu 16.04 on KVM

How to build an DHCP server with ubuntu on KVM ? I have try some guide but when the DHCP client turn on, the interface will use the IP from the KVM network not from the DHCP server i just build ...
0
votes
0answers
23 views

What are my options on how I can utilize my GPU in KVM?

Currently I have found: PCI/VFIO passthrough which is the process of passing a dedicated GPU directly to a virtual machine. (Drawback: Only 1 VM or 1 Host can use this GPU but full performance for ...
6
votes
1answer
348 views

KVM/QEMU/libvirt image path suggestion file system and mount options

As simple KVM server I've got to store raw and qcow2 images on special path like: /kvm-storage I want to know what's the best practices for file system and mount options to set this path for achieve ...
1
vote
1answer
180 views

Set L2 cache for QEMU qcow2 disk in virsh XML

In the QEMU commandline you can set a L2 cache for a disk using l2-cache-size=10M This option is not supported in Virsh XML but it should be able to use the XML element <qemu:commandline> but I ...
3
votes
1answer
217 views

libvirt kvm cpu/memory stats collection

We are running virtual machines in kvm and i am trying to collect metrics and send it to influxdb + grafana for graphing. I can see CPU stats using virsh but its in time in second spend, how do i ...

1 2 3 4 5 15