Questions tagged [libvirt]

libvirt is an open source API, daemon and management tool for managing platform virtualization.[1] It can be used to manage Linux KVM, Xen, VMware ESX,qemu and other virtualization technologies. These APIs are widely used in Orchestration Layer for Hypervisors in the development of a cloud based solution.

The virtualization API

libvirt is:

  • A toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes), see our project goals for details.
  • Free software available under the GNU Lesser General Public License.
  • A long term stable C API
  • A set of bindings for common languages
  • A CIM provider for the DMTF virtualization schema
  • A QMF agent for the AMQP/QPid messaging system

libvirt supports:

  • The KVM/QEMU Linux hypervisor
  • The Xen hypervisor on Linux and Solaris hosts.
  • The LXC Linux container system
  • The OpenVZ Linux container system
  • The User Mode Linux paravirtualized kernel
  • The VirtualBox hypervisor
  • The VMware ESX and GSX hypervisors
  • The VMware Workstation and Player hypervisors
  • The Microsoft Hyper-V hypervisor
  • Virtual networks using bridging, NAT, VEPA and VN-LINK.
  • Storage on IDE/SCSI/USB disks, FibreChannel, LVM, iSCSI, NFS and filesystems

libvirt provides:

  • Remote management using TLS encryption and x509 certificates
  • Remote management authenticating with Kerberos and SASL
  • Local access control using PolicyKit
  • Zero-conf discovery using Avahi multicast-DNS
  • Management of virtual machines, virtual networks and storage
  • Portable client API for Linux, Solaris and Windows

More infos:

556 questions
0
votes
1 answer

Location of 64 bit Libvirt DLLs (windows) for Java client (on 64bit JVM)

I have written a Java client (on 64 bit JVM) that uses libvirt APIs on a remote KVM for KVM management. Since the JVM is 64 bit, the client needs 64 bit libvirt dlls and I could not find them (I found 32 bit libvirt dlls on…
GJ13
  • 488
  • 3
  • 11
0
votes
1 answer

openstack nova api

I wand to add Hot Memory Add/Remove feature in OpenStack for my project. How can i do it in openstack.also can anybody suggest me how can I call libvirt setmem from openstack.
0
votes
1 answer

How to build a project using libvirt java binding

it might be a stupid question but how do I set up an environment to develop a test application using libvirt? do I have to set up ant or maven project or can I just copy java files to my src folder in eclipse ? Thanks
user2023107
  • 65
  • 1
  • 9
0
votes
1 answer

Passing kickstart parameters when creating VM's on Proxmox 2.x

I'm trying to find a way to pass kernel parameters when creating VM's from the command line on Proxmox 2.1. I'd like to be able to batch create VM's using the QM command, and pass kickstart parameters, similar to libvirt -x option. Anyone done this…
kwolf72
  • 1
  • 1
-1
votes
0 answers

multi-network testlab with open vswitch on my laptop

So i'd like to build a testlab on my laptop. pretty simple. 1 backend subnet for my "backend VMs". 1 frontend subnet for my "frontend" frontend and backend subnets would be separated by a FW/LB device. my laptop should have direct access to both…
g0pher
  • 59
  • 8
-1
votes
1 answer

How to backup kvm volumes using incremental disk backup using "push" and "pull" mode in libvirt

I am working on a task to be able to backup VM image volumes in another server and location, the problem is, I don't want to copy the whole image file each time I want to start a backup job, I want to backup the whole image only once and then backup…
-1
votes
1 answer

Boot QEMU KVM with libvirt/sVirt but without using virt-install tool in command line

Can anyone help me on how to boot QEMU KVM with libvirt/sVirt but without using virt-install tool in command line. or using virsh tool
-1
votes
2 answers

VirtManager libvirt.libvirtError: internal error: process exited while connecting to monitor

I am using Archlinux with virt-manager and kvm. When I conifgured like this and I got these errors below. Can somebody help me solve it? Thank you a lot! Configration of Display Spice Configration of Video Virtio Error starting domain: internal…
fansure grin
  • 1
  • 1
  • 2
-1
votes
1 answer

Can't set up libvirt-go properly

I use Debian 10. My libvirt version is 5.0.0. libvirt-dev is already the newest version (5.0.0-4+deb10u1). When I add "github.com/libvirt/libvirt-go" to my project it says, for instance Connect not declared by package libvirt. What could it be?…
Volodymyr
  • 89
  • 9
-1
votes
1 answer

Virtual interface (veth) not working in libvirtd/virt-manager for bridge

TLDR? "in most configurations, macvtap does not work for host to guest network communication" I have virt-manager setup on an intel nuc with a single ethernet. I also have it setup on a supermicro server with x4 ethernet that are bridged (nm-bridge)…
thistleknot
  • 1,098
  • 16
  • 38
-1
votes
1 answer

Why Failed to start up libvirtd service in ubuntu 16.04?

$ sudo systemctl status libvirtd ● libvirt-bin.service - Virtualization daemon Loaded: loaded (/lib/systemd/system/libvirt-bin.service; enabled; vendor preset: enabled) Active: inactive (dead) since Tue 2020-12-29 15:15:55 IST; 2min 49s ago …
Milan Shah
  • 111
  • 1
  • 10
-1
votes
1 answer

The box you're attempting to add doesn't support the provider libvirt and vagrant on Fedora 32

➜ sudo dnf install -y gcc libvirt libvirt-devel libxml2-devel make ruby-devel ➜ vagrant plugin install vagrant-libvirt ➜ export CONFIGURE_ARGS="with-libvirt-include=/usr/include/libvirt with-libvirt-lib=/usr/lib64" ➜ vagrant version …
DmitrySemenov
  • 9,204
  • 15
  • 76
  • 121
-1
votes
1 answer

Windows libvirt/QEMU guest VM resets timezone to host timezone after reboot

I have created a Windows 2012 virtual machine using libvirt/QEMU. The hypervisor(bare metal) on which the VM is running is based on UTC time zone but the time zone in Windows VM should be Arizona time zone. I was able to fix the drift in the time…
rakesh
  • 135
  • 3
  • 15
-1
votes
1 answer

The CPU cache performance of the macOS virtual machine is about 50% less than the host machine

I built a macOS virtual machine and an ubuntu virtual machine on the same host. The configuration of the two virtual machines is almost the same. But when I using sysbench to test the performance of my two VMs, I found that the memory Read/Write…
Mark Smith
  • 61
  • 4
-1
votes
1 answer

Does windows 2016 server support hot add cpu?

Today, I created a KVM vm with windows 2016 server operation system by libvirt, and its memory can be hotplug with "virsh attachdevice" command, but vcpu cannot be hot-add with "virsh setvcpus". However, it is worked in windows 2008R2 and windows…