Skip to main content

Questions tagged [libvirt]

toolkit and library for managing virtual machines and containers

0 votes
0 answers
31 views

QEMU-KVM VM freezing the host machine when using Nvidia gpu PCI passthrough

I have intel integrated graphics and nvidia 1650 mobile graphics card. I am loading my xorg server only using the integrated GPU. The NVIDIA GPU loads which nvidia driver on boot. I have libvirt hooks ...
Sai Chaithanya's user avatar
0 votes
0 answers
10 views

Libvirt/QEMU using real drive, showing virtual data in VM

I'm using a real drive as my windows 11 VM drive in libvirt using QEMU. This is working fine, however, when I open task manager, the drive shows as "QEMU HARDDISK", and shows up as an HDD (...
Twiston's user avatar
  • 11
1 vote
0 answers
51 views

Arch AMD GPU Single GPU passthrough detatch script results in black screen

I've succeeded in setting up my windows 11 VM for single gpu passthrough, however, when stopping the vm, my screen remains black. I'm using arch linux. start script: (working) set -x source "/etc/...
Twiston's user avatar
  • 11
0 votes
0 answers
32 views

How to set up IPv6 NAT in libvirt open forwarding mode?

libvirt can do IPv6 NAT by itself in NAT forwarding mode if you give it the ipv6='yes' attribute. But that adds a bunch of firewall rules and I don't want it mucking up my already existing firewall ...
Nik Tedig's user avatar
  • 121
0 votes
0 answers
72 views

How can I make virt-install boot from a keydrive/usbstick image?

virt-install 4.1.0 on nixos 23.11 I am trying to install from a memory stick image with the following options: opt=( --name pfsense --ram=4096 --vcpus=4 --os-...
aktivb's user avatar
  • 196
1 vote
0 answers
55 views

How to automatically assign proper IP addresses in libvirt network

Trying to make a virtual network that contains a single VM. Packets are routed through the host with <forward mode="route" />. I've read a bunch of stuff online and AFAIK it comes down ...
Nik Tedig's user avatar
  • 121
0 votes
0 answers
75 views

Use firewalld to block some docker Application

i have a virtual machine (libvirt) running docker and some application on it. Some applications should not accessed from the host system but they need to be accessed from the docker host. So i tried ...
naseweis's user avatar
0 votes
0 answers
25 views

Bridged network with ips not in the same subnet

My problem: I aim to configure multiple guest machines managed by libvirt to connect to a single bridge. These guests must utilize IP addresses provided by my hosting provider, which may not belong to ...
Юрий Баринов's user avatar
0 votes
0 answers
22 views

SSHFS perms with Qemu/Libvirtd

So, what I'm doing may seem stupid, but.. I have a NAS, of which I'm SSHFSing onto my main user, "User" (1000:1000)'s /home/user/NAS. From there, I'm trying to run Virt-Manager as sudo, and ...
Novum Gain's user avatar
0 votes
1 answer
185 views

How to set up port forwarding to guest VM using iptables

I am trying to do a proof of concept for port forwarding to a libvirt guest server. The following are the variables I use for generalization: port=500 # Arbitrary port, for proof of ...
nc404's user avatar
  • 115
0 votes
0 answers
41 views

How to restrict user to only certain domains with qemu:///session libvirt wtihout polkit?

How can I restrict users to starting user mode vms to specific domains? I don't want to use polkit for this, but I'm not sure it can even be used for delegating access to users running executables ...
ift-436t's user avatar
0 votes
0 answers
64 views

How to configure user mode networking via xml in virt-install

I want to specify options for user mode networking such as port forwarding, smb share, dhcp, etc... with virt-install. I don't see a way to configure this via command line except for the default basic ...
ift-436t's user avatar
1 vote
1 answer
131 views

VM UEFI firmware does not recognize SCSI devices

I am creating a virtual machine using virt-manager. I've set the firmware to UEFI, and changed both the virtual disk and CD drive to use VirtIO SCSI, instead of the default virtio-blk disk and SATA CD ...
mcendu's user avatar
  • 523
0 votes
1 answer
72 views

libvirt: Conflicting DNS updates from dnsmasq (DHCP) when having multiple interfaces

For my guests I provide three networks, vtunnel0, vlocal0 and a bridge to the physical NIC of the server: <interface type='network'> <mac address='30:00:7b:6b:bb:10'/> <source ...
Tintenfisch's user avatar
0 votes
0 answers
90 views

Libvirt guests on isolated network cannot ping each other

I am trying to create a network with following topology. Because I need a custom Gateway and the network is small, I do not want to use DHCP on the isolated network. ┌─────────────────┐ ...
Ben Little's user avatar

15 30 50 per page
1
2 3 4 5
11