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
1 answer

Retrieving libvirt-commands to hypervisors

Libvirt is cool, but I need to port a VM from it's configuration to bare QEMU or Xen. To reproduce the setup, I need the commands send to the specific Hypervisors in order reproduce the VM in the targetsystem. So I basically need the interpretation…
Cutton Eye
  • 343
  • 4
  • 14
0
votes
0 answers

How to set default permissions for libvirt VM files

When I create a new virtual machine using virt-manager, a qcow2 file is created with read permission for all: rw-r--r-- 1 libvirt-qemu libvirt-qemu 53695545344 Jan 12 16:24 vm.qcow2 I find it surprising that any user can read the content of the…
Jérôme
  • 615
  • 2
  • 8
  • 19
0
votes
1 answer

GTK apps no longer render text

I am using virt-manager on Debian Jessie. A few weeks ago, it was working fine for me; however now when I run it, the text does not render correctly. I have tried reinstalling all of the dejavu fonts, liberation fonts, run fc-cache, rebooted the…
0
votes
2 answers

How to add firewall rules at chain start, in CentOS with libvirt and iptables?

With this /etc/sysconfig/iptables: *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT -A INPUT -p icmp -j ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -p tcp -m state --state…
0
votes
1 answer

ubuntu iptables libvirt port forwarding

I have been beating my head against the wall for the past few days trying to figure out how to allow incoming connections to a vm machine on ports 443 and 8443. Here is some information on the system. ifconfig before VM is started ens3 Link…
fpena06
  • 101
  • 3
0
votes
1 answer

Troubleshoot libvirt-managed qemu x86-64 UEFI guest

I have a libvirt/qemu/x64 UEFI guest running Windows 10. The problem is that it starts successfully every other time. When I issue a guest start commmand (any libvirt method) 1st time, the guest starts executing UEFI and is then shut down before…
0
votes
1 answer

Multiple networks with firewalld and libvirt/KVM

In the past i had a hypervisor set up with libvirt/KVM and IPtables in order to have VMs reachable through NAT on IPv4 (forwarding and masquerading don in iptables) and directly on IPv6 (routed network configured in libvirt), according to this…
0
votes
2 answers

Bridged Network with libvirt on centos

I'm trying to configure Bridged Network by creating a network script at…
0
votes
1 answer

How to pass an ignition.json to a Xen CoreOS DOMU when using libvirt or `xl`

I have a baremetal server with Xen, and Debian 9 as DOM0. This server has libvirt, and I can happily create PV domains by using xl, virsh or remotely using virt-manager. I want to streamline coreos VM creation, by passing them at creation time an…
Pablo
  • 440
  • 2
  • 9
0
votes
1 answer

How to enable internet access with address resolution to a libvirt VM inside a custom NAT-based network

I am trying to setup a private network for VMs as prosed on libvirt networking handbook but the VMs are not able to connect to the internet and resolve domain names. As following the handbook linked above, I have set up in the Host a so called…
Rodriguez
  • 321
  • 1
  • 5
0
votes
1 answer

Is it possible to migrate a LXC Container from Ubuntu to libvirt-lxc (SLES)

i'm currently investigating a Scenario, where a LXC Container, which was created on Ubuntu, is supposed to be migrated to a Container on SLES. Is there a way to do that? Are there any Tools one could recommend?
user3383458
  • 113
  • 5
0
votes
1 answer

windows guest OS over kvm hypervisor does not preserve disk status after attaching network interface

I have openstack based cloud environment. I have kvm/qemu based hypervisors. I created Windows guest OS vm on one of the hypervisors. And I attached volume(vhd) to vm. I changed disk status to online in guest OS. Then I attached (hotplugged) network…
Rohanil
  • 175
  • 2
  • 9
0
votes
1 answer

openstack: where does nova keep guest devices information in database?

This is openstack specific question. I am using openstack of Juno version. I have kvm/qemu hypervisors with libvirt. I want to know where nova stores information related to my virtual instance's interface and disks. Does anybody know about it?
Rohanil
  • 175
  • 2
  • 9
0
votes
1 answer

Decreasing CPU allocation to running Guest Windows server

I have Ubuntu 16.04 as host and windows server 2012 as the guest installed using Virtio drivers in KVM. I am able to increase the CPU while guest is running, however I am not able to decrease the CPU's. The maximum CPU assigned to guest are 20. I…
raks
  • 103
  • 2
0
votes
2 answers

Libvirt host to virtual network

Environment: CentOS 7 + libvirt (with virt-manager) 6 NIC Multiple internal private networks Task: Create a virtual firewall and assign all NIC to it Problem: How can I connect the host system to one of the private networks so if I SSH into the…
Bert
  • 1,028
  • 1
  • 16
  • 33