Re: [libvirt-users] run libvirt API on arm hardware platform

2013-12-03 Thread Henrik Ahlgren
On Tue, Dec 03, 2013 at 09:28:18PM +0800, 林佳緯 wrote: > Is it possible to run libvirt API on arm hardware platform? > (i,e. armv7) At least Debian ships libvirt packages for armhf architecture (along with armel and all other supported architectures), so I guess the answer would be yes. ___

Re: [libvirt-users] How can I open a libvirt remote connection with ssh

2013-04-11 Thread Henrik Ahlgren
On Thu, Apr 11, 2013 at 09:45:18AM +, Wangkai (Kevin,C) wrote: > > How can I connect to libvirtd with ssh automatically? No need to type the > password manually. Just use SSH public key authentication with an empty passphrase, just as you would with any other automated SSH connection. _

Re: [libvirt-users] Live migration with non-shared storage leads to corrupted file system

2012-11-25 Thread Henrik Ahlgren
On Sun, Nov 25, 2012 at 06:57:19PM +0800, Xinglong Wu wrote: > Is there anybody having the similiar experience with live migration on > non-shared storage? It apparently leads to failed migrations in > libvirt but no cirtical errors ever reported. Make sure you have your driver cache set to "none"

Re: [libvirt-users] Handling connection closes in (older) Sys::Virt

2012-11-14 Thread Henrik Ahlgren
On Wed, Nov 14, 2012 at 10:58:03AM +, Daniel P. Berrange wrote: > $ strace ./demo.pl 2>&1 | grep SIGPIPE > rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x343ca0efe0}, NULL, 8) = 0 > rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x343ca0efe0}, {SIG_IGN, [], > SA_RESTORER, 0x343ca0efe0},

Re: [libvirt-users] Handling connection closes in (older) Sys::Virt

2012-11-14 Thread Henrik Ahlgren
On Wed, Nov 14, 2012 at 10:08:45AM +, Daniel P. Berrange wrote: > You definitely need to figure out how to set the SIGPIPE handler to > 'ignore'. libvirt.so does not do this, because it is bad practice for > a library to set application global state like this. Not sure what > you tried, but I'

[libvirt-users] Handling connection closes in (older) Sys::Virt

2012-11-14 Thread Henrik Ahlgren
I hope this is the correct mailing list for discussing the Sys::Virt Perl module. It appears that the most recent version has a new method called register_close_callback that, I believe, can be used to catch errors when the connection to libvirt is closed, e.g. due to libvirt restart or a network

Re: [libvirt-users] re-create disk image file

2012-11-05 Thread Henrik Ahlgren
On Mon, Nov 05, 2012 at 11:03:11AM -0800, Joe Linoff wrote: > I am curious about how to re-create a disk image file from a running > guest when the original disk image file is accidentally deleted. This > came up recently during a test scenario but I couldn't figure out how to > do it. If you have

Re: [libvirt-users] sharing read-only LOCAL disks among KVM guests

2012-09-21 Thread Henrik Ahlgren
On Fri, Sep 21, 2012 at 09:22:24PM +1000, Amos Shapira wrote: > 2. Maintenance - if I get to share the common disk image among all of them > then I only need to install/update it once instead of once for each KVM > guest (we already use Puppet but it doesn't mean it comes for free). How do you pla

Re: [libvirt-users] How can a bridge be optimized?

2012-06-12 Thread Henrik Ahlgren
On Tue, Jun 12, 2012 at 10:24:24AM -0400, Whit Blauvelt wrote: > The host is Ubuntu 10.10 with the 2.6.35-28-server kernel. Libvirt is > 0.8.3-1ubuntu19.4, qemu-kvm is 0.12.5+noroms-0ubuntu7.11. Not sure how that > relates to "Get kvm version >= 60" (from http://www.linux-kvm.org/page/Virtio) > but

Re: [libvirt-users] How can a bridge be optimized?

2012-06-12 Thread Henrik Ahlgren
On Mon, Jun 11, 2012 at 03:28:59PM -0400, Whit Blauvelt wrote: > I get around 150Mb, (on a Gb interface). But then its still showing as > "-device rtl8139" on the host. Should that be? That clearly indicates you are not running with a virtio NIC. You should see "-device virtio-net-pci" in the proc

Re: [libvirt-users] How can a bridge be optimized?

2012-06-11 Thread Henrik Ahlgren
On 06/11/2012 06:34 PM, Whit Blauvelt wrote: > Looking into background info on these, it looks like SR-IOV capability is > specific to certain NICs and not documented for KVM/libvirt in any obvious > place. Maybe I just didn't find it. I think SR-IOV is more for high-end 10 GigE networks; with 1 G

Re: [libvirt-users] How can a bridge be optimized?

2012-06-11 Thread Henrik Ahlgren
On 06/11/2012 06:34 PM, Whit Blauvelt wrote: > Looking into background info on these, it looks like SR-IOV capability is > specific to certain NICs and not documented for KVM/libvirt in any obvious > place. Maybe I just didn't find it. I think SR-IOV is more for high-end 10 GigE networks; with 1 G

Re: [libvirt-users] How can a bridge be optimized?

2012-06-01 Thread Henrik Ahlgren
On Fri, Jun 01, 2012 at 05:15:35PM -0400, Whit Blauvelt wrote: > Netperf tells me that a KVM VM using a bridged connection to a system across > the Gigabit LAN sees on average about 1/10th of the bandwidth the host sees. What NIC are you using? For example with the Intel 10 GigE cards (ixgbe) it i

Re: [libvirt-users] creating a domain

2012-05-10 Thread Henrik Ahlgren
On Wed, May 09, 2012 at 02:26:47PM -0700, John Wayne wrote: > looks like i have to use virDomain.create, however virDomain.create > needs a defined domain xmldesc as a parameter and i am not sure on how to get > that Have you tried one of these? lookupByID(self, id) Try to find a domain

Re: [libvirt-users] Installing the python libvirt bindings in a virtualenv

2012-04-23 Thread Henrik Ahlgren
On Mon, Apr 23, 2012 at 11:56:56PM +0200, Daniel Gonzalez wrote: > But this is failing with error message: > > checking for python script directory... ${prefix}/lib/python2.7/site-packages > checking for python extension module directory... > ${exec_prefix}/lib/python2.7/site-packages > configure