libvirt is an API and toolkit for developing applications which manage virtual machine hypervisors, the virtual machines running under them, and virtual machine storage.
0
votes
0answers
5 views
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 networt (virbr2) in which all VMs are.
...
0
votes
1answer
24 views
Fastest way to clone KVM VMs to be run simultaneously (create a branch VM)
IF I need to have concurrently running versions of a Windows VM (using KVM 0.10.2 on CentOS), each one configured differently ( a snapshot that will then branch off unto its own VM) what is the best, ...
1
vote
2answers
29 views
Ovirt doesn't create live snapshot
I installed oVirt. If I suspent VM and create snapshot it's ok, but if I try to do live snapshot on the stage "Finalizing" ovirt have fail.
Ovirt, VDSM and NFS storages are on the same local server.
...
1
vote
0answers
7 views
Cannot start XML defined Linux Container, faulty cgroup mount
Using ubuntu 13.04 latest; i've installed lxc and various other tools
Here's my XML definition:
<domain type='lxc'>
<name>vm1</name>
<memory>500000</memory>
...
0
votes
1answer
104 views
CentOS/KVM-libvirt: Public IP on VMs
I'm trying to set up a working vm with public ip adress, but I can't get it working.
Here's my config :
Network:
range: 101.110.22.41 - 45
netmask: 255.255.255.248
gateway: ...
1
vote
2answers
37 views
How to create multiple clones of a VM in KVM/libvirt?
I (will) have a VM in libvirt (using QEMU/KVM) that I will set up and consider the "gold master". I would then like to be able to clone it 'n' times to create multiple systems. What is the best way to ...
1
vote
0answers
17 views
Changing the mac address in a libvirt xml config file breaks network connectivity for the guest
I'm using Xen with libvirt and trying to set it up on a bridged interface. I am able to install an OS and everything works as I would expect. If I save the xml output from "virsh dumpxml guest", edit ...
1
vote
0answers
27 views
Network traffic is not being forwarded from a VM to the network using a bridged interface with Xen + libvirt
I'm having trouble getting network access from a VM that I'm running using Xen and libvirt. I've been trying different things and reading similar posts online for a couple of days but I'm really stuck ...
0
votes
1answer
29 views
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:
...
2
votes
0answers
45 views
Allowed cgroup devices for libvirt/lxc container
I want to allow my libvirt/lxc containers to use tun/tap device. In order to do so I for a running container I can add it to the allowed devices by:
# echo "c 10:200 rwm" > ...
0
votes
0answers
68 views
Routed libvirt/KVM network: response packets never reach guest
I'm desperately trying to get a routed networking up and running, but having extreme trouble with the setup.
My Dedicated Server has 2 public IP addresses in the same subnet. I want to use 1 IP for ...
0
votes
1answer
60 views
Snapshot a KVM guest with non-file storage
I am preparing at least one Windows 7 guest on a KVM Linux (ubuntu) host. I have made an LVM-based storage pool which I would like to use. My main concern is snapshots. The disk-image will be ...
0
votes
0answers
17 views
virsh attach-device for serial device
I would like to add a serial device (console) to a guest via the virsh attach-device command.
I have a console.xml file containing:
<serial type="pty">
<target port="0"/>
...
0
votes
1answer
43 views
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 ...
0
votes
1answer
50 views
Debian Squeeze KVM - No Matter How I Setup Bridge, No Connectivity on Guest
I'm attempting to setup libvirt KVM guests on my server, and I've been messing around for two days now trying to get the guest networking working. So far, I haven't gotten anywhere.
My network is ...
0
votes
1answer
29 views
KVM how to determine which virtual disk files are in use by VMs
I tried lsof|grep *.qcow2 and got no results back (why is that? I definitely have VMs running using that disk format).
I also considered grepping qcow2 on *.xml within the config directory, but this ...
0
votes
1answer
66 views
Set startup order for KVM virtual machines via libvirt?
I have some server applications failing because their virtual machine starts up before the database virtual machines. Anyway to configure libvirt to start them up in a certain order and possible ...
0
votes
1answer
99 views
KVM/libvirt host has vnet for each guest?
Totally new to KVM here, so maybe there is nothing wrong with my set up, but I am running 10 guest VMs on my Ubuntu 12.04 server via KVM and I just noticed that ifconfig returned a plethora of ...
0
votes
0answers
27 views
Network Isolation with OpenVZ [closed]
I have been researching this for over a week now.
What I am trying to do:
I am creating a cloud using OpenVZ containers. I am trying to isolate
each tenant to their own "zone". Meaning, each ...
1
vote
1answer
81 views
Increasing the maximum amount of open files for libvirt
For an experiment I'm trying to start as many VM's as possible through libvirt, however with a little over 1000 VM's running I get an error saying: "Failed to create pipe: Too many open files". Any ...
1
vote
0answers
166 views
virtualbox to qemu but results in no bootable device qemu
I use vagrant to create my development vm. I exported the vmdk to vdi, and then convert the vdi to img.
cd virtualbox_dir/test_vm
VBoxManage clonehd test_vm.vmdk raw.vdi
0% ..... 100%
qmeu-img ...
0
votes
0answers
47 views
Apply libvirt nwfilter without editing of XML
Is it possible to apply libvirt's network filter to a KVM guest without manually editing the XML (for use in scripts)?
Or is there any easy way of pushing the network filter configuration into ...
3
votes
2answers
278 views
Change VNC listen address in Libvirt without restarting VM
Is there a way to to edit the listen address of a Libvirt-Machine on the fly? At the moment it seems like when I want to edit the listen address, I have to shut down the corresponding VM first, then ...
8
votes
3answers
233 views
Technology for short-lived private VMs
I'm trying to build a system that will run short-lived (CI and test builds) of software components, it's mandatory according to my requirements that each live on a private host. I'm taking that ...
1
vote
0answers
137 views
Debian Squeeze Preseed Installation “The current kernel doesn't support the Logical Volume Manager. You may need to load the lvm-mod module.”
I'm attempting to install Debian Squeeze via an instalinux.com image pre-seeded with more or less default settings. (Only notable addition is the openssh server, which is a clickable option in the ...
1
vote
0answers
32 views
Domus Memory Used Issue With Xen On CentOS
Anyone know why I'm receiving this error? I compiled latest libvirt from source, I also tried with various rpm.
I would like to get memory used by domus and it looks like it's not working with Xen 3 ...
0
votes
1answer
140 views
Different behavior of ubuntu-cloud image between LXC and libvirt-lxc
I've used ubuntu-cloud template as LXC containers, and they all worked fine. Recently I switched to use libvirt-lxc, and followed instructions in Ubuntu document, but the image initialized differently ...
1
vote
1answer
176 views
Guest system managed by libvirt doesn't start after successful installation
Host system — Ubuntu 12.04.
Virtualization — KVM.
Disks — LVM.
Guest system installation was successful.
But after restart:
Booting from Hard Disk...
Boot failed: could not read the boot disk
...
1
vote
2answers
137 views
Wake-on-lan to trigger virtual-machine with kvm and libvirt
I'm doing virtualization with KVM and managing via the Libvirt daemon.
How do I start a virtual machine via wake-on-lan?
1
vote
1answer
92 views
Pacemaker cluster: Xen RA vs libvirt RA
Building a pacemaker cluster to manage Xen domU virtual machines the sysadm can choose between to different resource agents:
the dedicated Xen resource agent (ocf:heartbeat:Xen)
the libvirt based ...
0
votes
0answers
35 views
attaching internal address to libvirt node
I am trying to attach an internal address to my domain. So for that I am defining the following syntax in my xml file:
< interface type='internal'>
< interface name = "test"/>
< ...
-1
votes
2answers
118 views
how to upgrade libvirt?
I'm trying to install openstack on RHEL 6.2. Following installation guide from openstack.org, I'm using the command:
yum install openstack-nova openstack-glance
After resolved many dependencies, I ...
1
vote
1answer
93 views
libvirt : Host - Guest can't get the correct route to make both pingable
I'am runing A Ubuntu server as a Host, and I've a CentOS guest hosting an oracle database.
Everything was working just fine, until someone init 6 the server (What a great idea!). So I've to ...
5
votes
1answer
503 views
KVM/Qemu, Ubuntu: Why do more guests CPUs enhance Disk-I/O rapidly?
We have an Heartbeat/DRBD/Pacemaker/KVM/Qemu/libvirt cluster consisting of two nodes.
Each node runs Ubuntu 12.04 64 Bit with the following packages/versions:
Kernel 3.2.0-32-generic #51-Ubuntu SMP
...
2
votes
2answers
219 views
Any way to release focus on a KVM guest in virt-manager without having to click Ctrl_L + Alt_L?
Is there a way to move my mouse in and out of a KVM guest in virt-manager without having to click to gain focus of the window and release focus by pressing Ctrl_L+ Alt_L?
BACKGROUND
I typically ...
5
votes
1answer
2k views
KVM and Libvirt - How do I hotplug a new virtio disk?
I am trying to hot-add a file-based disk to a running KVM virtual server. I've created a new disk from scratch using the command
dd of=/home/cloud/vps_59/test.img bs=1 seek=5G count=0
and I was ...
1
vote
1answer
287 views
How do I prevent libvirt from adding iptables rules for guest NAT networks?
Similar to this old request on BugZilla for Fedora 8, I'm hoping something has changed since then or someone knows another way.
I want to manage the iptables rules by hand—the one-size-fits-all ...
1
vote
1answer
293 views
KVM-qemu libvirt multiple interfaces in vms - how to control?
Running Ubuntu 12.04 we have 12 interfaces on the hypervisor which we want to expose in each vm. When we use only interface elements in the xml, we get the interfaces but we can't predict/control ...
0
votes
0answers
40 views
How to enable libvirt event logging?
I have one controller node with CentOS and one compute node with kvm hyperviser. I am using OpenStack.
When I run the nova boot command, it will create one virtual machine one compute host.
We can ...
1
vote
1answer
855 views
Adding Virtio block devices at runtime in Libvirt KVM
I'm running Debian Wheezy Beta 4 with KVM based guest systems which run the same operating system. I'm using LibVirt to manage the virtualisation.
What I would like to do is to attach an LVM based ...
0
votes
1answer
315 views
libvirt upgrade caused vms to not see drives (boot media not found)
I upgraded to Ubuntu 12.04.1 and now libvirt (via open nebula) successfully runs vms but they aren't finding the 2 drives (specifically, the boot drive). One is "hd" the other is "cdrom".
The machine ...
2
votes
3answers
86 views
Invoking a script inside a KVM guest, before networking is available?
With VMware's PowerCLI you can invoke a script inside a guest, even before the guest has network conenctivity, using the Invoke-VMScript Cmdlet (requires vmtools to be installed).
Is there a similar ...
0
votes
1answer
58 views
listing of VM's created before libvirt installation or started by any other VM management tool
if my VM's are not created using virt-manager or are created using any other tool, then virsh system list command does not give them in the list of running VM's however they are running perfectly on ...
0
votes
0answers
235 views
backup of KVM VM's running on Ubuntu 12.4.1 precise edition from a remote machine
I am creating a library API which will take the backup of all the VM's running on KVM hypervisor. My VM's can be of any type. I am taking this backup from a remote machine and need to put the backup ...
0
votes
1answer
43 views
lgcrypt not found while compiling libvirt
I am compiling libvirt. while compiling I got to install a lot of libraries which were appeared as dependencies. but I am not able to resolve the following error:
linux/bin/ld: cannot find -lgcrypt
...
1
vote
1answer
164 views
KVM hypervisor remote access without libvirt
I am a newbie in the area of Linux KVM virtualization. Can anybody help how to connect to my KVM hypervisor from a remote Linux machine without using LibVirt or any other third party library. I have ...
0
votes
0answers
213 views
libvirt's dnsmasq does not respond to dns queries or provide dhcp
This is on Ubuntu 10.04 server, using KVM to run Ubuntu guests. This system has been working for a long time and I have not changed anything (other than applying security updates), but today I found ...
3
votes
1answer
138 views
2xAMD Opteron 6128 with libvirt, Physical CPU 13 doesn't exist
I need help with libvirt(?) problem.
Server specs:
ProLiant DL165 G7
2x AMD Opteron(tm) Processor 6128
System:
Debian GNU/Linux testing (wheezy)
3.2.0-3-amd64
libvirt 0.9.12-5
kvm ...
1
vote
1answer
94 views
Flexible virtualization infrastructure Design with libvirt
I'm going to install a CentOS6 Server with Virtualization ( libvirtd ) capabilities on a DELL Server with Hardware RAID5 of around 6T of disk space ( It has 4x2T disks in a PERC700 RAID Controller ).
...
0
votes
1answer
146 views
Using virsh to control KVM and openvz
On different servers I'm using virsh to manage openvz containers or KVM guests.
No I have a server with both, KVM and openvz installed and would like to controll both with virsh.
I can't figure out ...

