* [PATCH] [LIBXEN] Fix returned type in vtpm_get_backend() function call
@ 2006-11-14 20:00 Stefan Berger
2006-11-14 20:08 ` Ewan Mellor
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Berger @ 2006-11-14 20:00 UTC (permalink / raw)
To: Xen-devel
[-- Attachment #1: Type: text/plain, Size: 108 bytes --]
Return a string from vtpm_get_backend() function call.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
[-- Attachment #2: libxen-vtpm-fix.diff --]
[-- Type: text/x-patch, Size: 1037 bytes --]
Index: root/xen-unstable.hg/tools/libxen/include/xen_vtpm.h
===================================================================
--- root.orig/xen-unstable.hg/tools/libxen/include/xen_vtpm.h
+++ root/xen-unstable.hg/tools/libxen/include/xen_vtpm.h
@@ -196,7 +196,7 @@ xen_vtpm_get_vm(xen_session *session, xe
* Get the backend field of the given VTPM.
*/
extern bool
-xen_vtpm_get_backend(xen_session *session, xen_vm *result, xen_vtpm vtpm);
+xen_vtpm_get_backend(xen_session *session, char **result, xen_vtpm vtpm);
/**
Index: root/xen-unstable.hg/tools/libxen/src/xen_vtpm.c
===================================================================
--- root.orig/xen-unstable.hg/tools/libxen/src/xen_vtpm.c
+++ root/xen-unstable.hg/tools/libxen/src/xen_vtpm.c
@@ -170,7 +170,7 @@ xen_vtpm_get_vm(xen_session *session, xe
bool
-xen_vtpm_get_backend(xen_session *session, xen_vm *result, xen_vtpm vtpm)
+xen_vtpm_get_backend(xen_session *session, char **result, xen_vtpm vtpm)
{
abstract_value param_values[] =
{
[-- 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] 3+ messages in thread
* Re: [PATCH] [LIBXEN] Fix returned type in vtpm_get_backend() function call
2006-11-14 20:00 [PATCH] [LIBXEN] Fix returned type in vtpm_get_backend() function call Stefan Berger
@ 2006-11-14 20:08 ` Ewan Mellor
2006-11-14 21:15 ` Stefan Berger
0 siblings, 1 reply; 3+ messages in thread
From: Ewan Mellor @ 2006-11-14 20:08 UTC (permalink / raw)
To: Stefan Berger; +Cc: Xen-devel
On Tue, Nov 14, 2006 at 03:00:04PM -0500, Stefan Berger wrote:
> Return a string from vtpm_get_backend() function call.
I thought this field was meant to be a reference to the VM that represented
the backend. Is that not the case?
Ewan.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] [LIBXEN] Fix returned type in vtpm_get_backend() function call
2006-11-14 20:08 ` Ewan Mellor
@ 2006-11-14 21:15 ` Stefan Berger
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Berger @ 2006-11-14 21:15 UTC (permalink / raw)
To: Ewan Mellor; +Cc: Xen-devel, xen-devel-bounces
[-- Attachment #1.1: Type: text/plain, Size: 756 bytes --]
xen-devel-bounces@lists.xensource.com wrote on 11/14/2006 03:08:05 PM:
> On Tue, Nov 14, 2006 at 03:00:04PM -0500, Stefan Berger wrote:
>
> > Return a string from vtpm_get_backend() function call.
>
> I thought this field was meant to be a reference to the VM that
represented
> the backend. Is that not the case?
When creating the vTPM I am passing in the backend paramter as the name of
the VM rather than its reference (uuid). So I wanted to change this to be
symmetric. Should the backend parameter rather be the reference to the VM
and translated to the name internally?
Stefan
>
> Ewan.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
[-- Attachment #1.2: Type: text/html, Size: 1005 bytes --]
[-- Attachment #2: 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] 3+ messages in thread
end of thread, other threads:[~2006-11-14 21:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-14 20:00 [PATCH] [LIBXEN] Fix returned type in vtpm_get_backend() function call Stefan Berger
2006-11-14 20:08 ` Ewan Mellor
2006-11-14 21:15 ` Stefan Berger
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.