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.

610 questions
2
votes
0 answers

noVNC console on Openstack Dashboard is rendering garbled UI on RHEL7

I am running nova-compute on RHEL7. Openstack dashboard's noVNC console is rendering garbled UI for any instance having a UI console. Can somebody please help out? This is working just fine on RHEL65
2
votes
1 answer

XFS/EXT4: Why is actual file size on disk larger than apparent size? Clarification

On a CentOS 7.1.1503 (3.10.0-229.el7.x86_64) system running KVM/qemu on an XFS filesystem, I'm attempting to work out what specifically is adding additional space to a VM diskimage file. $ ls -ls --block-size=1k 15728648 -rw-------. 1 qemu qemu…
Chrisxb
  • 21
  • 3
2
votes
1 answer

Installing VM on CentOS 6.6 with virt-install hangs

I'm trying to install a Centos 6.6 VM on a CentOS 6.6 host with the following command. virt-install \ --name vm-queue \ --description "Queue Server" \ --ram 2048 \ --disk path=/var/kvm/images/vm-queue.img,size=30 \ --vcpus 2 \ --os-type linux…
castis
  • 175
  • 2
  • 11
2
votes
2 answers

How to measure boot time of a VM from host machine?

On both Guest machine and host machine, I am using Ubuntu 12.04. As a hypervisor I am using KVM. I want to perform some experiments related to boot-storm and I have created all other scripts to create VM, delete VM and start VM. But I don't know…
A-B
  • 563
  • 2
  • 6
  • 17
2
votes
2 answers

Running Vagrant/libvirt: trying to establish public/private networks

I'm running Vagrant 1.7 (from their official 1.7 packages) on Ubuntu 14.04 LTS and I'm trying to provision several private VMs and one public one. My Ansible provisioning scripts change all the vagrant/root passwords and replace the Vagrant stock…
djsumdog
  • 1,060
  • 2
  • 16
  • 29
2
votes
0 answers

Force libvirt to pass always the same device number to the guest on USB device reconnection

I have a HP plotter connected with a USB cable to a debian server through a USB hub. On the server there is a virtualized Windows XP. Everytime I reboot the plotter a different device number is assigned by udev to the plotter which has the effect to…
stenio
  • 63
  • 1
  • 1
  • 6
2
votes
2 answers

mount a root disk in mnt

How can I mount a root virtual disk from another VM on my CentOS ? In order to change some files on it, not to use it as a real root disk. there are 2 partitions on my virtual disk : /boot (Linux partition) and / (LVM) I've already added it to my VM…
tonio94
  • 145
  • 3
  • 8
2
votes
1 answer

libvirt - Restart VMs after return from power failure?

Is there any way to make KVM automatically restart any VMs that have been shut down due to power failure? Here is my scenario: I run a small VM tank, mostly with development VMs on it. I now have a VM that is set to autostart on system boot, which…
Gargravarr
  • 473
  • 5
  • 13
2
votes
0 answers

libvirt / kvm guests take very long time to start after host reboot

Host system is CentOS 6.5 x86_64. I have setup an Ubuntu guest by following this wiki. The guest works, but: if I reboot the host, it takes a very long time (about 30 minutes on the last reboot) before the guests actually start. If, during this…
Matt
  • 1,037
  • 2
  • 14
  • 20
2
votes
1 answer

Linux virtual bridge not transparent

I'm attempting to set up the Openstack tutorial demo using libvirt VMs on my desktop but I'm having some problems with the virtual bridge on the host desktop. While debugging this, I noticed that the bridge (IP 10.0.0.1) is no longer transparent for…
Robin
  • 295
  • 1
  • 3
  • 9
2
votes
1 answer

Change sender-IP for VM in libvirt behind NAT

I have a server with my own public /28 IPv4 Network. On this server I have some vServers, done with KVM/libvirt. These vServers are connected with a virtual network, NATed to the internet. Every vServer has a private (192.168.x.y/24) address and not…
LittleFox
  • 56
  • 4
2
votes
2 answers

Virsh domain has space in it, can not remove

I'm having trouble starting, or destroying a domain: virsh # list --all Id Name State ---------------------------------------------------- 1 pxe running - Centos_6.5_64 …
DevOops
  • 305
  • 4
  • 13
2
votes
1 answer

Any way to increase the libvirt guest network response time?

We are running a number of Debian Wheezy VMs on top of Ubuntu Servers 12.04.4 / Libvirt 0.9.8-2ubuntu17.17 The host is connected to the network through a trunk. It then split the VLANs and create a bridge for each of them with the following…
Jef Bucas
  • 21
  • 2
2
votes
1 answer

Persistent Network Configuration using KVM and libvirt

Our environment will have a KVM host setup dynamically using kickstart (easy enough). The hard part is dealing with network configuration and keeping VLAN configuration (and possibly bridge/host config) persistent across reboot. We have a dynamic…
2
votes
1 answer

Ubuntu/KVM Bridge Interface IP Assignment

I have a Ubuntu 12.04 LTS machine running KVM/libvirt. It has two physical ethernet interfaces. I have dedicated eth0 as the primary interface and configured bridging on eth1 for my VMs. The KVM host /etc/network/interfaces looks like this: # The…
sardean
  • 833
  • 3
  • 14
  • 34