WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Fix more enum demarshalling.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Fix more enum demarshalling.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Dec 2006 15:40:29 +0000
Delivery-date: Fri, 15 Dec 2006 07:39:53 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID ea12d26877a4df03eb67f82995ace666fc7260e8
# Parent  671cc928183d5f6676b5fb1a102e6c8019c24090
Fix more enum demarshalling.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/libxen/src/xen_console.c |    2 --
 tools/libxen/src/xen_vif.c     |    2 --
 tools/libxen/src/xen_vm.c      |    8 --------
 tools/libxen/src/xen_vtpm.c    |    2 --
 4 files changed, 14 deletions(-)

diff -r 671cc928183d -r ea12d26877a4 tools/libxen/src/xen_console.c
--- a/tools/libxen/src/xen_console.c    Fri Dec 15 11:00:04 2006 +0000
+++ b/tools/libxen/src/xen_console.c    Fri Dec 15 11:33:50 2006 +0000
@@ -158,9 +158,7 @@ xen_console_get_protocol(xen_session *se
         };
 
     abstract_type result_type = xen_console_protocol_abstract_type_;
-    char *result_str = NULL;
     XEN_CALL_("console.get_protocol");
-    *result = xen_console_protocol_from_string(session, result_str);
     return session->ok;
 }
 
diff -r 671cc928183d -r ea12d26877a4 tools/libxen/src/xen_vif.c
--- a/tools/libxen/src/xen_vif.c        Fri Dec 15 11:00:04 2006 +0000
+++ b/tools/libxen/src/xen_vif.c        Fri Dec 15 11:33:50 2006 +0000
@@ -197,9 +197,7 @@ xen_vif_get_type(xen_session *session, e
         };
 
     abstract_type result_type = xen_driver_type_abstract_type_;
-    char *result_str = NULL;
     XEN_CALL_("VIF.get_type");
-    *result = xen_driver_type_from_string(session, result_str);
     return session->ok;
 }
 
diff -r 671cc928183d -r ea12d26877a4 tools/libxen/src/xen_vm.c
--- a/tools/libxen/src/xen_vm.c Fri Dec 15 11:00:04 2006 +0000
+++ b/tools/libxen/src/xen_vm.c Fri Dec 15 11:33:50 2006 +0000
@@ -653,9 +653,7 @@ xen_vm_get_actions_after_shutdown(xen_se
         };
 
     abstract_type result_type = xen_on_normal_exit_abstract_type_;
-    char *result_str = NULL;
     XEN_CALL_("VM.get_actions_after_shutdown");
-    *result = xen_on_normal_exit_from_string(session, result_str);
     return session->ok;
 }
 
@@ -670,9 +668,7 @@ xen_vm_get_actions_after_reboot(xen_sess
         };
 
     abstract_type result_type = xen_on_normal_exit_abstract_type_;
-    char *result_str = NULL;
     XEN_CALL_("VM.get_actions_after_reboot");
-    *result = xen_on_normal_exit_from_string(session, result_str);
     return session->ok;
 }
 
@@ -687,9 +683,7 @@ xen_vm_get_actions_after_suspend(xen_ses
         };
 
     abstract_type result_type = xen_on_normal_exit_abstract_type_;
-    char *result_str = NULL;
     XEN_CALL_("VM.get_actions_after_suspend");
-    *result = xen_on_normal_exit_from_string(session, result_str);
     return session->ok;
 }
 
@@ -704,9 +698,7 @@ xen_vm_get_actions_after_crash(xen_sessi
         };
 
     abstract_type result_type = xen_on_crash_behaviour_abstract_type_;
-    char *result_str = NULL;
     XEN_CALL_("VM.get_actions_after_crash");
-    *result = xen_on_crash_behaviour_from_string(session, result_str);
     return session->ok;
 }
 
diff -r 671cc928183d -r ea12d26877a4 tools/libxen/src/xen_vtpm.c
--- a/tools/libxen/src/xen_vtpm.c       Fri Dec 15 11:00:04 2006 +0000
+++ b/tools/libxen/src/xen_vtpm.c       Fri Dec 15 11:33:50 2006 +0000
@@ -196,9 +196,7 @@ xen_vtpm_get_driver(xen_session *session
         };
 
     abstract_type result_type = xen_driver_type_abstract_type_;
-    char *result_str = NULL;
     XEN_CALL_("VTPM.get_driver");
-    *result = xen_driver_type_from_string(session, result_str);
     return session->ok;
 }
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Fix more enum demarshalling., Xen patchbot-unstable <=