Skip to main content

Questions tagged [libvirt]

daemon and clients to manage virtual machines and containers

Filter by
Sorted by
Tagged with
0 votes
1 answer
31 views

Does running a VM typically affect host input lag?

I'm running a Windows 11 VM via qemu/libvirt on my Fedora 40 (Plasma Wayland) host. The VM is configured to use a passthrough GPU, 25% of my cores (6), and 25% of my memory (16GB). For input it has a ...
user626019's user avatar
0 votes
0 answers
37 views

is it possible to boot into luks encrypted raw disk image with qemu/libvirt/virtualbox?

Done dd of my luks encryted drive, now im courious if its possible to create libvirt/quemu guest and attach that luks encrypted raw image and run it as is? Actually I have Fedora 38 on it with several ...
tomandjerry's user avatar
0 votes
1 answer
30 views

libvirtd not starting after unsuccessful GPU passthrough

I attempted to follow this guide on Ubuntu 22.04: https://wiki.gentoo.org/wiki/GPU_passthrough_with_libvirt_qemu_kvm I didn't need to change my BIOS or my Kernel, and I skipped the step involving the ...
adamlaughlin's user avatar
1 vote
0 answers
41 views

RDP to VM connected to NAT network in libvirt

I am running virt-manager on my Debian system. I am running a Windows 11 VM using NAT networking. I can't use bridge networking because I also use Docker and don't want to deal with all the issues it ...
IMTheNachoMan's user avatar
0 votes
0 answers
26 views

Configure libvirt VPN to connect through WireGuard VPN through the host without the host being on the VPN

Here is my system configuration: Debian stable + KDE virt-manager 2x VMs using bridge network so they get an IP on my LAN and the rest of my network can see them I want to create 2+ more VMs that ...
IMTheNachoMan's user avatar
0 votes
0 answers
38 views

How can I have a libvirt VM get IP from router on a host where docker is installed?

If I have a host that does not have Docker, I would just create a bridge network no my host and then have the VM use that and the VM would get an IP on my router/LAN. But if I have a host that has ...
IMTheNachoMan's user avatar
0 votes
0 answers
21 views

How can I create a VM in virt-manager that can access the internet through the host but can't even see the host or other devices on the LAN?

I want to be able to create multiple VMs for testing purposes -- questionable websites, files that could be infected with a virus, etc. I want to make sure these VMs should be able to access the ...
IMTheNachoMan's user avatar
0 votes
1 answer
22 views

KVM: Recover console of VM which connected to console of another VM

How do I recover the console of the first guest when itself is connected to a guest of which it is the host? Host1:~$ virsh console Guest1 ... Connected to domain 'Guest1' Escape character is ^] (...
viator's user avatar
  • 67
1 vote
0 answers
30 views

Is it possible to hardware accelerate spice with an nvidia gpu?

It is possible to use virgl with an nvidia gpu: <graphics type="egl-headless"> <gl rendernode="/dev/dri/renderD128"/> </graphics> <video> <model type=...
Cestarian's user avatar
  • 2,071
0 votes
0 answers
16 views

KVM/libvirt VMs layer 2 looks good but layer 3 isn't working

This looks like it's similar to this question but my setup (kvm/libvirt) looks closer to the answer than the question. Host is running Debian 12 (bookworm) and is up-to-date with upgrades, nothing ...
Jarad Downing's user avatar
0 votes
1 answer
50 views

What can cause network drop when running a VM with virt-manager?

I'm new to virt-manager, qemu and libvirt so I barely know how to use them. I use virt-manager's GUI to make it easier for me to do a transition from VirtualBox (including VBoxManage) to KVM. By far I ...
NewbieDeveloper's user avatar
2 votes
1 answer
21 views

Root does not see KVM guests of non-super user

Why doesn't root know about a regular user's KVM guests? user@Lin0011:~$ virsh list --all Id Name State ----------------------------- - Lin0021 shut off user@Lin0011:~$ root@Lin011#...
viator's user avatar
  • 67
0 votes
1 answer
87 views

Virsh not assigning dynamic IP address for VM

I am trying to setup a KVM maschine on a Debian 12 host which is attached to the default network created by libvirt. However, even though the network is active and available on 192.168.122.1/24... # ...
Dark Song's user avatar
0 votes
1 answer
24 views

libvirt can't bind device to runtime due to permission denied

I'm trying to start a new domain via libvirt virsh start my-domain. But it fails with this permission denied error error: internal error: Process exited prior to exec: libvirt: error : Failed to bind ...
itsjc's user avatar
  • 101
0 votes
1 answer
135 views

Why qemu don't accept this xml configuration for audio?

I want to pass a audiodev to a vm, but libvirt exit with this error error: internal error: process exited while connecting to monitor: 2024-03-17T23:29:37.725695Z qemu-system-x86_64: XDG_RUNTIME_DIR ...
elbarna's user avatar
  • 12.8k
1 vote
0 answers
204 views

Libvirt iptable chain LIBVIRT_FWX has no effect on interface internal traffic

I created a libvirt network in open mode and added the iptable rules that would have been created for a nat mode network. My plan is to basically create a nat network but add some custom iptable rules ...
elperry's user avatar
  • 11
0 votes
1 answer
31 views

Bridges on A Virtual Host

Years ago, I set up a virtual host on RHEL 7 with 2 NICs talking to 2 different LANs. I used some combination of brctl, ifconfig, etc. The host has guests on both LANs. The guests and external ...
Garnet's user avatar
  • 398
1 vote
0 answers
215 views

Does libvirt support auto memory ballooning

I have a KVM/QEMU/libvirt Arch Linux VM running on an Arch Linux host that I use for building software. I would like it to have access to 2 GiB of RAM when it is idle, but have access to 32 GiB of RAM ...
StrongBad's user avatar
  • 5,311
0 votes
1 answer
47 views

Libvirt allow hook to fork

If I have following Libvirt hook in /etc/libvirt/hooks/qemu.d/hook.sh #!/usr/bin/env bash if [[ $1 == "SEARCH_FOR_ME" ]]; then while true; do sleep 1 done fi bash /etc/...
error_man's user avatar
0 votes
0 answers
39 views

Loupedeck USB device 'libvirtd' pass to Win with UDEV rule

I have this console that I'm trying to pass as an USB to the Win11 running on QEMU. It is unhappy being 'redirected' as an USB device, so I wrote an UDEV rule for it, b/c without it, of course I didn'...
greengold's user avatar
  • 113
1 vote
0 answers
484 views

Configure SELinux to allow qemu/virt-manager and samba to both read/write to the same folder?

Problem summary I have a local folder that is shared under samba but if I try to allow qemu (via user session) to access it via virtio-9p, I get an error (SELinux avc). Works fine with SELinux ...
zpangwin's user avatar
  • 891
1 vote
1 answer
184 views

Wireguard cant read wg0.conf on share

I have a virtual fedora server running using libvirt and have shared a directory from the host using virtiofs. hostshare /etc/wireguard virtiofs rw,relatime 0 0 The dir in the guest is mapped to /etc/...
Christian's user avatar
  • 2,205
0 votes
0 answers
221 views

KVM Qemu + Libvirt -> Debian Host+Guest => OpenGL / 3D Acceleration -> No Effect

Hi I use debian12 with KVM+Qemu and libvirt ( VirtManager as a GUI ) to create my virtual Machines. I want to have several Virtual machines that have "some" GPU Acceleration NO Direct GPU ...
Viktor Carlson's user avatar
1 vote
0 answers
103 views

Running VMs and virsh command from qemu build from source

I am trying to build QEMU from source using the instructions given here. I am trying to implement a research paper which adds features to the migration mechanism of QEMU and so I need a custom build(...
Amit Kumar's user avatar
0 votes
0 answers
40 views

Does it make sense to run mcelog inside of a kvm vm?

I would imagine it would catch qemu / kvm / libvirt bugs, and probably nothing related to the actual hardware. Running mcelog on the host of course, but is it worth it/helpful to run it inside a kvm ...
cat pants's user avatar
  • 487
6 votes
1 answer
214 views

Is there a way to determine what process is rebooting a server?

I have a kvm vm that seems to be rebooting randomly. I'm not seeing anything in syslog about reboot, shutdown, error, core dump, panic, etc. No errors in libvirtd log on the host either, no errors in ...
cat pants's user avatar
  • 487
0 votes
0 answers
200 views

Debian based guests sometimes boot into UEFI shell qemu

My host runs Debian 12 and is used as a hypervisor using QEMU and libvirt. I have several Debian based server VMs and they almost always boot into UEFI shell instead of normally. I still can boot by ...
td211's user avatar
  • 404
0 votes
0 answers
75 views

Internal Error: libxenlight failed to create new domain "FreeBSD-13.2"

I tried to use xen as a hypervisor instead of kvm + libvirt + virt-manager to boot FreeBSD on my ARM Chromebook where I have installed Devuan 5,since Stefano said : Libvirt + virt-manager with the xen ...
Marietto's user avatar
  • 549
0 votes
0 answers
29 views

Permission Denied error when I try to open the image file stored on the ZFS disk accessed through sshfs from another machine

I would like to boot the FreeBSD 13.2 image file using Libvirt + virt-manager. I have stored the image on the external hard drive,"formatted" with ZFS while I'm using Devuan 5 installed on ...
Marietto's user avatar
  • 549
0 votes
0 answers
36 views

same ip and subnet in 2 different bridges

I am trying to create 2 different virtual networks in the same ip range (not using NAT) in virt manager. This doesn't work with the gui or editing the xml of the new virtual network. Is creating ...
ISG's user avatar
  • 1
0 votes
0 answers
31 views

Passthough special keys from keyboard to guest OS?

I have a MS Natural Keyboard 4000 and I want to use its special keys in my guest OS. Both are Linux Mint. Without any additional configuration some keys are passed (Home, Mail, Volume, Fav, etc.) but ...
user22942146's user avatar
0 votes
0 answers
334 views

How can I use QEMU GTK as display when using libvirt?

I was following the guide for configuring Intel GPU Passthrough through GVT-g and had some issues when trying to use QEMU GTK as a display. In order to troubleshoot this more easily, I tried this out ...
cidra's user avatar
  • 81
0 votes
0 answers
305 views

Using IPMI in virtualization - what is the difference betweem virtualbmc project of openstack and QEMU device ipmi-bmc-sim?

I'm setting up a virtual lab on my laptop (using kvm/qemu), and need an IPMI solution (e.g., to use STONITH as is etc.). I have looked at virtualBMC and QEMU ipmi-bmc-sim (search for ipmi on the page) ...
Dani_l's user avatar
  • 5,021
0 votes
0 answers
101 views

The attached virtio disk is not recognized by libvirt but it is recognized by qemu

I'm trying to virtualize FreeBSD 13.2 for arm 32 bit on my laptop ARM Chromebook where qemu is version 5.1,KVM is enabled,libvirt and virt-manager are installed from the source code and everything ...
Marietto's user avatar
  • 549
0 votes
1 answer
84 views

Libvirtd/Qemu routed network mode problem with two virtual networks

I have a persistent problem with my virtual machine host. Host machine rebooted recently and after that one out of the two virtual networks stopped working. The network topology that I have is a /26 ...
user2771538's user avatar
1 vote
0 answers
343 views

Delete snapshots only in libvirt, but retain them in qcow2

I executed the following commands -- 12:18:40 sudo virsh snapshot-delete Windows-10-128GB 2022-04-12-Pre-Activation Domain snapshot 2022-04-12-Pre-Activation deleted ...
Daniel F's user avatar
  • 887
0 votes
1 answer
82 views

Error : virHostCPUGetKVMMaxVCPUs: KVM is not supported on this platform: Function not implemented

I'm running Debian bookworm on my ARM Chromebook,model "xe303c12" and I've recompiled the kernel (5.4) to enable KVM,so now my system sounds like this : $ lsb_release -a No LSB modules are ...
Marietto's user avatar
  • 549
1 vote
0 answers
463 views

Failed to acquire pid file : /var/local/run/libvirt/qemu/driver.pid

I'm running Debian bookworm on my ARM Chromebook,model "xe303c12" and I've recompiled kernel to enable KVM,so now my system sounds like this : $ lsb_release -a No LSB modules are available. ...
Marietto's user avatar
  • 549
0 votes
0 answers
426 views

error : virNetSocketReadWire:1792 : End of file while reading data: Input/output error

libvirt version - 8.0.0 OS - Centos 8 Stream Kernel - Linux 4.18.0-408.el8.x86_64 #3 SMP Mon Aug 21 12:19:16 EDT 2023 x86_64 x86_64 x86_64 GNU/Linux Openstack Version - Yoga 24.1.1 I am running ...
varun vyas's user avatar
1 vote
0 answers
307 views

AppArmor issues with Libvirt

I have a fresh Ubuntu Server 22.04.3 and Debian 12.1.0 installed and updated. Along with Cockpit and Cockpit virtual machines on both tests machines. I am getting the following errors and warning when ...
Johannes's user avatar
1 vote
1 answer
45 views

archlinux on vm (created by libvirt) can not start up?

there is the domain xml for vm0x01: <domain type='kvm' id="1"> <name>vm0x01</name> <uuid>4dea24b3-1d52-d8f3-2516-782e98a23fa1</uuid> <genid>...
SomeNetDrugs' SuperStunRod's user avatar
0 votes
0 answers
98 views

No Internet from internal GSM modem, but only in Guest OS (KVM/Qemu)

I have been trying to set up a virtual router on my laptop utilizing the LTE card (Sierra Wireless AirPrime EM7455) as its WAN interface. To summarize my problem, the LTE card works in the host but I ...
klanec's user avatar
  • 1
0 votes
1 answer
824 views

In KVM/Libvirt: How can I have two NAT networks with the same IP range on one host?

I'm trying to use KVM and libvirt to test some infrastructure setup in a virtual machine, where basically I'm booting a VM inside a network. In my case, this VM and the network always must have the ...
Alex's user avatar
  • 103
2 votes
1 answer
147 views

How to block a range of ip adresses with libirt's nwfilter for a specific mac(VM)

I'm a bit lost how to block a range of Ip adresses(preferbly for a specific mac adress of a VM) <filter name='local-fileserver-only' chain='ipv4' priority='-700'> <uuid>blank for now</...
Hazmat's user avatar
  • 51
0 votes
1 answer
405 views

Understanding libvirt / kvm bridged network and its IP

I'm trying to get the IP of a guest virtual machine connected to my network with libvirt / kvm bridging. I've come across a couple of resources online, but they seem to be out of date, like this and ...
xpt's user avatar
  • 1,644
1 vote
0 answers
323 views

How can I configure VMs to suspend or shutdown when the host is rebooted/shutdown with KVM / virt-manager?

I am running openSUSE Tumbleweed with virt-manager. I can see an option in the VM details for starting the VM when the host boots up. I am trying to find a way to configure what a VM does when the ...
IMTheNachoMan's user avatar
1 vote
1 answer
144 views

Install base Linux on KVM virtualized hardware (dom0)

Goal: I would like to install my main Linux distro on top of KVM, equivalent to dom0 in Xen hypervisor parlance. I know that running an OS on top of a hypervisor is not uncommon and that KVM has been ...
Adam Erickson's user avatar
1 vote
0 answers
117 views

Vagrant OpenBSD Box not starting up through Libvirt Provider

So I have created a OpenBSD 7.3 VM in libvirt with the following shell command. virt-install --name openbsd7.3 --os-variant openbsd7.0 \ --virt-type kvm --vcpus 1,maxvcpus=2 --memory 256,maxmemory=...
prmethus's user avatar
0 votes
1 answer
114 views

isc-dhcp-server and dnsmasq is not working in Virt Manager(debian) KVM

I am trying to make a DHCP server in a VM what I pass a PCI ethenet adaptor to. with dnsmasq I get the "interface ens7 does not exist" dnsmasq.conf interface=ens7 port=53 I tryed isc-dhcp-...
TepMaster's user avatar
0 votes
0 answers
62 views

Can’t start VM with img

I'm using Debian 11 and libvirt with KVM. Previously, I was able to start VMs with a mounted .img file, but now I'm unable to do so. I have reinstalled virtualization, redownloaded the .img file, and ...
Tom 's user avatar
  • 1

1
2 3 4 5
8