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

same libvirt config, one machine boots, the other does not

I am migrating a bunch of vms from an old machine to a new one. The old one was using some in-house scripts and lvm logical volumes, the new one uses libvirt and plain files. The configs are rather uniform, but some of the vms run flawlessly on new…
user157726
  • 113
  • 4
0
votes
1 answer

Correct virtio setup on Ubuntu 14.04 64-bit host

At the present moment, my guest is running inside qemu and host is kvm intel, running Ubuntu 14.04, kernel is 4.3.0 stable. From within the guest, when I run "hdparm -i /dev/sdb" on the guest, I get: HDIO_GET_IDENTITY failed: Invalid argument as…
Peter Teoh
  • 111
  • 4
0
votes
2 answers

Forward Port on Guest Operating system With Libvirt

I am currently running a Xen Hypervisor underneath Ubuntu 14.04. On the host machine I am running a guest VM. From what I understand, In order to be able to receive incoming connections on the virtual machine, I have to first write a hook that edits…
musclez
  • 1
  • 5
0
votes
1 answer

Installed KVM, but Virtual Machine Manager says localhost(QEMU)

My understanding is that KVM uses the CPU virtualization properties and is much faster than QEMU, which is emulation. I used the Virtual Machine Manager to create the virtual machine. I am nearly certain that I chose the default, which was KVM. Why…
Ivan
  • 299
  • 1
  • 4
  • 13
0
votes
0 answers

No package transfer from host to guest on KVM

I want to assign external static IPs to my KVM guests. I do not prefer a NAT solution. What should be the configuration of network and routing tables? I manually assing a static IP to guest. I can send ICMP packages from guest to host and gateway.…
0
votes
2 answers

How do I extend the virsh/qemu/libvirt Timeout?

There's a known issue with starting virtual machines with large hard drive images. Apparently, the time-out is 3 seconds, but in reality, it can take up to 15 seconds for a machine to start. I've read several bug reports, and people confirming it's…
Nick
  • 4,503
  • 29
  • 69
  • 97
0
votes
1 answer

Ubuntu Trusty: virt-manager performance over WAN... 40+ secs freezes

I'm using the virt-manager GUI 0.9.5-1ubuntu3 on my laptop running Ubuntu 14.04 against a server located some distance away (same OS) and getting rather unpleasant performance. Laptop-server pings are ~50ms, not great but certainly sufficient for…
0
votes
1 answer

libvirt management is slow under ubuntu

I've just done a fresh install of KVM/Qemu under Ubuntu 14.04.2 on an older (C2D gen) server with dual quad core xeons and 24 gb of ram. I'm finding that I'm waiting for operations in virsh for around 10-20 seconds. I can understand that some…
Justin
  • 167
  • 1
  • 3
  • 12
0
votes
0 answers

Prevent container from shutting down at console exit

As the manual clearly states, an LXC container automatically destroys (shuts down) itself when you exit the console. However, we're using these machines as servers (sshd, sometimes apache, ...) and I want the machines to be running until I shut them…
sudoremo
  • 101
  • 2
0
votes
1 answer

libvirt external snapshots: snapshot chain linked through filenames or inodes

If I have the following chain (it was created using external snapshots through virsh): base.qcow2 --> snap1 --> snap2[current] Now if I copy "base.qcow2" to a remote location, del the original "base.qcow2", copy back the "copied" base image,…
0
votes
1 answer

nova volume-detach fails silently, compute log shows libvirtError: invalid argument: no target device vdb

Using Openstack Havana, I'm trying to detach a cinder volume from a nova instance. Nova volume-list shows it as in-use: | 34b0ea26-f85c-4b62-8ebd-884b0e63e2d5 | in-use | filestore | 256 | None| 4d05ffe4-d30a-4c93-b710-c9ec80dad1c2 | The volume is…
Ryan M
  • 101
  • 1
0
votes
1 answer

What's a good way to check KVM networking status?

I'm running several KVM with libvirt on a debian wheezy host. I want to check networking (maybe more later on) on the guests and if it is not available, restart the guest in question. Is there something built-in in libvirt or would a simple…
lorem monkey
  • 835
  • 1
  • 7
  • 10
0
votes
1 answer

libvirt and host firewall

Hiho! I'm using libvirt with kvm and that works great. My desire is to lock down the host system using a host firewall. Up to today I always used shorewall as my iptables mangement utility of choice. But this conflicts with libvirt's iptables…
rand0m
  • 113
  • 5
0
votes
0 answers

OpenStack Live-Migration VNC server error

Following these steps to do a live migration results in: 2014-12-08 00:42:38.772 17808 ERROR nova.virt.libvirt.driver [-] [instance: db9d53ac-4a75-4009-a67e-f45abf9d4d32] Live Migration failure: internal error: early end of file from monitor:…
0
votes
1 answer

live migration of a virtual machine to a different machine

I am trying to do live-migration using KVM (libvirt). VM is called host1 and dest. IP address is 10.81.1.9. However, running the following command gives me an error that I am not sure what this exactly means. virsh migrate --live host1…