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.

libvirt is an API and toolkit for developing applications which manage virtual machine hypervisors, the virtual machines running under them, and virtual machine storage.

libvirt runs on Linux, Solaris and Windows.

libvirt supports the following hypervisors: KVM/QEMU, Hyper-V, VMware, Xen, VirtualBox, OpenVZ, LXC, User Mode Linux, and others.

libvirt suports the following storage: local file images, raw disk storage, LVM, FibreChannel, iSCSI, NFS.

650 questions
0
votes
0 answers

VLAN QEMU Hypervisor bridge without host ip

I'm using debian 10 with kvm/qemu as hypervisor. You can ignore the bond... I created X VLAN Tagged and created a bridge on that tagged vlan. auto bond0 iface bond0 inet manual slaves eno1 eno2 bond-mode 4 auto bond0.10 iface…
Wulf
  • 69
  • 7
0
votes
1 answer

netplan + libvirt - Should I set up virbr0 virtual bridge?

As far as I understand, the interfaces virbr0 and virbr0-nic are created and managed by libvirt. ● 4: virbr0 Link File: /lib/systemd/network/99-default.link Network File: n/a Type: ether State: no-carrier…
0
votes
0 answers

Virt Block device resizing

I am attempting to expand the size of a virtual disk on an existing image. I was successful to expand the virtual hard disk and partition thanks to this guide, but noticed my virtual disk was still essentially full. Taking a second look, the "20GB…
0
votes
1 answer

I want to increase the KVM root file system from 60GB to 160 GB

The KVM image file 3.1GB in the file system on the hypervisor. The file systems are only showing up at 60 GB with df -kh total space. I want to increase the KVM volume space to 120 GB. I tried 'virsh blockresize'. It says its unsupported? file…
0
votes
2 answers

virsh reporting unknown feature amd-sev-es

I updated my centos and I can no longer start any VM. It says: error: failed to get emulator capabilities error: internal error: unknown feature amd-sev-es But I'm using a Intel CPU (E5-2678v3) so it can't have AMD features. How can I disable this…
wtywtykk
  • 13
  • 3
0
votes
0 answers

How to write custom SNMP scripts?

I want to send data across SNMP such as VM lv paths, VM disk IO, and VM CPU & memory usage. I've been unable to find proper resources for sending the information I need. Any help is appreciated.
0
votes
0 answers

How can I send vm info over snmp?

I have a script I'm using on Fedora 34 to gather basic info about VMs running on a machine such as CPU cores, memory, drive path & size, and disk IO. How can I send this information over snmp using snmpwalk? I'm aware of of libvirt-snmp but it…
0
votes
1 answer

Libvirt/KVM support for partiitoned memory

Does KVM/Libvirt support partitioned memory? Is it possible to make sure that two VMs do not have memory-mapping that overlaps?
Anton9988
  • 101
  • 2
0
votes
1 answer

Use network bridge as default network in libvirt

I created a network bridge virtbr0 with my NIC enp1s0f1. The bridge gets an ip address from the router via dhcp. i would like to use the bridge as default network in libvirt to also get ip addresses for the respective VM via the router (dhcp…
br0ken.pipe
  • 167
  • 2
  • 9
0
votes
1 answer

Disable libvirt storage pools

It seems every time I create a VM with virt-install a new storage pool is created. But I don't use storage pools at all! I looked in the virt-install manual but could find a way to prevent this from happening. Also been looking for any settings in…
MrCalvin
  • 354
  • 1
  • 6
  • 18
0
votes
1 answer

virt-install error to create instance in qemu-kvm

OS: Debian 10.4 libvirtd version: 5.0.0 Hello! I need to create a instance in qemu-kvm. With this command: virt-install --connect qemu:///system --virt-type kvm --name test01 --ram=2048 --vcpus=2 --disk /opt/test01/test01.img,bus=virtio,size=10…
CH06
  • 13
  • 1
  • 5
0
votes
1 answer

Libvirt raises permission denied when QEMU is accessing the VM on an external hard drive

I wanted to use an external hard drive as a libvirt storage pool for my VMs. I defined a new pool in /media/wenzel/OSWatcher/vms, and imported my vm win10-ts1-1507.qcow2 there. However, when starting the VM with virsh, I have a permission…
Wenzel
  • 1
  • 2
0
votes
1 answer

Getting error “libosinfo: Unexpected file type (0)” when trying to create or open VM in virt-manager

I get the following error when clicking “Open” or “Create a new virtual machine” in virt-manager: Error launching details: libosinfo: Unexpected file type (0) Traceback (most recent call last): File…
aaronk6
  • 416
  • 6
  • 14
0
votes
2 answers

KVM hosts to be accessible from outside world for server purpose In centos 7

Today i just ran into a problem i just wanted to ask a question to all of you I have just install kvm in my system and i have some how managed to get a node installed and working in the system Now what i want is i want to host a server in the node I…
sanjib
  • 63
  • 7
0
votes
1 answer

Tracking down usage of libvirt

I'm familiarizing myself with a server that a previous (no longer available) system admin had set up. He had set up CentOS 7 with a variety of packages. One of those packages seems to be libvirtd, which is a new service to me, but apparently it has…
jhilgeman
  • 113
  • 4