Re: [libvirt] [libvirt-glib] Add API to redefine an existing domain

2011-11-18 Thread Zeeshan Ali (Khattak)
->conn, xml))) { > > Shouldn't handle be assigned to some persistent state? My guess is > domain->priv->handle. No, there is supposed to be already a corresponding domain with the handle in hash table. Don't let the 'DomainDefineXML' name fool you. -- Regards, Zeeshan Ali (Khattak) FSF member#5124 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] [libvirt-glib] Add API to redefine an existing domain

2011-11-18 Thread Zeeshan Ali (Khattak)
From: "Zeeshan Ali (Khattak)" --- libvirt-gobject/libvirt-gobject-connection.c | 37 ++ libvirt-gobject/libvirt-gobject-connection.h |4 +++ libvirt-gobject/libvirt-gobject.sym |1 + 3 files changed, 42 insertions(+), 0 deletions(-) di

[libvirt] [libvirt-glib 1/3] Also distribute private headers

2011-11-15 Thread Zeeshan Ali (Khattak)
From: "Zeeshan Ali (Khattak)" Private headers just shouldn't be installed but still distributed as they are required during the build. Fixes `make distcheck`. --- libvirt-gobject/Makefile.am |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libvirt-gobj

[libvirt] [libvirt-glib 2/3] Add some basic information to README

2011-11-15 Thread Zeeshan Ali (Khattak)
From: "Zeeshan Ali (Khattak)" --- README | 29 + 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/README b/README index e69de29..866ec53 100644 --- a/README +++ b/README @@ -0,0 +1,29 @@ +libvirt-glib + + +libvirt is a C

[libvirt] [libvirt-glib 3/3] Release 0.0.1

2011-11-15 Thread Zeeshan Ali (Khattak)
From: "Zeeshan Ali (Khattak)" --- NEWS |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/NEWS b/NEWS index e69de29..015fab8 100644 --- a/NEWS +++ b/NEWS @@ -0,0 +1,5 @@ +0.0.1 += + +First public release. + -- 1.7.7.1 -- libvir-list mailing list l

[libvirt] [libvirt-glib] Ask gtkdoc-scan to generate the sections file

2011-11-01 Thread Zeeshan Ali (Khattak)
From: "Zeeshan Ali (Khattak)" This frees us from maintaining the sections file. --- docs/libvirt-gconfig/Libvirt-gconfig-sections.txt | 166 -- docs/libvirt-gconfig/Makefile.am |2 +- docs/libvirt-glib/Libvirt-glib-sections.txt | 22 -- do

[libvirt] [libvirt-glib] Generate docs

2011-10-31 Thread Zeeshan Ali (Khattak)
From: "Zeeshan Ali (Khattak)" This patch adds gtk-doc-based documentation. The generated docs aren't very complete (or even correct) but this is a good start. --- Makefile.am |2 +- configure.ac

[libvirt] [libvirt-glib 1/2] Add API to build & start storage pools

2011-10-26 Thread Zeeshan Ali (Khattak)
From: "Zeeshan Ali (Khattak)" --- libvirt-gobject/libvirt-gobject-storage-pool.c | 44 libvirt-gobject/libvirt-gobject-storage-pool.h |8 libvirt-gobject/libvirt-gobject.sym|2 + 3 files changed, 54 insertions(+), 0 deletions(-) di

[libvirt] [libvirt-glib 2/2] Async API to build & start storage pools

2011-10-26 Thread Zeeshan Ali (Khattak)
From: "Zeeshan Ali (Khattak)" --- libvirt-gobject/libvirt-gobject-storage-pool.c | 160 libvirt-gobject/libvirt-gobject-storage-pool.h | 16 +++ libvirt-gobject/libvirt-gobject.sym|4 + 3 files changed, 180 insertions(+), 0 deletions(-) di

Re: [libvirt] [libosinfo 1/2] Add gvir_connection_create_storage_pool()

2011-10-26 Thread Zeeshan Ali (Khattak)
On Wed, Oct 26, 2011 at 6:32 PM, Daniel P. Berrange wrote: > On Wed, Oct 26, 2011 at 01:17:36AM +0300, Zeeshan Ali (Khattak) wrote: >> From: "Zeeshan Ali (Khattak)" >> >> API to create new storage pools. > > ACK, but please add the 'unsigned int flags&#x

Re: [libvirt] [libosinfo 2/2] Add gvir_connection_create_storage_pool()

2011-10-25 Thread Zeeshan Ali (Khattak)
On Tue, Oct 25, 2011 at 11:51 PM, Daniel P. Berrange wrote: > On Tue, Oct 25, 2011 at 10:56:56PM +0300, Zeeshan Ali (Khattak) wrote: >> From: "Zeeshan Ali (Khattak)" >> >> API to create new storage pools. This function also activates and builds >> the sto

[libvirt] [libosinfo 1/2] Add gvir_connection_create_storage_pool()

2011-10-25 Thread Zeeshan Ali (Khattak)
From: "Zeeshan Ali (Khattak)" API to create new storage pools. --- libvirt-gobject/libvirt-gobject-connection.c | 40 ++ libvirt-gobject/libvirt-gobject-connection.h |6 libvirt-gobject/libvirt-gobject.sym |1 + 3 files changed, 47

[libvirt] [libosinfo 2/2] Add API to build & start storage pools

2011-10-25 Thread Zeeshan Ali (Khattak)
From: "Zeeshan Ali (Khattak)" --- libvirt-gobject/libvirt-gobject-storage-pool.c | 44 libvirt-gobject/libvirt-gobject-storage-pool.h |8 libvirt-gobject/libvirt-gobject.sym|2 + 3 files changed, 54 insertions(+), 0 deletions(-) di

[libvirt] [libosinfo 2/2] Add gvir_connection_create_storage_pool()

2011-10-25 Thread Zeeshan Ali (Khattak)
From: "Zeeshan Ali (Khattak)" API to create new storage pools. This function also activates and builds the storage pool for you. --- libvirt-gobject/libvirt-gobject-connection.c | 54 ++ libvirt-gobject/libvirt-gobject-connection.h |6 +++ libvirt-gobje

[libvirt] [libosinfo 1/2] Set GError even if libvirt error is unknown

2011-10-25 Thread Zeeshan Ali (Khattak)
From: "Zeeshan Ali (Khattak)" --- libvirt-glib/libvirt-glib-error.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/libvirt-glib/libvirt-glib-error.c b/libvirt-glib/libvirt-glib-error.c index f59b464..0319687 100644 --- a/libvirt-glib/libvirt-glib-err

Re: [libvirt] [libvirt-glib 00/24] libvirt-gconfig patches

2011-10-11 Thread Zeeshan Ali (Khattak)
On Tue, Oct 11, 2011 at 3:35 PM, Christophe Fergeau wrote: > On Fri, Oct 07, 2011 at 02:59:28PM +0300, Zeeshan Ali (Khattak) wrote: >> Not sure about booleans though. Do >> we really need to check if value is provided btw? AFAIK, every >> node/attribute has a default valu

Re: [libvirt] [libvirt-glib 00/24] libvirt-gconfig patches

2011-10-07 Thread Zeeshan Ali (Khattak)
; questions on the way I guess... Awesome! Maybe its much more sooner that I starting really using the gconfig part then. :) -- Regards, Zeeshan Ali (Khattak) FSF member#5124 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] [libvirt-glib 8/9] Connect a bunch of domain event to signals

2011-09-29 Thread Zeeshan Ali (Khattak)
Forgot to hit 'reply-all' :( -- Forwarded message ------ From: Zeeshan Ali (Khattak) Date: Thu, Sep 29, 2011 at 2:25 PM Subject: Re: [libvirt] [libvirt-glib 8/9] Connect a bunch of domain event to signals To: "Daniel P. Berrange" On Thu, Sep 29, 2011 a

[libvirt] [libvirt-glib 2/2] API for storage pool volume management

2011-09-28 Thread Zeeshan Ali (Khattak)
From: "Zeeshan Ali (Khattak)" --- libvirt-gobject/libvirt-gobject-storage-pool.c | 304 +++- libvirt-gobject/libvirt-gobject-storage-pool.h | 19 ++ libvirt-gobject/libvirt-gobject.sym|6 + 3 files changed, 319 insertions(+), 10 deletions(-) di

[libvirt] [libvirt-glib 1/2] Actually provide gvir_storage_vol_get_path()

2011-09-28 Thread Zeeshan Ali (Khattak)
From: "Zeeshan Ali (Khattak)" This was only declared in header previously but not implemented. --- libvirt-gobject/libvirt-gobject-storage-vol.c | 11 +++ libvirt-gobject/libvirt-gobject.sym |1 + 2 files changed, 12 insertions(+), 0 deletions(-) diff --git

[libvirt] [libvirt-glib] Refactor two very huge functions a bit

2011-09-27 Thread Zeeshan Ali (Khattak)
From: "Zeeshan Ali (Khattak)" --- libvirt-gobject/libvirt-gobject-connection.c | 126 ++ 1 files changed, 69 insertions(+), 57 deletions(-) diff --git a/libvirt-gobject/libvirt-gobject-connection.c b/libvirt-gobject/libvirt-gobject-connection.c index f97b50

[libvirt] [libvirt-glib] Plug a leak

2011-09-27 Thread Zeeshan Ali (Khattak)
From: "Zeeshan Ali (Khattak)" --- libvirt-gobject/libvirt-gobject-connection.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/libvirt-gobject/libvirt-gobject-connection.c b/libvirt-gobject/libvirt-gobject-connection.c index 074fe53..f97b50a 100644 ---

[libvirt] [libvirt-glib] Remove redundant 'Config' in GIR identifiers

2011-09-27 Thread Zeeshan Ali (Khattak)
From: "Zeeshan Ali (Khattak)" libvirt-gconfig is in a separate namespace than libvirt-gobject so there is not reason to expose 'Config' part of identifiers to high-level languages. --- libvirt-gconfig/Makefile.am |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

Re: [libvirt] [libvirt-glib] Ability to create new domains

2011-09-27 Thread Zeeshan Ali (Khattak)
t; to have a g_mutex_lock/unlock either side of use of the hash > table. K, ACK otherwise? -- Regards, Zeeshan Ali (Khattak) FSF member#5124 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] [libvirt-glib] API to deal with storage pool(s)

2011-09-26 Thread Zeeshan Ali (Khattak)
From: "Zeeshan Ali (Khattak)" Add API to fetch, list, retrieve & find storage pool(s) on a connection. --- libvirt-gobject/libvirt-gobject-connection.c | 279 ++ libvirt-gobject/libvirt-gobject-connection.h | 12 +- libvirt-gobject/libvirt-gobject.sym

[libvirt] [libvirt-glib] Ability to create new domains

2011-09-26 Thread Zeeshan Ali (Khattak)
From: "Zeeshan Ali (Khattak)" --- libvirt-gobject/libvirt-gobject-connection.c | 38 ++ libvirt-gobject/libvirt-gobject-connection.h |3 ++ libvirt-gobject/libvirt-gobject.sym |1 + 3 files changed, 42 insertions(+), 0 deletions(-) di

Re: [libvirt] [virt-tools-list] Proposal: A place to store metadata about guests

2011-08-22 Thread Zeeshan Ali (Khattak)
On Mon, Aug 22, 2011 at 2:51 PM, Richard W.M. Jones wrote: > On Mon, Aug 22, 2011 at 02:22:00PM +0300, Zeeshan Ali (Khattak) wrote: >> On Mon, Aug 22, 2011 at 1:32 PM, Richard W.M. Jones >> wrote> >> >  - Store data about available installer ISOs, guests which are

Re: [libvirt] [virt-tools-list] Proposal: A place to store metadata about guests

2011-08-22 Thread Zeeshan Ali (Khattak)
On Mon, Aug 22, 2011 at 1:32 PM, Richard W.M. Jones wrote: > On Mon, Aug 22, 2011 at 01:04:07PM +0300, Zeeshan Ali (Khattak) wrote: >> Hi, >> >> On Mon, Aug 22, 2011 at 12:48 PM, Richard W.M. Jones >> wrote: >> > >> > I think we need a

Re: [libvirt] [virt-tools-list] Proposal: A place to store metadata about guests

2011-08-22 Thread Zeeshan Ali (Khattak)
ill need this for our desktop integration plans but the understanding is that we depend on Tracker[1] for this. Tracker will need to be hacked to be able to differentiate between installer and non-installer ISOs though but thats pretty much doable. I just wonder if that solution also works for you? --

<    1   2   3   4   5   6