Skip to main content

Questions tagged [libvirt]

daemon and clients to manage virtual machines and containers

Filter by
Sorted by
Tagged with
3 votes
1 answer
218 views

I am creating a new QEMU/KVM virtual machine using libvirt CLI in Debian Linux. According the tutorial, I must activate the default network using the following command: sudo virsh net-start default ...
user153245's user avatar
0 votes
0 answers
34 views

I'm just trying to understand why Virtual Machine Manager (VMM) is not able to know the IP Address of a VM(a.k.a. Domain) when the VM has it's Network Source as a bridge device. In the screenshot I ...
Evan's user avatar
  • 11
0 votes
0 answers
24 views

I am trying to automate the deployment of a cybersecurity lab. My goal is to have a repeatable process to create a Debian-based with all my tools and configs. To this extent, I recently discovered ...
paupaulaz's user avatar
  • 165
1 vote
2 answers
87 views

I got two FreeBSD VMs (Latest production version, 14.3) working with my setup of Linux VMs separated by each service, all the Linux VMs report the RAM usage correctly but for some reason the FreeBSD ...
Swee's user avatar
  • 21
0 votes
0 answers
66 views

I'm on Fedora Linux 42.20250824.0 (Sway Atomic), running libvirt version 11.0.0, qemu-img version 9.2.4 (qemu-9.2.4-1.fc42) and virt-manager version 5.0.0, all installed as layered packages. Using ...
magnusTre's user avatar
2 votes
3 answers
1k views

I just found an app on Discover Store (Flatpak) that is called "Virtual Machine Manager". So I've downloaded it, because I want to try and make a Windows 11 VM with it. But as soon as I go ...
Delphi Programming's user avatar
2 votes
1 answer
119 views

I am trying to write a bash script that detects if there are any running VMs and performs a set of actions only when no VMs are running. The system in question has several virtual machines (all from ...
zpangwin's user avatar
  • 1,113
1 vote
0 answers
92 views

I am trying to pass gpu to vm with libvirt following guides: https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF#Setting_up_an_OVMF-based_guest_virtual_machine https://github.com/joeknock90/...
Hashibane's user avatar
1 vote
0 answers
211 views

KVM/QEMU libvirt Network "default" NAT Configuration - Guest can connect to host and the host to guest but the guest cannot connect to Internet(no VPN). $ sudo virsh net-list --all Name ...
Pavel Sayekat's user avatar
1 vote
1 answer
54 views

I have a custom dnsmasq instance running locally as my main dns provider and I want to forward *.vm requests to libvirt's instance of dnsmasq, but there's something wrong with my local network ...
thiago's user avatar
  • 133
1 vote
0 answers
56 views

I'm trying to automate installation of a debian machine with a preseed configuration file and despite a few hiccups here and there it seems to work. I am confused though why adding --inject-initrd ...
Daniel Krajnik's user avatar
0 votes
0 answers
25 views

When attempting to create a libvirt domain off a debian iso file using virt-manager, it fails with Could not open '/home/laur/Downloads/debian.iso': Permission denied error. The file has read access ...
laur's user avatar
  • 814
2 votes
1 answer
275 views

I'm having trouble with libvirt kvm's routed networks where a VM inside a routed virtual network can ping every VM in my home subnet except the default gateway... or any gateway for that matter. I ...
Fulmen3161's user avatar
0 votes
0 answers
394 views

I managed to get my NVidia GPU (RTX 3070) working with 3D acceleration in virt-manager. I had to make a user QEMU/KVM session as there's some bug not causing it to not work in the system/root session. ...
Bitmapp3r's user avatar
0 votes
0 answers
34 views

I'm having trouble understanding why my host and guest machines don't have internet connections. I'm using NAT in virt-manager. When I am not connected to Wi-Fi user@user ~> ip route 169.254.0.0/16 ...
Cyrus Justine's user avatar
2 votes
1 answer
193 views

My host is Arch Linux and I'm using virt-manager to run VMs. I noticed it had access to my microphone when Cortana started listening to me after a Windows guest install. I've looked through all the ...
Daffy's user avatar
  • 465
0 votes
0 answers
191 views

I've installed qemu and virt manager on Arch but keep getting errors when installing virtual machines: There is no virtbr0 when running ip addr show when I first start my system, running virsh net-...
Boots's user avatar
  • 1
0 votes
1 answer
492 views

On Ubuntu LTS 24.04 Server, with a libvirt-managed QEMU virtual machine, I'm trying to use a externally-launched virtiofsd as documented in the libvirt docs, because I need to enable features, such as ...
John de Largentaye's user avatar
1 vote
0 answers
72 views

I'm on Linux Mint 21. When I run virtual machine via virt-manager/QEMU, the screensaver does not start even when I don't do any keyboard/mouse activity (when its screen is active application on top of ...
Martian2020's user avatar
  • 1,491
0 votes
2 answers
36 views

I run Solaris 10 in Qemu vm on Linux host. All works fine (sata, usb, etc..) I ran on IDE because on some old version of libvirt/qemu Solaris 10 gave a lot of error (ioapic timeout and similar) if ...
elbarna's user avatar
  • 14.5k
1 vote
0 answers
313 views

I'm trying to bring up a NAT virtual network, but it errors saying "Unable to complete install: 'unsupported configuration: System lacks NETNS support'"
wharbait's user avatar
1 vote
0 answers
182 views

When invoking virt-install with --network user the result is a VM (or domain in libvirt parlance) that is created in the default hypervisor, i.e. in qemu:///session with SLIRP networking configured. ...
maxschlepzig's user avatar
  • 59.7k
0 votes
0 answers
336 views

I recently followed the steps outlined in this answer to enable SSH port forwarding in GNOME Boxes. However, after applying the modifications, I encountered an issue when trying to SSH into the guest. ...
Ramdhan Hidayat's user avatar
1 vote
2 answers
1k views

I am experiencing a consistent issue with Linux VMs accessed via virt-manager. These VMs, running various versions of Fedora Linux with the Mate desktop environment, crash when the QXL video driver is ...
basic6's user avatar
  • 6,675
0 votes
2 answers
146 views

Like the title says, for whatever reason my VM no longer connects to the host/internet. An e1000e connection does work. So the problem seems to be with virtio? On host: ip a ... 4: virbr0: <...
Folaht's user avatar
  • 1,166
0 votes
1 answer
143 views

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
1 vote
0 answers
229 views

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
256 views

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
663 views

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
163 views

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
1 answer
121 views

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
  • 77
1 vote
0 answers
341 views

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,593
0 votes
0 answers
81 views

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
2 answers
658 views

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
55 views

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
  • 77
0 votes
1 answer
1k views

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
117 views

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
928 views

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
  • 14.5k
1 vote
0 answers
773 views

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
109 views

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
  • 468
3 votes
1 answer
1k views

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,501
0 votes
1 answer
101 views

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/...
user avatar
1 vote
0 answers
2k views

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
  • 1,113
1 vote
1 answer
465 views

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,215
1 vote
0 answers
203 views

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
6 votes
1 answer
399 views

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
  • 167
0 votes
0 answers
483 views

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
  • 856
0 votes
1 answer
171 views

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
820 views

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
  • 947
0 votes
1 answer
117 views

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
  • 599

1
2 3 4 5
9