All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [xend] Add uuid to host record
@ 2006-11-14  0:26 Jim Fehlig
  2006-11-14  0:50 ` Ewan Mellor
  0 siblings, 1 reply; 2+ messages in thread
From: Jim Fehlig @ 2006-11-14  0:26 UTC (permalink / raw)
  To: Xen-devel

[-- Attachment #1: Type: text/plain, Size: 145 bytes --]

This patch adds uuid to host record returned by host_get_record.  libxen 
fails to parse the host record when this field missing.

Regards,
Jim


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: libxen-host-uuid.patch --]
[-- Type: text/x-patch; name="libxen-host-uuid.patch", Size: 1009 bytes --]

# HG changeset patch
# User jfehlig@jfehlig2.provo.novell.com
# Date 1163463829 25200
# Node ID 3342aabd73e0332a398bc8f69543213d196a0845
# Parent  9a341c6ef6ae2ce90ccdcf89718d4365426d9d96
Add uuid to host record returned by host_get_record.  libxen fails to parse the host record with this field missing.

Signed-off-by: Jim Fehlig <jfehlig@novell.com>

diff -r 9a341c6ef6ae -r 3342aabd73e0 tools/python/xen/xend/XendAPI.py
--- a/tools/python/xen/xend/XendAPI.py	Mon Nov 13 14:25:48 2006 +0000
+++ b/tools/python/xen/xend/XendAPI.py	Mon Nov 13 17:23:49 2006 -0700
@@ -481,7 +481,8 @@ class XendAPI:
     def host_get_record(self, session, host_ref):
         node = XendNode.instance()
         dom = XendDomain.instance()
-        record = {'name_label': node.name,
+        record = {'uuid': node.uuid,
+                  'name_label': node.name,
                   'name_description': '',
                   'software_version': node.xen_version(),
                   'resident_VMs': dom.get_domain_refs(),

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] [xend] Add uuid to host record
  2006-11-14  0:26 [PATCH] [xend] Add uuid to host record Jim Fehlig
@ 2006-11-14  0:50 ` Ewan Mellor
  0 siblings, 0 replies; 2+ messages in thread
From: Ewan Mellor @ 2006-11-14  0:50 UTC (permalink / raw)
  To: Jim Fehlig; +Cc: Xen-devel

On Mon, Nov 13, 2006 at 05:26:16PM -0700, Jim Fehlig wrote:

> This patch adds uuid to host record returned by host_get_record.  libxen 
> fails to parse the host record when this field missing.

Applied, thanks Jim.

Ewan.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-14  0:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-14  0:26 [PATCH] [xend] Add uuid to host record Jim Fehlig
2006-11-14  0:50 ` Ewan Mellor

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.