Questions tagged [libvirt]

The tag has no usage guidance.

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

Unable to use virt-sysprep on libvirt/qemu virtual machine on Ubuntu 20.04

I am trying to run virt-sysprep on a qemu virtual machine on Ubuntu 20.04. I tried the following commands: virt-sysprep --format=qcow2 -a /var/lib/libvirt/images/Debian10-1.qcow2 and virt-sysprep -d ...
0
votes
0answers
15 views

Is it possible to use VFIO passthrough with multiple GPU's to one VM with NVIDIA SLI support?

I've moved to Debian a while ago and miss a few Windows programs and especially games. Both dual booting and using WINE is very tedious (though for different reasons). PCI passthrough seems like the ...
0
votes
0answers
7 views

How to package a Vagrant Box from virt-manager/KVM

I have a VM foo created using virt-manager / KVM. I have vagrant 2.2.6 with the plugin vagrant-libvirt 0.0.45. I wish to package foo as a Vagrant box. The documentation for vagrant package states: ...
0
votes
0answers
20 views

Can I use Aero Glass with QXL (virt-manager)?

I've made a Windows 7 VM with QXL as the display adapter. I installed the guest additions and the display adapter was properly showing up in device manager. I've tried changing the QXL settings to ...
0
votes
0answers
27 views

Problems using libvirt to create a Win98 Virtual Machine

Recently, I encountered a need to run some Windows 98 software. I decided to use this project to learn about virtual machines (I have had no previous experience). I tried to run virtualbox on my ...
1
vote
1answer
38 views

Remove libvirt with docker running on same machine

I am running SUSE Linux Enterprise 12. For security reasons, I want to uninstall libvirt since kvm/quemu VMs are no longer needed on the machine. At the same time, we are running docker and I am not ...
0
votes
1answer
46 views

Libvirt KVM networking, how to make guest accessible from outside with public IP?

Good afternoon, I've ordered dedicated server CentOS 7 from ISP. Also got 10 public IP addresses. Have following situation: Dedicated server IP is:149.XX.XXX.29/24 Default gateway: 149.XX.XXX.1 ...
0
votes
1answer
15 views

How to pass SSE4 to Libvirt KVM

The box has X5570 cpus. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc ...
0
votes
0answers
183 views

QEMu / KVM: error: Unable to add bridge tap0 port vnet0: Operation not supported

In order to fully understand how the networking part works inside QEMU/KVM software virtualization environment, I decided to try to manually set up a the networking part, more or less simulating what ...
0
votes
1answer
20 views

Browser on host is started when starting it in a VM

Here is my setup: My host system runs Ubuntu 18.04 I have a VM (also running 18.04) using libvirt/KVM I connect to the VM using ssh -X 1.2.3.4 The weird thing is, if I run firefox in that SSH shell, ...
0
votes
1answer
522 views

GPU passthrough no output

I followed this guide to setup a vm with pci passthrough. My setup: MSI Z170 Gaming M7 i7-6700K GTX1080[Host] RX580[Guest] Host OS Manjaro KDE on 5.4 Guest OS Win10 I can confirm that the GPU is ...
0
votes
1answer
171 views

Virtual disk extremely slow for KVM guests

I have a relatively small server with a quad core CPU (Intel i5-7400) and 16 GB RAM (DDR4 though), running a couple of virtualised guests using libvirt. I'm not using any other intermediate layer such ...
1
vote
0answers
34 views

libvirt and usb passthrou without reset

I am trying to connect my android phone to a virtual windows machine. The issue is that whenever I connect the phone it is in "charging" mode (this is an android security feature) I then click on ...
1
vote
1answer
56 views

QEMU/KVM/libvirt macvtap VEPA not working - ARP request not forward

Hi I've been struggling to get guest networking working when using a macvtap in VEPA mode between two VMs on a host. I've spent hours (days) googling with no joy. Does this network configuration ...
0
votes
0answers
24 views

Network access to VM from network PCs (Virtual machine manager)

I have a network service running in a Windows VM guest managed with Virtual Machine Manager (virt-manager) in a GNU/Linux host. How can I provide access to that network service to computers ...
0
votes
1answer
63 views

How to run Live backup of Virttual Machines - Libvirt-Qemu

im Trying to run this script https://gogs.tausys.de/shogun/libvirt-imagebackup/raw/master/backup-vms.sh When i run it, it starts like this. Wed, 16 Oct 2019 12:44:59 +0200 Backup KVM online guest '...
0
votes
0answers
30 views

libvirt USB passthrough device fails to connect at guest start

I have a desktop setup with Host: Ubuntu 18.04 libvirt 4.0.0 linux-4.15 generic Guest: Windows 10 USB keyboard (Corsair K55) in USB passthrough USB mouse in USB passthrough NVidia graphics card ...
3
votes
1answer
1k views

What is the difference and relationship between kvm, virt-manager, qemu and libvirt?

I investigated this topic and here are my conlusions (but still I have questions, and please correct me if I made any mistake in my conlusion): VMWare: VMWare developed its VM Hypervisor SW in 1999, ...
0
votes
1answer
55 views

IPTables KVM NAT port forward goes to wrong VM

Good day, I have 2 VMs running with libvirt. Machine 1 : PostgreSQL on port 5432 Machine 2 : Attempting to use psql to connect to a PostgreSQL server on the internet. I forwarded port 5432 so that ...
0
votes
0answers
248 views

qemu-img: Check failed: Cannot allocate memory

I recently had a qcow2 image go corrupt and I'm not sure how to repair it or recover the data. Here are the couple of outputs that may be most relevant: [root@f-plex]# qemu-img info /mnt/d_drive/...
0
votes
0answers
28 views

Debian armhf sd card installer: How to run in qemu/libvirt?

Think you've got a Debian armhf installer on an sd card, as in http://ftp.debian.org/debian/dists/stable/main/installer-armhf/current/images/hd-media/SD-card-images/README.concatenateable_images - so ...
0
votes
1answer
297 views

Making my KVM VMs accessible from the network

I'm setting up a new home server with borderline-paranoid security as the goal. As such, everything with open ports that can go in a VM, gets its own VM. I'm using Ubuntu Server as the host, because ...
0
votes
1answer
60 views

How to set Rx queue = N in linux / in Qemu / KVM?

I have configured 8 multiple queues on my CentOS VM box (running on KVM). <interface type='direct' trustGuestRxFilters='yes'> <source dev='ens113f0' mode='passthrough'/> <model ...
0
votes
1answer
50 views

Dual booting and virtualizing Windows 10 results in blue screen since recent update

I have Debian 10 and Windows 10 1903 set up as dual boot on a Thinkpad T440p using UEFI. Until now I was also able to start that same Windows 10 instance as a virtual machine using virt-manager/...
0
votes
0answers
55 views

Preloading shared library with libVirt

I am trying to load two shared libraries while running Qemu using libvirt. To preload the shared libraries I have added an environment variable in the $domain.xml file with the following command: ...
0
votes
0answers
91 views

libvirt/libxl: Attempting to attach a virtual floppy disk is met with failure

The problem is, I am attempting to attach a pool of floppy disks for installation of MS-DOS in a VM (for some old games that cannot run full speed on modern hw), but when doing so that is met with ...
0
votes
1answer
47 views

Using a Console-only NetBSD VM

I am experimenting with NetBSD and seeing if I can get the Fenrir screenreader to run on it. However, I hit a snag post install; the console that I was using for the installation was working perfectly ...
0
votes
1answer
7 views

Blowing Away All Libvirt Items?

I recently started playing with Libvirt, and I have come to the discovery that I like using virsh more so than I do the GUI client, as it is easier to interact with as far as a screenreader is ...
1
vote
1answer
767 views

Vagrant error with libvirt

I'm trying to set up vagrant for the first time in my life while following a tutorial. I'm using the VVCW box because I want to work with WordPress with it. So I downloaded the zip file and unzip it ...
1
vote
1answer
447 views

Set qcow2 image size at install time

Context > I am a bit confused about disk images and their installation. I am using qemu/kvm with libvirt and have used VirtualBox in the past. Back then, the UI would guide me to choosing a "template" ...
0
votes
0answers
93 views

libvirt/virsh pass-through USB3 on centos

I Have one usb stick device with two devices inside (one on usb2, one on usb3). Only one of these devices (in this one usb stick) can be active at the same time. During operation, the device switches ...
0
votes
0answers
7 views

KVM: Is it possible to create several clones of an existing domain including their running snapshots without cloning the entire original disk?

My goal is to use a single base VM, power it on, take a running snapshot, then create several other VMs that include the running snapshot, but all tie back to the original image. The use case is the ...
1
vote
2answers
923 views

Problems while installing libvirt-python on MacOS

I want to use libvirt library for installing a VM on a KVM. While installing libvirt library on Mac, I'm coming across an issue. I tried installing libvirt dependencies but to no use. Can you please ...
1
vote
0answers
111 views

Pass through ACPI devices in KVM

Is there a way to pass through ACPI devices to a KVM guest? I'm trying to create a debugging environment for an ACPI device.
0
votes
1answer
252 views

libvirt - can only boot from IDE devices?

I'm running Ubuntu 18.04 as host and windows 10 as guest, using QEMU/KVM as my hypervisor and libvirt as my management tool. I have a nvme ssd /dev/nvmewin that I want to pass to the windows guest (...
0
votes
2answers
609 views

Windows 10 VM Bootloop

I've replaced my intel i5 with an amd ryzen 7. Now my Windows 10 VM (libvirt/qemu) won't boot, it just shows "preparing automatic repair" and then reboots. I cannot boot from a rescue iso either. I ...
0
votes
1answer
2k views

USB redirection in libvirt

I'm running libvirt under Fedora 28. I would like to attach a USB device to a VM, but when I select "Redirect USB Device" from the "Virtual Machine" menu in virt-manager and then select the device, I ...
3
votes
0answers
437 views

Libvirt: AppArmor Profiles Access Error

I have installed libvirt-daemon on a fully updated Ubuntu Server 18.04.1 LTS. When trying to execute libvirtd --listen, the following errors arise: 2018-08-24 21:03:18.641+0000: 2855: error : ...
1
vote
1answer
540 views

Unable to make VM use public IP with macvtap/KVM/libvirt

I am running dedicated server with few KVM VMs on it. I had success in the past getting separate public IPv4 address attached to one VM using macvtap driver and it works just like totally independent ...
1
vote
0answers
387 views

virt-install ListActivatableNames Connection is Closed

I'm trying to use virt-install to easily set up a vm. Silly me. The endgame here is to have roughly ten of these bad boys running that all have to be able to communicate with one another via ssh, ...
0
votes
1answer
159 views

How to access KVM guest from host without having the guest's root credentials

I've create a KVM Centos7 instance .. i'd like to connect to its console from host but it asks me to enter the root credentials for that guest. virsh console test Is there any way to achieve this ...
1
vote
0answers
330 views

Passing USB controller to VFIO Virtual Machine

Im running a Windows 10 VM using qemu version 2.10.1 on kernel 4.14.1 with a GPU passed through. I can also pass through an Intel-based USB controller. So far so good. My Intel USB controller does ...
0
votes
1answer
339 views

How to set CPU EDX register in libvirt / qemu?

I need to set the CPU EDX register in libvirt as per: https://support.microsoft.com/en-gb/help/2902739/stop-error-0x109-critical-structure-corruption-on-a-vmware-virtual-mac however I cannot find an ...
0
votes
1answer
130 views

Fedora 26 libvirt connection times out

I've been trying to get libvirtd and virt-manager to work for days now. I have all the entire "Virtualization" group of packages installed and have confirmed that libvirtd is running with systemctl ...
0
votes
1answer
1k views

VPN subnet routing: Destination Port Unreachable

I am connected via VPN to a Ubuntu server acting as a hypervisor, running 1 VM. I can ping the VM from command-line on the server, but am unable to ping the VM via my VPN connection on my computer. ...
1
vote
0answers
539 views

A VM guest fails to communicate with LAN machines through a macvtap

I might be missing something obvious, as I couldn't find anything that would explain why I can't get this to work. I'm not new to libvirt, kvm, qemu, just to macvtap. To be honest, I can't figure out ...
2
votes
1answer
8k views

kvm Error starting domain: unsupported configuration: Unable to find security driver for model selinux

Trying to start our kvm virtual machines and getting this error after rebooting the physical host machine. Error starting domain: unsupported configuration: Unable to find security driver for model ...
3
votes
1answer
1k views

How do I revert to latest external snapshot in KVM?

I have created an external snapshot with KVM using virsh snapshot-create-as domain --name snap1 --disk-only Then, I started the domain with “virsh start domain”. I know that reverting to external ...
0
votes
2answers
708 views

How to install VM from ISO?

I prepared pool, volume and installation ISO, want to install headless VM using console. Here's my command: virt-install -n myvm -r 2048 --disk path=/home/username/virtpools/mydisk.img --location /...
1
vote
1answer
101 views

How can I ssh a virtual machine from another virtual machine?

How can I ssh a virtual machine from another virtual machine? I am using KVM-libvirt and Vagrant to create these VMs, if this helps. My host machine is Ubuntu desktop 16. Please help me with ...