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

Is there any complete tutorial for setting up a full QEMU-KVM from hypervisor to host through command line ?

I've found parts about how to use virt-install from scratch or almost like http://virt-tools.org/learning/install-with-command-line/ However I'm stuck at connecting to the VM through virsh once the first part is done. Most tutorial use graphical…
AsTeR
  • 257
  • 4
  • 13
0
votes
1 answer

is NOT recognized

In order to make my vm use the openvswitch interface I have to add the following lines to a vm xml config file: I edit the file, anyway while the first line is corrctly saved, the second…
Phate
  • 155
  • 2
  • 8
0
votes
1 answer

cpu cache size in KVM vm differs from real cpu cache size

Although I'm running KVM/qemu with the option, the guest machine has only 4096 KB of cpu cache, while the host cpu has 8192 KB (i just verified the output of /proc/cpuinfo) Does that affect performance? What's the…
user1320304
  • 125
  • 1
  • 1
  • 5
0
votes
1 answer

assign public IPs to vm guests

I have a set of public IPs for virtual machines. Each unique public IP is to be assigned to a unique guest. With bridged networking I share eth0 with KVM machines. The ifcfg-eth0 file has…
Purres
  • 239
  • 1
  • 4
  • 18
0
votes
1 answer

OpenNebula can't start vm after reboot

I installed a fresh install of Debian-7-opennebula-4.4.0-1.tar.gz on a fresh Debian and got a VM to start via sunstone. The output of libvirt was: 2013-12-26 12:48:12.919+0000: starting up LC_ALL=C…
Kaffee
  • 111
  • 5
0
votes
3 answers

Interface for accessing to guest OS via libvirt

Is there any possible (not necessary native) ways to get access (e.g., terminal usage is the main purpose for me) to guest OS with *nix using libvirt/LXC(not as libvirt module) capabilities? And I don't mean to use methods like lxc-console commands.
zerospiel
  • 467
  • 1
  • 5
  • 10
0
votes
2 answers

KVM XML config file

I have a KVM server that I expanded the LV of then rebooted. However now when booting I get the error: error: Failed to create domain from /home/kvm/kvmx/kvmx.xml error: (domain_definition):1: Document is empty (null) ^ It appears the config file…
awmusic12635
  • 265
  • 2
  • 4
  • 16
0
votes
3 answers

Guests can't access KVM host server by name although nslookup and dig returns correct record

So I have a KVM host that also runs an apache server with some yum repos. The VM guests are connected to the default virtual network, which is configured to offer DHCP and forwarding with NAT on virbr0 (192.168.12.1). The guests can successfully…
0
votes
1 answer

add a cgroup controller into libvirt

libvirt by default has cgroup controllers of ["cpu", "devices", "memory", "blkio", "cpuacct"] as shown in qemu.conf. I want to add one more controller of net_cls. I tried to modify the config file to make the update. cgroup_controllers = ["cpu",…
Purres
  • 239
  • 1
  • 4
  • 18
0
votes
1 answer

Keep guest time after shutdown using KVM/libvirt

I use KVM/libvirt based virtualization. Some of vm guests have set date far in future (2-3 years, different month, day, etc) After each guest shutdown down, the date is being set to host date (kvmclock works that way). Is there any possibility to…
smaj
  • 13
  • 5
0
votes
1 answer

virsh snapshot-create persistent through reboot/ domain destroy-start

If i take a snapshot of a qcow2 image backed domain via virsh snapshot-create domainID and I shutdown the machine (and probably destroy the domain if virsh list still shows it running), will that snapshot still exist and be active when I start the…
user160910
0
votes
1 answer

Enable promiscuous mode on Libvirt vif

Does anyone know how to enable promiscuous mode on a libvirt vif? I have a bridge with 3 vifs connected to it. I need one of these vifs to be able to sniff all the traffic flowing through the bridge. The interface has the following iptable…
user2284355
  • 455
  • 2
  • 10
  • 24
0
votes
1 answer

libvirt vm cant connect to smtp

I have a problem with one of my virtual machines. In my Setup the kvm/libvirt hypervisor acts as the firewall and does all the NAT. There is 1 virtual network (virbr2) for all of the virtual machines. Operating System: Ubuntu Server 12.04LTS There…
jofrylli
  • 1
  • 1
0
votes
1 answer

php-libvirt installation on centos fails

I am trying to install php-libvirt on centos 6.4 64x and there is an error in ./configure step: checking for LIBVIRT... configure: error: Package requirements (libvirt >= 0.6.2) were not met: No package 'libvirt' found Consider adjusting the…
Soroush Khosravi
  • 153
  • 1
  • 1
  • 5
0
votes
1 answer

lvconvert --merge how to undo?

I have created a script for users who work on KVM virtual machines to be able to perform lvm snapshots on the logical volumes where their VMs are installed. Snapshot restores are performed via lvconvert --merge /dev/vg1/lv_snapshot What I want to…
user160910