Re: [libvirt] [PATCH 0/7] Expose QEMU APIs to Python binding

2011-09-12 Thread Daniel Veillard
On Mon, Sep 12, 2011 at 03:29:32PM +0100, Daniel P. Berrange wrote: > On Fri, Sep 09, 2011 at 07:24:40PM +0800, Osier Yang wrote: > > This patchset is to expose QEMU APIs to Python binding, as we > > don't intend to support the QEMU APIs officially, it's exposed > > seperately with general libvirt

Re: [libvirt] [PATCH v5] virsh: Add more human-friendly output of domblkstat command

2011-09-12 Thread Peter Krempa
Dňa 12.9.2011 16:27, Peter Krempa wrote / napísal(a): diff --git a/tools/virsh.c b/tools/virsh.c index 3b060bf..766c9be 100644 --- a/tools/virsh.c +++ b/tools/virsh.c @@ -1090,76 +1118,105 @@ cmdDomblkstat (vshControl *ctl, const vshCmd *cmd) * then. */ if (rc< 0) { - if (last_error->code != VI

Re: [libvirt] lvm backed storage

2011-09-12 Thread Serge E. Hallyn
Quoting Daniel P. Berrange (berra...@redhat.com): > On Thu, Sep 08, 2011 at 11:00:07AM -0500, Serge Hallyn wrote: > > Hi, > > > > When lvm.conf has 'command_names = 1', then all results are prefixed with > > the command name. This confuses libvirt which does not ignore those. I > > thought fixin

Re: [libvirt] [PATCH 1/2] Add VIR_TYPED_PARAM_STRING

2011-09-12 Thread Daniel P. Berrange
On Tue, Sep 06, 2011 at 07:09:53AM -0600, Eric Blake wrote: > On 09/06/2011 04:44 AM, Daniel Veillard wrote: > >On Tue, Sep 06, 2011 at 06:18:40PM +0800, Hu Tao wrote: > >>--- > >> daemon/remote.c | 15 +++ > >> include/libvirt/libvirt.h.in |4 +++- > >> src/remote/r

Re: [libvirt] lvm backed storage

2011-09-12 Thread Daniel P. Berrange
On Thu, Sep 08, 2011 at 11:00:07AM -0500, Serge Hallyn wrote: > Hi, > > When lvm.conf has 'command_names = 1', then all results are prefixed with > the command name. This confuses libvirt which does not ignore those. I > thought fixing that would be a simple case of detecting those conditions >

Re: [libvirt] Bug 736983 SSH GSSAPI login broken

2011-09-12 Thread Matthias Witte
Hallo, > > Adding KRB5CCNAME to the ssh command's environment solved the problem. > > > > https://bugzilla.redhat.com/show_bug.cgi?id=736983 > > > > I would like to propose the following patch: > > > > Index: libvirt-0.9.5-rc1/src/rpc/virnetsocket.c > > =

Re: [libvirt] [PATCH v2 2/2] add interface for blkio.weight_device

2011-09-12 Thread Daniel P. Berrange
On Thu, Sep 08, 2011 at 02:59:56PM +0800, Hu Tao wrote: > This patch adds a parameter --weight-device to virsh command > blkiotune for setting/getting blkio.weight_device. > --- > daemon/remote.c |5 + > include/libvirt/libvirt.h.in |9 ++ > src/conf/domain_conf.c | 142

Re: [libvirt] [BUG,RFC] directory traversal vulnerability / qemu: name→uuid

2011-09-12 Thread Daniel P. Berrange
On Tue, Sep 13, 2011 at 12:43:07AM +1000, dave bl wrote: > On 12 September 2011 23:10, Daniel P. Berrange wrote: > > On Wed, Sep 07, 2011 at 03:02:51PM +0100, Eric Blake wrote: > >> On 09/07/2011 11:12 AM, Philipp Hahn wrote: > >> >Hello, > >> > > >> >I just tried the following command  with libvi

Re: [libvirt] [PATCH 0/7] Expose QEMU APIs to Python binding

2011-09-12 Thread Daniel P. Berrange
On Fri, Sep 09, 2011 at 07:24:40PM +0800, Osier Yang wrote: > This patchset is to expose QEMU APIs to Python binding, as we > don't intend to support the QEMU APIs officially, it's exposed > seperately with general libvirt APIs with standalone > libvirt_qemu.py and libvirtmod_qemu.so. And there is

[libvirt] [PATCH v5] virsh: Add more human-friendly output of domblkstat command

2011-09-12 Thread Peter Krempa
Users of virsh complain that output of the domblkstat command is not intuitive enough. This patch adds explanation of fields returned by this command to the help section for domblkstat and the man page of virsh. Also a switch --human is added for domblkstat that prints the fields with more descript

Re: [libvirt] Bug 736983 SSH GSSAPI login broken

2011-09-12 Thread Daniel P. Berrange
On Fri, Sep 09, 2011 at 03:03:44PM +0200, Matthias Witte wrote: > Hi, > > after I upgraded from libvirt-0.9.0 I noticed that GSSAPIAuthentication for > openssh was no longer working, I always ended up with the password prompt. > > stracing and debug logging on the server revealed that gssapi was

Re: [libvirt] [BUG,RFC] directory traversal vulnerability / qemu: name→uuid

2011-09-12 Thread Daniel P. Berrange
On Wed, Sep 07, 2011 at 03:02:51PM +0100, Eric Blake wrote: > On 09/07/2011 11:12 AM, Philipp Hahn wrote: > >Hello, > > > >I just tried the following command with libvirt-0.9.5git: > ># virsh snapshot-create "$VM" /dev/stdin > ><<<'../../../../../../etc/passwd' > > > >"Luckily" it adds a .xml suff

[libvirt] [RFC] API to invoke S3/S4 on a KVM host and also resume from within libvirt

2011-09-12 Thread Srivatsa S. Bhat
Hi, In order to exploit the host power management capabilities like S3/S4, it was proposed to add additional tags in the libvirt capabilities XML to export the power management features supported by the host. The v5 of the RFC patch is here: http://www.redhat.com/archives/libvir-list/2011-Augus