Questions tagged [libvirt]
libvirt is an API and toolkit for developing applications which manage virtual machine hypervisors, the virtual machines running under them, and virtual machine storage.
652
questions
0
votes
1
answer
56
views
libvirt port forwarding to guest: What changed with 10.4.0?
Network/Firewalls isn't my strong side, so there is the possibility that I'm making a very basic mistake.
I need to access services running inside my qemu guest system from other devices in my network....
0
votes
0
answers
50
views
Outgoing ssh connection to the not-standard SSH port not working from guest OS
I'm newer int the libvirt.
I have Rocky Linux 9 guest os and host os ubuntu 24.
I trying to connect by ssh from the guest to the host in global network. I use the command "ssh -p 2222 admin@...
0
votes
0
answers
15
views
Specify PV when creating volume in libvirt logical pool
I created a libvirt logical pool that uses an existing vg (that has a bunch of PVs with various sizes/speeds):
virsh pool-define-as --name existingvg --type logical
When I create a volume in this ...
0
votes
0
answers
8
views
Does Libvirtd record the start and end timestamps of a session when establishing a connection through the 'virsh' tool?
For instance, when initiating a connection to Libvirtd using the command 'virsh -c qemu+tcp://user@host/system', I attempted to locate the session logs within 'journalctl' and 'audit.log' but was ...
0
votes
0
answers
55
views
Forward a single port to KVM Virtual Machine with Libvirt
I have a KVM that is currently running PBX software, and a OpenVPN server. I want to give a friend an IP Phone. I am connecting IP Phones to the OpenVPN Server so that they can communicate with the ...
0
votes
1
answer
91
views
KVM Routed Bridge for Additional Subnet on Hetzner Using Netplan
I have a dedicated Ubuntu 22.04 server at Hetzner running KVM. I have assigned IP addresses from an additional subnet to guest VMs. I can reach the guest VMs via their public IP addresses as intended.
...
0
votes
1
answer
168
views
kvm libvirt: Port Forwarding via nft not working
I use KVM to virtualize a Guest-Linux-Mint on my Host-Debian12. The Guest is obviously configured well with NAT: I can ssh into the Guest from the Host, I can reach the Internet from the Guest.
But I ...
0
votes
0
answers
41
views
Kickstart file: Where should liveimg --url point to?
I am trying to build a oracle linux 8 virtual machine image without manual intervention. Currently I have a kickstart file with liveimg --url=file:///images/install.img set. I've have the boot.iso on /...
0
votes
0
answers
28
views
Enable ethtool statistics in a QEMU CentOS Guest OS
I have a network interface available in a QEMU Guest OS running CentOS 7, and on the Host OS side it reports as:
$ virsh domiflist --domain mydomain
Interface Type Source Model MAC
-...
0
votes
1
answer
48
views
Which piece of software touches network configuration files of a VM in a vagrant-libvirt setup with kvm/qemu?
Which element in a vagrant-libvirt-qemu/kvm-chain is responsible to actually configure the VM? Like editing the network configuration files. Wouldn't that totally depend on the details of the OS of ...
3
votes
2
answers
2k
views
Debian create persistent network bridge
I need to create a persistent network bridge for Virtual machines (libvirt)
So this bridge does not need any physical ports, connections will be routed for this bridge.
If I set this up manually, it ...
0
votes
0
answers
309
views
Prevent libvirtd to use dnsmasq
I'm not using libvirtd/virsh networking at all in my KVM/QEMU setup and libvirtd give the following error when starting
Jan 21 06:05:45 srvtest1 libvirtd[1494]: Unable to find 'dnsmasq' binary in $...
1
vote
1
answer
131
views
Set Maximum cpu qemu/libvirt almalinux
I want ask to increase supported CPU core on qemu kvm. When I creating new VM I see error like below
error: internal error: QEMU unexpectedly closed the monitor (vm='ID'):
qemu-system-x86_64: -accel ...
0
votes
0
answers
251
views
Libvirt shared storage pool
I have what I hope is a quick question. I'm running:
CENTOS 9
KVM/QEMU
Pacemaker, DLM, lvmlockd, fence_scsi
I have a simple two node KVM cluster where I've set up a LVM logical volume on a attached ...
0
votes
0
answers
134
views
Can qcow2 overlay get committed back into raw backing file?
I am trying to design a system utilizing the btrfs filesystem and libvirt.
btrfs has copy-on-write (COW) already, it's very easy to do snapshots and it's very efficient to transfer the snapshot to a ...