Re: [libvirt] [PATCH] Power Hypervisor support

2009-07-24 Thread Eduardo Otubo
On Fri, 2009-07-24 at 16:42 +0200, Daniel Veillard wrote: > On Wed, Jul 22, 2009 at 04:01:47PM -0300, Eduardo Otubo wrote: > > Hello everyone, > > > > This should be the official patch for the libvrt-0.7.0 release. Here > > I'll comment all the features already implemented and the roadmap we > >

Re: [libvirt] [PATCH] Power Hypervisor support

2009-07-24 Thread Eduardo Otubo
On Thu, 2009-07-23 at 21:52 +0100, Daniel P. Berrange wrote: > On Wed, Jul 22, 2009 at 04:01:47PM -0300, Eduardo Otubo wrote: > > Hello everyone, > > > > This should be the official patch for the libvrt-0.7.0 release. Here > > I'll comment all the features already implemented and the roadmap we >

Re: [libvirt] test driver and virtOpenAuth()

2009-07-24 Thread Bryan Kearney
Daniel P. Berrange wrote: On Fri, Jul 24, 2009 at 01:56:24PM -0400, Bryan Kearney wrote: I am trying to test a call into virConnectOpenAuth. How can I configure the test driver to accept auth calls on "test+tcp://localhost/default" Start libvirtd as root, with SASL enabled. It is not the kin

Re: [libvirt] test driver and virtOpenAuth()

2009-07-24 Thread Daniel P. Berrange
On Fri, Jul 24, 2009 at 01:56:24PM -0400, Bryan Kearney wrote: > I am trying to test a call into virConnectOpenAuth. How can I configure > the test driver to accept auth calls on > > "test+tcp://localhost/default" Start libvirtd as root, with SASL enabled. It is not the kind of thing you want to

[libvirt] test driver and virtOpenAuth()

2009-07-24 Thread Bryan Kearney
I am trying to test a call into virConnectOpenAuth. How can I configure the test driver to accept auth calls on "test+tcp://localhost/default" Thanks! -- bk -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH 1/1] Support for Callbacks and VirtualBox Version 3.

2009-07-24 Thread Daniel Veillard
On Fri, Jul 17, 2009 at 03:39:07PM +0200, Pritesh Kothari wrote: > the patch with above changes is attached below: Okidoc, applied and commited, no problem ! thanks, Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ dan...@veillard.com | Rpmfind RPM sear

Re: [libvirt] [PATCH 0/9] Add support for (qcow*) volume encryption

2009-07-24 Thread Daniel P. Berrange
Replying to my own message... On Fri, Jul 24, 2009 at 02:04:33PM +0100, Daniel P. Berrange wrote: > > We also have to bear in mind how the MGMT server communicates > with the libvirt daemon. One likely option is using a messaging > service, which offers authenticity but not secrecy. ie, libvirt >

Re: [libvirt] [PATCH] test: Generate net interface names when assigning XML.

2009-07-24 Thread Cole Robinson
Daniel Veillard wrote: > On Fri, Jul 24, 2009 at 11:05:29AM -0400, Cole Robinson wrote: >> We need interface names to implement InterfaceStats. >> --- >> src/test.c | 76 >> +-- >> 1 files changed, 68 insertions(+), 8 deletions(-) > > L

Re: [libvirt] [PATCH] test: Implement BlockStats and InterfaceStats

2009-07-24 Thread Daniel Veillard
On Fri, Jul 24, 2009 at 11:05:30AM -0400, Cole Robinson wrote: > We fake stats values based on the current time, similar to how it's done > for cpu time. > +if (gettimeofday(&tv, NULL) < 0) { > +virReportSystemError(domain->conn, errno, > + "%s", _("getting

Re: [libvirt] [PATCH] test: Generate net interface names when assigning XML.

2009-07-24 Thread Daniel Veillard
On Fri, Jul 24, 2009 at 11:05:29AM -0400, Cole Robinson wrote: > We need interface names to implement InterfaceStats. > --- > src/test.c | 76 +-- > 1 files changed, 68 insertions(+), 8 deletions(-) Looks fine but I'm not completely sure

Re: [libvirt] [PATCH] Don't allow NULL paths for BlockStats and InterfaceStats

2009-07-24 Thread Daniel Veillard
On Fri, Jul 24, 2009 at 11:05:28AM -0400, Cole Robinson wrote: > Do the check in libvirt.c, to save drivers from the burden. This changes > behavior slightly in the qemu driver: we no longer explictly error if > passed an empty string. An error will still be thrown when the device > lookup fails.

Re: [libvirt] [PATCH] python: Raise exceptions if virDomain*Stats fail.

2009-07-24 Thread Daniel Veillard
On Fri, Jul 24, 2009 at 11:05:27AM -0400, Cole Robinson wrote: > The generator couldn't tell that the stats return values were pointers. > Stick a white list in the function which tries to make this distinction. Ah, ACK :-) Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http:

[libvirt] Re: [PATCH] test: Implement BlockStats and InterfaceStats

2009-07-24 Thread Cole Robinson
Cole Robinson wrote: > We fake stats values based on the current time, similar to how it's done > for cpu time. > --- > src/test.c | 116 ++- > 1 files changed, 114 insertions(+), 2 deletions(-) > Of course, I do all this, then don't even

[libvirt] Re: [PATCH 7/6] Only probe qemu for machine types when binary changes

2009-07-24 Thread Cole Robinson
Mark McLoughlin wrote: > By probing for qemu machine types, we increased the time of a > GetCapabilities call from 100us to a whopping 60ms. > > This patch takes the approach of only probing for machine types > when the mtime of the emulator binary changed since the last time > the capabilities we

[libvirt] [PATCH] python: Raise exceptions if virDomain*Stats fail.

2009-07-24 Thread Cole Robinson
The generator couldn't tell that the stats return values were pointers. Stick a white list in the function which tries to make this distinction. --- python/generator.py |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/python/generator.py b/python/generator.py index 9528

[libvirt] [PATCH] test: Implement BlockStats and InterfaceStats

2009-07-24 Thread Cole Robinson
We fake stats values based on the current time, similar to how it's done for cpu time. --- src/test.c | 116 ++- 1 files changed, 114 insertions(+), 2 deletions(-) diff --git a/src/test.c b/src/test.c index f02b58b..6db3825 100644 --- a/src

[libvirt] [PATCH] test: Generate net interface names when assigning XML.

2009-07-24 Thread Cole Robinson
We need interface names to implement InterfaceStats. --- src/test.c | 76 +-- 1 files changed, 68 insertions(+), 8 deletions(-) diff --git a/src/test.c b/src/test.c index 098d235..f02b58b 100644 --- a/src/test.c +++ b/src/test.c @@ -228,6

[libvirt] [PATCH] Don't allow NULL paths for BlockStats and InterfaceStats

2009-07-24 Thread Cole Robinson
Do the check in libvirt.c, to save drivers from the burden. This changes behavior slightly in the qemu driver: we no longer explictly error if passed an empty string. An error will still be thrown when the device lookup fails. --- src/libvirt.c |4 ++-- src/qemu_driver.c |6 -- 2 f

Re: [libvirt] OpenVZ : The restriction of domain name should be addressed

2009-07-24 Thread Anton Protopopov
2009/7/24 Daniel P. Berrange > On Fri, Jul 24, 2009 at 06:23:21PM +0400, Anton Protopopov wrote: > > > > > > > Is there anyone tackling this problem now?( or going to? ) > > > > Otherwise, any hint would help me. > > > > > > I don't think anybody has tried to handle this. The problem I think >

Re: [libvirt] [PATCH] Power Hypervisor support

2009-07-24 Thread Daniel Veillard
On Wed, Jul 22, 2009 at 04:01:47PM -0300, Eduardo Otubo wrote: > Hello everyone, > > This should be the official patch for the libvrt-0.7.0 release. Here > I'll comment all the features already implemented and the roadmap we > have ahead: > > Features supported: > * Connects to HMC/VIOS or IVM s

Re: [libvirt] [PATCH 0/1] Multipath pool support

2009-07-24 Thread Daniel P. Berrange
On Thu, Jul 23, 2009 at 02:53:48PM -0400, Dave Allan wrote: > Daniel P. Berrange wrote: > >>It doesn't currently allow configuration of multipathing, so for > >>now setting the multipath configuration will have to continue to be > >> done as part of the host system build. > >> > >>Example XML to c

Re: [libvirt] OpenVZ : The restriction of domain name should be addressed

2009-07-24 Thread Daniel P. Berrange
On Fri, Jul 24, 2009 at 06:23:21PM +0400, Anton Protopopov wrote: > > > > > Is there anyone tackling this problem now?( or going to? ) > > > Otherwise, any hint would help me. > > > > I don't think anybody has tried to handle this. The problem I think > > is that the mapping would have to be stor

Re: [libvirt] OpenVZ : The restriction of domain name should be addressed

2009-07-24 Thread Anton Protopopov
> > > Is there anyone tackling this problem now?( or going to? ) > > Otherwise, any hint would help me. > > I don't think anybody has tried to handle this. The problem I think > is that the mapping would have to be stored and if the hypervisor > doesn't support this maintaining this data in a coh

Re: [libvirt] OpenVZ : The restriction of domain name should be addressed

2009-07-24 Thread Daniel Veillard
On Fri, Jul 24, 2009 at 05:47:10PM +0900, Yuji NISHIDA wrote: > Hi, > > "The current libvirt OpenVZ driver has a restriction that the domain > names must match the OpenVZ container VEID" > > I really want to have domain name as character, not integer. > It could help me very much if any patch aga

Re: [libvirt] [PATCH] document telnet serial console options

2009-07-24 Thread Daniel Veillard
On Thu, Jul 23, 2009 at 09:44:24PM +0200, Guido Günther wrote: > Hi, > attached patch updates the console docs a bit. O.k. to apply? > Cheers, > -- Guido Looks fine to me, ACK :-) Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ dan...@veillard.com | Rpmfi

Re: [libvirt] [PATCH 0/9] Add support for (qcow*) volume encryption

2009-07-24 Thread Daniel P. Berrange
On Fri, Jul 24, 2009 at 07:25:54AM -0400, Miloslav Trmac wrote: > > - "Daniel P. Berrange" wrote: > > > Not quite: the main case of a "dumb" client would be a large-scale > > > virtualization management software that contains a primary store > > > of encryption information, and gives each no

[libvirt] [PATCH 7/6] Only probe qemu for machine types when binary changes

2009-07-24 Thread Mark McLoughlin
By probing for qemu machine types, we increased the time of a GetCapabilities call from 100us to a whopping 60ms. This patch takes the approach of only probing for machine types when the mtime of the emulator binary changed since the last time the capabilities were generated. This brings the time

Re: [libvirt] [PATCH 0/9] Add support for (qcow*) volume encryption

2009-07-24 Thread Miloslav Trmac
- "Daniel P. Berrange" wrote: > > Not quite: the main case of a "dumb" client would be a large-scale > > virtualization management software that contains a primary store > > of encryption information, and gives each node access only to those > > keys that are currently necessary by the node

Re: [libvirt] [PATCH 1/9] Add volume encryption information handling.

2009-07-24 Thread Miloslav Trmac
- "Daniel P. Berrange" wrote: > For the domain XML I agree that libirt would not need to worry about > multiple LUKS keys, but for the storage volume XML we would need to > expose the fact that there are multiple keys,or allow creation of > volumes with multiple keys. I don't know. Does a f

Re: [libvirt] [PATCH 0/9] Add support for (qcow*) volume encryption

2009-07-24 Thread Daniel P. Berrange
On Thu, Jul 23, 2009 at 11:43:09PM -0400, Miloslav Trmac wrote: > > > The tag can be added to a node passed to > > > virStorageVolCreateXML() to create an encrypted volume, or to a > > > node inside a to specify what encryption parameters to > > > use for a domain. If the domain is persistent,

Re: [libvirt] [PATCH 1/9] Add volume encryption information handling.

2009-07-24 Thread Daniel P. Berrange
On Fri, Jul 24, 2009 at 12:08:32AM -0400, Miloslav Trmac wrote: > - "Daniel P. Berrange" wrote: > > On Tue, Jul 21, 2009 at 01:11:57PM +0200, Miloslav Trma?? wrote: > > > +#include > > > +#include > > > + > > > +enum virStorageEncryptionFormat { > > > +VIR_STORAGE_ENCRYPTION_FORMAT_UNENC

Re: [libvirt] [PATCH 2/9] Attach encryption information to virStorageVolDef.

2009-07-24 Thread Daniel P. Berrange
On Fri, Jul 24, 2009 at 12:19:22AM -0400, Miloslav Trmac wrote: > - "Daniel P. Berrange" wrote: > > > On Tue, Jul 21, 2009 at 01:11:58PM +0200, Miloslav Trma?? wrote: > > > Note that partial encryption information (e.g. specifying an encryption > > > format, but not the key/passphrase) is val

Re: [libvirt] [PATCH] docs: say that the old repository is deprecated...

2009-07-24 Thread Jim Meyering
Daniel Veillard wrote: > On Fri, Jul 24, 2009 at 10:59:46AM +0200, Jim Meyering wrote: >> I've just officially deprecated the original cvs-to-git-mirror >> libvirt repository on et.redhat.com, by git-removing all files >> and adding one with a pointer to the new repository: >> >> http://git.et.

Re: [libvirt] [PATCH] docs: say that the old repository is deprecated...

2009-07-24 Thread Daniel Veillard
On Fri, Jul 24, 2009 at 10:59:46AM +0200, Jim Meyering wrote: > I've just officially deprecated the original cvs-to-git-mirror > libvirt repository on et.redhat.com, by git-removing all files > and adding one with a pointer to the new repository: > > http://git.et.redhat.com/?p=libvirt.git;a=c

Re: [libvirt] [PATCH] Canonicalize qemu machine types

2009-07-24 Thread Mark McLoughlin
On Thu, 2009-07-23 at 13:56 -0400, Cole Robinson wrote: > On 07/23/2009 01:34 PM, Mark McLoughlin wrote: > > Hey, > > Here's a series of patches to implement danpb's suggestion of > > using 'qemu -M ?' to probe for valid machine types and then to build > > on that for the machine type canon

[libvirt] [PATCH] docs: say that the old repository is deprecated...

2009-07-24 Thread Jim Meyering
I've just officially deprecated the original cvs-to-git-mirror libvirt repository on et.redhat.com, by git-removing all files and adding one with a pointer to the new repository: http://git.et.redhat.com/?p=libvirt.git;a=commitdiff;h=2940bc0fa9f2a3 Here's the corresponding change to update li

[libvirt] OpenVZ : The restriction of domain name should be addressed

2009-07-24 Thread Yuji NISHIDA
Hi, "The current libvirt OpenVZ driver has a restriction that the domain names must match the OpenVZ container VEID" I really want to have domain name as character, not integer. It could help me very much if any patch against this problem would be released. Is there anyone tackling this p

[libvirt] Re: OpenVZ : cannot assign bridge to any interface

2009-07-24 Thread Yuji NISHIDA
Hi, [1] bridge was created but no interface assigned to it I found two evidences which could cause that. One is my mistake in XML and the other is in /usr/sbin/vznetcfg. I should have specified bridge name here like vznetcfg runs vznetaddbr but it couldn't do without knowing what