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

Libvirt VM Networking fails to start up after upgrading host from Ubuntu 18.04 to 20.04

I upgraded a server from 18.04 to 20.04. I am using libvirt/kvm to host a number of VMs. Some of the VMs failed to reconnect to the network after the upgrade. Two VMs in question run Ubuntu 18.04 and Centos 7 and both fail to start up networking…
Ries
  • 153
  • 1
  • 2
  • 6
0
votes
2 answers

How to control start and stop of libvirtd and virtlockd in pacemaker cluster?

Using indirect locks of virtlockd (which is used by libvirtd) requires to use a cluster-wide shared filesystem like OCFS2. In turn this means that virtlockd must be started after the shared filesystem is mounted (otherwise the locks created would be…
U. Windl
  • 366
  • 3
  • 17
0
votes
0 answers

Old KVM Guest not starting after reboot

I have a bunch of Virtual Machines in a Ubuntu 18 Guest machine. Until recently they have all been working without any problem. However after I restartet one of the Guests(also Ubuntu) it is now not starting back up. The libvirt log does have…
0
votes
1 answer

QEMU / KVM - Dedicated 802.1q VLAN for each VM - Communication only via router

I have a Linux firewall router (dedicated machine) with multiple ethN interfaces (my "big firewall"). All forwarded traffic is filtered by a set of iptables rules (default policy DROP). There's another dedicated machine ("vmhost") that will host…
MrSnrub
  • 153
  • 1
  • 3
  • 9
0
votes
1 answer

Ubuntu KVM - Bridge - Isolate Host from NIC

I have a Ubuntu Server with 4 physical NICs. 2 of them, i want to "hide" from the Host, so the host itself may not access traffic on those 2 nics, just the VM where i pass them into (passthrough). Does someone know a good tutorial or has a quick…
user654789384
  • 115
  • 1
  • 4
0
votes
1 answer

libvirt: virtual drives gone after snapshot - VM still running

Edit: see solution to my problem below in Update2. After playing around with some backup script i have the following situation virsh domblklist polar-bear …
aslmx
  • 1
  • 1
0
votes
1 answer

No IP address for Ubuntu VM constructed on VirtualBox and imported to libvirt/qemu/kvm

I'm trying to install an Ubuntu 18.04 VM created on VirtualBox (not sure which host platform) and exported as a VMDK to libvirt/qemu/KVM under RHEL 7.8. It seems to import and start up OK, but I cannot access it because it has no IP address and…
0
votes
0 answers

Virtual Machine Manager - Make VM believe its running on physical machine

I use Fedora and i have a Windows 10 VM which i want to make believe its running on Hardware, physically, without it knowing its a VM. How can i do this? Background: I try to get WSL2+HyperV running inside my Windows 10 VM, but it every time goes…
user654789384
  • 115
  • 1
  • 4
0
votes
2 answers

Why does my ethernet interface not get added to my openvswitch bridge on startup, with debian 10.5?

I am setting up a kvm/qemu/libvirt host (debian buster 10.5) with two ethernet interfaces: eno1 for the host traffic and eno2 for the VM traffic. eno2 is connected to a trunk switch port carrying the VLANs 4,7,221 and 800. The setup of eno1 is done…
0
votes
1 answer

Can't start domain cloned with virt-clone

Final Update at bottom I have a working KVM domain which I've configured and want to use as a 'template' for other guests. So, my process is roughly this: Shut down the 'source' domain (07xQBuild) Run virt-clone --original 07xQBuild --name 07x2…
dsl101
  • 433
  • 1
  • 8
  • 14
0
votes
1 answer

Exiting Virt-top shows error message in server logs

I see message in /var/log/messages after quitting virt-top command : libvirtd: 2020-07-11 12:36:22.206+0000: 3462: error :virNetSocketReadWire:1806 : End of file while reading data: Input/output error Is it a thing to worry ?
Jevin Gala
  • 59
  • 9
0
votes
0 answers

Qemu Libvirt : unabled to pass all GPUs to vms

Im trying to pass all gpus to different systems , my setup: asus x399 gaming 6 mainboard amd 1950x 32G ram 1 TB intel ssd m.2 gtx970 gtx750 this resources should be passed into 3 systems: vm1 a windows 10 VM with the gtx 970 vm2 a Ubuntu VM with…
Basur
  • 103
  • 2
0
votes
0 answers

libvirt on fedora, qemu/kvm guest, guest can ssh to host, but failed to samba or ftp to host

I am running libvirt/qemu-kvm on Fedora32, guest OS is win10 with spice-guest-tool in use. I use 'nat' mode virtual networking. root@fedora ~]# virsh net-dumpxml default default
grizzlybears
  • 151
  • 4
0
votes
3 answers

libvirt cannot create default network

I can't start the default network for libvirt. I get the error in journalctl: Jun 06 15:22:43 jenia libvirtd[889326]: Unable to create bridge virbr0: Package not installed I did installed the packages ebtables, bridge-utils and dnsmasq and…
Jenia Ivanov
  • 203
  • 1
  • 3
  • 6
0
votes
1 answer

Libvirt: "The CPU is incompatible with host CPU"

I'm exporting a domain from 'old pc' to 'new pc' # Export domain (from old pc) ssh user@"$REMOTE_IP" "virsh --connect qemu:///system suspend --domain magento-base > /dev/null 2>&1" …
Adrian Lopez
  • 191
  • 8