Questions tagged [libvirt]

daemon and clients to manage virtual machines and containers

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

libvirt and hotswappable single USB port with virt-manager - almost there?

Description USB not visible on Debian guest. I cannot see anything obvious from the logs but because I do not have much virtualisation experience I assume I missed a step in the configuration, ...
user avatar
0 votes
0 answers
10 views

How to emulate usb-mtp device with virt-manager?

I am trying to emulate an mtp device with virt-manager. I see at https://qemu-project.gitlab.io/qemu/system/devices/usb.html that usb-mtp,rootdir=dir as in -device usb-mtp,rootdir=dir could be used to ...
user avatar
  • 1
0 votes
0 answers
23 views

libvirt copy and paste breaks regularly

I haven't been able to identify the cause (besides it seeming to happen with cloned VMs - though I've tried changing the Spice ports to be different, and also tried using VNC on one and Spice on ...
user avatar
  • 312
0 votes
0 answers
12 views

libvirt - cant restart network connection to VM, but creating new one works

As the title says.. I have several VMs running and dont know why but occasionally a network connection will break. I've tried restarting the network from the Virt-manager GUI and also by CLI with ...
user avatar
  • 312
0 votes
0 answers
17 views

"Unable to read from monitor: connection reset by peer " error message when trying to open VM in RHEL6

i need help to fix this problem, When i trying to open VM on RHEL6 the error message appear "Unable to read from monitor: connection reset by peer " .
user avatar
7 votes
1 answer
488 views

Why does libvirt-daemon-system have so many dependencies on Debian?

On my headless debian 11 (bullseye) server, when I attempt to install libvirt-daemon-system, apt threatens to basically install an entire graphical environment, including audio libraries and ...
user avatar
  • 507
0 votes
0 answers
50 views

kvm uefi boot into UEFI shell

I use kvm and qemu and ovmf to set up a vm. while I config it to boot on UEFI,it runs into UEFI shell. My VM xml is following: <domain type="kvm"> <name>win7-2</name> &...
user avatar
0 votes
0 answers
27 views

KVM : virtio better?

I found many articles about changing to virtio, but I don't know the reason. Does virtio have higher performance?
user avatar
0 votes
0 answers
8 views

where to apply virt-win?

I didn't use virt-win.iso and I have installed win7. And I can use it normally. Then what is virt-win using for? Thanks. Any help would be appreciated.
user avatar
1 vote
1 answer
19 views

libvirt nwfilter, multiple parameters

It's possible to pass multiple parameters to the "filterref" using "parameter" keyword. Like this: <filterref filter='no-ip-spoofing'> <parameter name='IP' value='10.0....
user avatar
0 votes
1 answer
19 views

Virtual Machine Manager - Automate Repetitive Launch Steps

Each time I launch Virtual Machine Manager, I have to run this command before any virtual machines can be run successfully: sudo virsh net-start default On a Debian 11 desktop, how can I configure ...
user avatar
  • 4,327
1 vote
1 answer
46 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
0 votes
0 answers
154 views

The qemu service libvirtd/virtqemud crashes with an "End of file while reading data: Input/output error"

On my CentOS 9 Stream box my qemu service libvirtd or virtgemud crashes, tried both, not at the same time though ;-) (I'm aware I should use virtgemud) I run fine between 5-300 seconds randomly :-/ ...
user avatar
  • 550
0 votes
0 answers
56 views

What happens if I run a VM while copying the qcow2 file / can I backup by copying the VM file while running?

I'm trying to understand how the write happens with a VM. It looks like running one is not blocked while copying it for a backup. Will the copy contain any modified files like the boot log? Or will it ...
user avatar
  • 312
0 votes
1 answer
791 views

libvirt QEMU/KVM guest cannot connect to network (NAT)

An Ubuntu QEMU/KVM guest created in virt-manager with all default settings and network type NAT can't activate its network. My host is Fedora 35. A screenshot of the guest's NetworkManager log is ...
user avatar
  • 1
1 vote
1 answer
350 views

How to make a USB device available to a QEMU guest?

I am trying to make my laptop camera accessible by a guest system on it. With the guest system not running, I open it in virt-manager, go to "Show virtual hardware details" → "Add ...
user avatar
0 votes
0 answers
62 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
0 answers
135 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
220 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
237 views

Cannot shutdown the host when QEMU/KVM is installed

I have a problem with LIBVIRT or something. The host is Linux Fedora 34 on AMD and the guest VM is Windows 10. Virt-manager is connected through user session. I am fairly new to Linux, but I recently ...
user avatar
0 votes
0 answers
104 views

Restarting the libvirtd service

I know this may be a silly question. I just installed QEMU on my system (Gentoo) and, I'd like to know if it is really necessary to have to use /etc/init.d/libvirtd restart, every time I reboot my ...
user avatar
0 votes
0 answers
416 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
46 views

Q: How to properly set autostart after live migration?

What is the proper way to enable the autostart of a domain after a migration via virsh migrate --verbose --live --persistent --undefinesource ${VM} qemu+ssh://${DESTHOST}/system I can use a hook on ...
user avatar
  • 111
1 vote
0 answers
61 views

what is virbr0 and can I uninstall libvirt-daemon and not have a problem?

A clean install of RHEL/CentOS 7.9 from dvd results in the network interface of virbr0 being present. I don't like that and want to get rid of it by doing yum remove libvirt-daemon. In doing that, do ...
user avatar
  • 4,231
0 votes
0 answers
43 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
1 vote
0 answers
241 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
1 vote
1 answer
607 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
  • 299
0 votes
0 answers
33 views

KVM GPU passthrough getting signal but Windows isn't recognizing the GPU

I've setup a new machine with Arch as the Hose OS and wanted to setup a Windows 10 VM with GPU passthrough. I've followed the first 4 steps in the Arch Wiki until performance tuning. Now I can start ...
user avatar
  • 101
2 votes
1 answer
103 views

How to export *all* VMs from KVM host

Searching for a good way to export all VMs from KVM nodes so I have some backups while doing in place OS upgrade of the KVM hosts. So far, I am using a hacky bash oneliner in order to dump all VMs as ...
user avatar
0 votes
0 answers
158 views

libvirtd service fails to start automatically at bootup even though it's enabled

For some reason the libvirtd service does not start at bootup. I can easily start it manually by issuing the "systemctl start libvirtd" command from a terminal window. I can also confirm ...
user avatar
1 vote
2 answers
724 views

libvirt/qemu guest VM sometimes needs several tries for DNS resolution

I'm running libvirt/qemu, with arch host OS and win10 guest OS. For a while I was using the default network configuration, but I started having problems with certain domain names not resolving. I have ...
user avatar
  • 123
0 votes
1 answer
151 views

`libvirtd` crashes the system

Short version: Using systemctl start libvirtd (or libvirtd.service, seems to have the same effect?) crashes the system, without warning, if one of the pools has /dev allocated. Long version: I'm ...
user avatar
1 vote
1 answer
466 views

vagrant doesn't find installed libvirt plugin (host Ubuntu 20.04.3 LTS)

I can't get vagrant working with libvirt. I first used the distro packages, but it produced the same error you see in my description below. Then I removed every distro vagrant package and installed ...
user avatar
  • 325
1 vote
1 answer
1k views

How do I regenerate /etc/resolv.conf from /etc/systemd/resolved.conf?

I'm trying to follow this tutorial here: https://www.itwonderlab.com/en/ansible-kubernetes-vagrant-tutorial/ using Debian 10 as the vagrant host, and as Debian no longer supports Virtual Box, I'm ...
user avatar
  • 333
0 votes
1 answer
308 views

Enable libvirt using sysvinit

I am trying to install qemu and KVM on my MX-Linux 21, however my system is booted with sysvinit. As all the articles regarding installing and setting KVM use systemctl, I cannot find one to enable ...
user avatar
0 votes
0 answers
58 views

Libvirt: sucesfully run audio remote, but very awful quality

I have sucesfully set the pulseaudio remote network audio, so even vm's running on remote server can "offer" sound to clients. This is my configuration default.pa load-module module-native-...
user avatar
  • 11k
1 vote
0 answers
215 views

How to get write permissions on Linux host from Windows 10 guest, using virtiofs shared folders

I am trying to share a folder from an Ubuntu 20.04.3 host with a Windows 10 build 19042 (20H2) guest, using QEMU 5.2 / libvirt 7.0.0 on the host and virtio-win 0.1.208 (driver 100.85.104.20800 and ...
user avatar
0 votes
1 answer
153 views

Get a raw disk image from qcow2 [duplicate]

I want to install Ubuntu (or any distro) as UEFI with QEMU/libvirt and make some changes there at runtime and shut down the machine. This will create a qcow2 disk. If this was not a virtual machine ...
user avatar
0 votes
0 answers
65 views

I can't run The Binding of Isaac Antibirth (Antibirth, not another DLC, I mean the mod) any help?

This happens under a Windows 10, 7 or 11, any way to fix this? The app just won't launch. I know it works on a bare metal machine.
user avatar
0 votes
0 answers
463 views

Can I set my virt-manager/QEMU VM (using virgl) to 144Hz?

I've created a Ubuntu 21.04 VM in virt-manager and I've set the graphics to use virgl instead of QXL because it's meant to be much smoother in the desktop. While it works fine, dragging windows about ...
user avatar
0 votes
2 answers
1k views

How to get best video performance on Windows VM without gpu passtrough?

I'm using OpenSUSE as my main OS on work laptop (Ryzen 5850U, no additional GPU), however I need to have working Outlook desktop app, since some of our company communications are encrypted using S/...
user avatar
1 vote
0 answers
137 views

Virt-manager -- USB device visibility on host and in Linux VM, but not in Windows VM

I have an FTDI device connected to my host (machine that runs hypervisor i.e. virt-manager/qemu). Host sees the device just fine: ziga@ziga--hypervisor:~$ lsusb Bus 002 Device 001: ID 1d6b:0003 Linux ...
user avatar
  • 826
0 votes
0 answers
148 views

QEMU Through Virt-Manager Exits Gnome and Crashes. What to do?

Issue When i am creating a virtual machine through Virt-Manager (Virtual Machine Manager), when it starts I am exited from the gnome session and shown my machines boot logo (I have a Asus machine so ...
user avatar
0 votes
1 answer
172 views

VM: Error Starting Domain: USB Device Not Found

I have a working VM that will not load unexpectedly. Using virt-manager in CentOS7 Error is Error Starting Domain: internal error: Did not find USB device 05ac:12a8 I see USB device 05ac:12a8 in the ...
user avatar
0 votes
0 answers
28 views

Virt-v2v VM conversion from esx 6.7 to OLVM 4.3 (ovirt) takes too long

Is it common, that the conversion process of a oracle Linux 7 VM to KVM takes about 30 minutes? I'm using rhv-upload so I have to use raw format, can't use qcow2, but after the conversion is done, the ...
user avatar
0 votes
1 answer
73 views

How to make the libvirt VM installed under the regular user boot during the system bootup?

I installed a virtual machine under a regular user(in other words, not under root user) with virt-install and configured this VM to boot automatically: $ virsh dominfo vm Id: 1 Name: ...
user avatar
  • 6,378
0 votes
1 answer
1k views

How to tell qemu to use a specific MAC adderss on a network bridge?

When I create a VM using virt-install, the VM gets connected to the virbr0 network interface automatically by generating this XML configuration: <interface type="network"> <source ...
user avatar
  • 697
1 vote
1 answer
584 views

Why is there a libvirt-qemu user (showing on the login screen) and how to remove it?

I didn't create this user - I think it was added by installing the "Virtual Machine manager" (virt-manager) on Debian10/KDE. grep -E 'libvirt|qemu' /etc/passwd returns libvirt-qemu:x:6xxxx:...
user avatar
  • 3,500
6 votes
1 answer
1k views

Error creating snapshot: Operation not supported: internal snapshots of a VM with pflash based firmware are not supported

I'm using Arch Linux, both host and guest. For UEFI boot, I've installed edk2-ovmf and made the guest use the firmware /usr/share/edk2-ovmf/x64/OVMF_CODE.fd. I want to create snapshots of my VM but am ...
user avatar
1 vote
1 answer
113 views

openssl and ruby error when using vagrant

I use CentOS 8.4, libvirtd (libvirt) 6.0.0, Vagrant 2.2.18, gem version 2.7.6.3 and ruby 2.5.9p229 (2021-04-05 revision 67939) [x86_64-linux] I am trying to use vagrant to build VM's on Qemu/KVM. ...
user avatar

1
2 3 4 5
7