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

OpenVSwitch Libvirt Persistence

I'm trying to integrate openvswitch into my libvirt/qemu setup on Centos7. Everything is actually working very well aside from the fact that when I restart my network services I lose the vnet ports that were added by libvirt/qemu in my ovs switch…
user165222
  • 125
  • 3
  • 9
0
votes
1 answer

How to find out ip address of new virtual machine using libvirt 0.10.0+ (routed network)

My goal is to find out ip address of new virtual machine by using libvirt api only (>=0.10). Currently I am using libvirt's net-update command: before start a new machine I set static dhcp entry for it and vm booting with known address. It works…
kubus
  • 183
  • 1
  • 6
0
votes
1 answer

Proxmox: Access web server's guest

I explain you my configuration : a server with Debian 8 and Proxmox installed. It has a local address (eth0 : 10.0.0.100) and access Internet via a proxy ; a guest with Centos 7, with an address in 192.168.0.100. I gave it all the proxy…
0
votes
1 answer

Is "MaxMemory" safe to over commit with kvm/libvirt?

Using Libvirt / KVM on Ubuntu 16.04 Compiled against library: libvirt 1.3.1 Using library: libvirt 1.3.1 Using API: QEMU 1.3.1 Running hypervisor: QEMU 2.5.0 # dpkg -s qemu-kvm | grep Version Version: 1:2.5+dfsg-5ubuntu10. Is it safe to set the…
GoldenNewby
  • 45
  • 1
  • 2
  • 13
0
votes
0 answers

systemv libvirtd fails to start on Debian Jessie

After a reboot, libvirtd refuses to start using systemv without producing any useful errors: systemctl status libvirtd.service ● libvirtd.service - Virtualization daemon Loaded: loaded (/lib/systemd/system/libvirtd.service; enabled) Active:…
Alex
  • 101
  • 1
  • 5
0
votes
2 answers

Foreman: How to test if the deployment is on Bare Matal or in Libvirt?

I write a custom Kickstart as a Foreman provisioning template. One of my problems is that I haven't found a way to determine if the new host will be installed on a bare metal or on a Hypervisor. The @host.model works on ESXi hypervisors, but…
Peter
  • 822
  • 2
  • 10
  • 23
0
votes
0 answers

qemu-kvm ovmf block device passthru

I'm trying to create a new VM (using virt-manager) that boots from an existing block device. I want to pass through the entire device to the VM. Apparently this is easy if you're using BIOS, but I'm using OVMF (virtual UEFI) on the guest, and…
0
votes
1 answer

Give a VM access to a whole disk with the least overhead with qemu-kvm

I'm moving a Windows 10 install from dedicated hardware to a KVM VM. The disk (SSD) is being physically moved from the current machine to the VM host machine. Is there a way to just pass the entire existing disk to the VM, as-is? The simple option…
0
votes
1 answer

Block certain ports on certain VMs running on KVM

I have 2 VMs Running on KVM hosts. I run a web server on one and use the other for experimental stuff - basically just use ssh on it. I want to block all incoming connections on all ports except on port 80 on the web server VM and want to block all…
Ghazanfar
  • 101
  • 3
0
votes
0 answers

oVirt v4 network connectivity within VM's

I'm running 2 instances of oVirt. the first is oVirt 3.5 and everything is great. I recently set up Version 4.0.1.1-1.el7.centos and I'm having issues within VM's. I spun up a VM from the Glance template for Centos 65 (CentOS 6.5 64-Bit (7df3c30))…
Marc Young
  • 141
  • 5
0
votes
0 answers

KVM - libvirt qemu script make duplicates in iptables

OS: CentOS 7 Firewall: iptables libvirt: 1.2.17 Problem: I used guide to make port forwarding from host to gues machines. Link to guide: http://wiki.libvirt.org/page/Networking#Forwarding_Incoming_Connections When I activated that script, it works…
0
votes
1 answer

Nova Computer Service WIll Not Start: libvirtError: XML error: Missing CPU model name

I am having a problem with the Nova compute service not starting. I found tons of other people with this question, but nobody seems to have figured out the problem: systemctl status openstack-nova-compute.service ● openstack-nova-compute.service -…
fatherlinux
  • 146
  • 1
  • 6
0
votes
1 answer

QEMU, Virsh and SMBIOS tables edit

I am currently running qemu-kvm on an Ubuntu server box and I use libvirt with Virsh to create, manage, start and stop VMs. I edited VM's XML configuration through virsh edit command to change CPU model and set up SMBIOS data by specifying bios and…
int 2Eh
  • 193
  • 1
  • 2
  • 6
0
votes
0 answers

KVM/libvirt: Using virtio disk driver in Debian installer

I try to install Debian in a KVM-based VM using the virtio disk driver/bus and virt-install to run the installer. However, it seems that the installer lacks the virtio driver. Once I switch to bus=ide, the installation succeeds and afterwards, I can…
StephenKing
  • 952
  • 1
  • 8
  • 18
0
votes
1 answer

Creating a new domain in libvirt from a base domain

TL;DR at bottom I am building a web interface for libvirt as a project. I am using libvirt-php as the language binding to libvirt and everything is working, except for domain creation, sort of. The issue I am having is with domain creation, wherein…
brti
  • 31
  • 1
  • 3