[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] uint64_t replaced with int64_t everywhere.



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID 5bef3f695b552e15a121d717611241d41d179bfa
# Parent  819e93d30ce230174004e99e6975295166b311ce
uint64_t replaced with int64_t everywhere.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/libxen/include/xen_host_cpu.h      |    8 +++----
 tools/libxen/include/xen_int_float_map.h |    2 -
 tools/libxen/include/xen_internal.h      |    2 -
 tools/libxen/include/xen_pif.h           |    6 ++---
 tools/libxen/include/xen_sr.h            |   12 +++++-----
 tools/libxen/include/xen_vdi.h           |   16 +++++++-------
 tools/libxen/include/xen_vif.h           |    6 ++---
 tools/libxen/include/xen_vm.h            |   34 +++++++++++++++----------------
 tools/libxen/include/xen_vtpm.h          |    4 +--
 tools/libxen/src/xen_common.c            |   10 ++++-----
 tools/libxen/src/xen_host_cpu.c          |    4 +--
 tools/libxen/src/xen_pif.c               |    4 +--
 tools/libxen/src/xen_sr.c                |    6 ++---
 tools/libxen/src/xen_vdi.c               |   10 ++++-----
 tools/libxen/src/xen_vif.c               |    4 +--
 tools/libxen/src/xen_vm.c                |   20 +++++++++---------
 tools/libxen/src/xen_vtpm.c              |    2 -
 17 files changed, 75 insertions(+), 75 deletions(-)

diff -r 819e93d30ce2 -r 5bef3f695b55 tools/libxen/include/xen_host_cpu.h
--- a/tools/libxen/include/xen_host_cpu.h       Sat Oct 28 12:15:40 2006 +0100
+++ b/tools/libxen/include/xen_host_cpu.h       Sat Oct 28 13:30:21 2006 +0100
@@ -65,9 +65,9 @@ typedef struct xen_host_cpu_record
     xen_host_cpu handle;
     char *uuid;
     struct xen_host_record_opt *host;
-    uint64_t number;
+    int64_t number;
     char *vendor;
-    uint64_t speed;
+    int64_t speed;
     char *modelname;
     struct xen_cpu_feature_set *features;
     double utilisation;
@@ -191,7 +191,7 @@ xen_host_cpu_get_host(xen_session *sessi
  * Get the number field of the given host_cpu.
  */
 extern bool
-xen_host_cpu_get_number(xen_session *session, uint64_t *result, xen_host_cpu 
host_cpu);
+xen_host_cpu_get_number(xen_session *session, int64_t *result, xen_host_cpu 
host_cpu);
 
 
 /**
@@ -205,7 +205,7 @@ xen_host_cpu_get_vendor(xen_session *ses
  * Get the speed field of the given host_cpu.
  */
 extern bool
-xen_host_cpu_get_speed(xen_session *session, uint64_t *result, xen_host_cpu 
host_cpu);
+xen_host_cpu_get_speed(xen_session *session, int64_t *result, xen_host_cpu 
host_cpu);
 
 
 /**
diff -r 819e93d30ce2 -r 5bef3f695b55 tools/libxen/include/xen_int_float_map.h
--- a/tools/libxen/include/xen_int_float_map.h  Sat Oct 28 12:15:40 2006 +0100
+++ b/tools/libxen/include/xen_int_float_map.h  Sat Oct 28 13:30:21 2006 +0100
@@ -25,7 +25,7 @@
 
 typedef struct xen_int_float_map_contents
 {
-  uint64_t key;
+  int64_t key;
   double val;
 } xen_int_float_map_contents;
 
diff -r 819e93d30ce2 -r 5bef3f695b55 tools/libxen/include/xen_internal.h
--- a/tools/libxen/include/xen_internal.h       Sat Oct 28 12:15:40 2006 +0100
+++ b/tools/libxen/include/xen_internal.h       Sat Oct 28 13:30:21 2006 +0100
@@ -94,7 +94,7 @@ typedef struct abstract_value
     union
     {
         const char *string_val;
-        uint64_t int_val;
+        int64_t int_val;
         int enum_val;
         double double_val;
         bool bool_val;
diff -r 819e93d30ce2 -r 5bef3f695b55 tools/libxen/include/xen_pif.h
--- a/tools/libxen/include/xen_pif.h    Sat Oct 28 12:15:40 2006 +0100
+++ b/tools/libxen/include/xen_pif.h    Sat Oct 28 13:30:21 2006 +0100
@@ -69,7 +69,7 @@ typedef struct xen_pif_record
     struct xen_network_record_opt *network;
     struct xen_host_record_opt *host;
     char *mac;
-    uint64_t mtu;
+    int64_t mtu;
     char *vlan;
     double io_read_kbs;
     double io_write_kbs;
@@ -214,7 +214,7 @@ xen_pif_get_mac(xen_session *session, ch
  * Get the MTU field of the given PIF.
  */
 extern bool
-xen_pif_get_mtu(xen_session *session, uint64_t *result, xen_pif pif);
+xen_pif_get_mtu(xen_session *session, int64_t *result, xen_pif pif);
 
 
 /**
@@ -270,7 +270,7 @@ xen_pif_set_mac(xen_session *session, xe
  * Set the MTU field of the given PIF.
  */
 extern bool
-xen_pif_set_mtu(xen_session *session, xen_pif xen_pif, uint64_t mtu);
+xen_pif_set_mtu(xen_session *session, xen_pif xen_pif, int64_t mtu);
 
 
 /**
diff -r 819e93d30ce2 -r 5bef3f695b55 tools/libxen/include/xen_sr.h
--- a/tools/libxen/include/xen_sr.h     Sat Oct 28 12:15:40 2006 +0100
+++ b/tools/libxen/include/xen_sr.h     Sat Oct 28 13:30:21 2006 +0100
@@ -66,9 +66,9 @@ typedef struct xen_sr_record
     char *name_label;
     char *name_description;
     struct xen_vdi_record_opt_set *vdis;
-    uint64_t virtual_allocation;
-    uint64_t physical_utilisation;
-    uint64_t physical_size;
+    int64_t virtual_allocation;
+    int64_t physical_utilisation;
+    int64_t physical_size;
     char *type;
     char *location;
 } xen_sr_record;
@@ -212,21 +212,21 @@ xen_sr_get_vdis(xen_session *session, st
  * Get the virtual_allocation field of the given SR.
  */
 extern bool
-xen_sr_get_virtual_allocation(xen_session *session, uint64_t *result, xen_sr 
sr);
+xen_sr_get_virtual_allocation(xen_session *session, int64_t *result, xen_sr 
sr);
 
 
 /**
  * Get the physical_utilisation field of the given SR.
  */
 extern bool
-xen_sr_get_physical_utilisation(xen_session *session, uint64_t *result, xen_sr 
sr);
+xen_sr_get_physical_utilisation(xen_session *session, int64_t *result, xen_sr 
sr);
 
 
 /**
  * Get the physical_size field of the given SR.
  */
 extern bool
-xen_sr_get_physical_size(xen_session *session, uint64_t *result, xen_sr sr);
+xen_sr_get_physical_size(xen_session *session, int64_t *result, xen_sr sr);
 
 
 /**
diff -r 819e93d30ce2 -r 5bef3f695b55 tools/libxen/include/xen_vdi.h
--- a/tools/libxen/include/xen_vdi.h    Sat Oct 28 12:15:40 2006 +0100
+++ b/tools/libxen/include/xen_vdi.h    Sat Oct 28 13:30:21 2006 +0100
@@ -69,9 +69,9 @@ typedef struct xen_vdi_record
     char *name_description;
     struct xen_sr_record_opt *sr;
     struct xen_vbd_record_opt_set *vbds;
-    uint64_t virtual_size;
-    uint64_t physical_utilisation;
-    uint64_t sector_size;
+    int64_t virtual_size;
+    int64_t physical_utilisation;
+    int64_t sector_size;
     enum xen_vdi_type type;
     struct xen_vdi_record_opt *parent;
     struct xen_vdi_record_opt_set *children;
@@ -225,21 +225,21 @@ xen_vdi_get_vbds(xen_session *session, s
  * Get the virtual_size field of the given VDI.
  */
 extern bool
-xen_vdi_get_virtual_size(xen_session *session, uint64_t *result, xen_vdi vdi);
+xen_vdi_get_virtual_size(xen_session *session, int64_t *result, xen_vdi vdi);
 
 
 /**
  * Get the physical_utilisation field of the given VDI.
  */
 extern bool
-xen_vdi_get_physical_utilisation(xen_session *session, uint64_t *result, 
xen_vdi vdi);
+xen_vdi_get_physical_utilisation(xen_session *session, int64_t *result, 
xen_vdi vdi);
 
 
 /**
  * Get the sector_size field of the given VDI.
  */
 extern bool
-xen_vdi_get_sector_size(xen_session *session, uint64_t *result, xen_vdi vdi);
+xen_vdi_get_sector_size(xen_session *session, int64_t *result, xen_vdi vdi);
 
 
 /**
@@ -302,7 +302,7 @@ xen_vdi_set_sr(xen_session *session, xen
  * Set the virtual_size field of the given VDI.
  */
 extern bool
-xen_vdi_set_virtual_size(xen_session *session, xen_vdi xen_vdi, uint64_t 
virtual_size);
+xen_vdi_set_virtual_size(xen_session *session, xen_vdi xen_vdi, int64_t 
virtual_size);
 
 
 /**
@@ -331,7 +331,7 @@ xen_vdi_snapshot(xen_session *session, x
  * Resize the vdi to the size.
  */
 extern bool
-xen_vdi_resize(xen_session *session, xen_vdi vdi, uint64_t size);
+xen_vdi_resize(xen_session *session, xen_vdi vdi, int64_t size);
 
 
 #endif
diff -r 819e93d30ce2 -r 5bef3f695b55 tools/libxen/include/xen_vif.h
--- a/tools/libxen/include/xen_vif.h    Sat Oct 28 12:15:40 2006 +0100
+++ b/tools/libxen/include/xen_vif.h    Sat Oct 28 13:30:21 2006 +0100
@@ -71,7 +71,7 @@ typedef struct xen_vif_record
     struct xen_network_record_opt *network;
     struct xen_vm_record_opt *vm;
     char *mac;
-    uint64_t mtu;
+    int64_t mtu;
     double io_read_kbs;
     double io_write_kbs;
 } xen_vif_record;
@@ -229,7 +229,7 @@ xen_vif_get_mac(xen_session *session, ch
  * Get the MTU field of the given VIF.
  */
 extern bool
-xen_vif_get_mtu(xen_session *session, uint64_t *result, xen_vif vif);
+xen_vif_get_mtu(xen_session *session, int64_t *result, xen_vif vif);
 
 
 /**
@@ -292,7 +292,7 @@ xen_vif_set_mac(xen_session *session, xe
  * Set the MTU field of the given VIF.
  */
 extern bool
-xen_vif_set_mtu(xen_session *session, xen_vif xen_vif, uint64_t mtu);
+xen_vif_set_mtu(xen_session *session, xen_vif xen_vif, int64_t mtu);
 
 
 #endif
diff -r 819e93d30ce2 -r 5bef3f695b55 tools/libxen/include/xen_vm.h
--- a/tools/libxen/include/xen_vm.h     Sat Oct 28 12:15:40 2006 +0100
+++ b/tools/libxen/include/xen_vm.h     Sat Oct 28 13:30:21 2006 +0100
@@ -76,17 +76,17 @@ typedef struct xen_vm_record
     enum xen_vm_power_state power_state;
     char *name_label;
     char *name_description;
-    uint64_t user_version;
+    int64_t user_version;
     bool is_a_template;
     struct xen_host_record_opt *resident_on;
-    uint64_t memory_static_max;
-    uint64_t memory_dynamic_max;
-    uint64_t memory_actual;
-    uint64_t memory_dynamic_min;
-    uint64_t memory_static_min;
+    int64_t memory_static_max;
+    int64_t memory_dynamic_max;
+    int64_t memory_actual;
+    int64_t memory_dynamic_min;
+    int64_t memory_static_min;
     char *vcpus_policy;
     char *vcpus_params;
-    uint64_t vcpus_number;
+    int64_t vcpus_number;
     xen_int_float_map *vcpus_utilisation;
     struct xen_cpu_feature_set *vcpus_features_required;
     struct xen_cpu_feature_set *vcpus_features_can_use;
@@ -255,7 +255,7 @@ xen_vm_get_name_description(xen_session 
  * Get the user_version field of the given VM.
  */
 extern bool
-xen_vm_get_user_version(xen_session *session, uint64_t *result, xen_vm vm);
+xen_vm_get_user_version(xen_session *session, int64_t *result, xen_vm vm);
 
 
 /**
@@ -276,35 +276,35 @@ xen_vm_get_resident_on(xen_session *sess
  * Get the memory/static_max field of the given VM.
  */
 extern bool
-xen_vm_get_memory_static_max(xen_session *session, uint64_t *result, xen_vm 
vm);
+xen_vm_get_memory_static_max(xen_session *session, int64_t *result, xen_vm vm);
 
 
 /**
  * Get the memory/dynamic_max field of the given VM.
  */
 extern bool
-xen_vm_get_memory_dynamic_max(xen_session *session, uint64_t *result, xen_vm 
vm);
+xen_vm_get_memory_dynamic_max(xen_session *session, int64_t *result, xen_vm 
vm);
 
 
 /**
  * Get the memory/actual field of the given VM.
  */
 extern bool
-xen_vm_get_memory_actual(xen_session *session, uint64_t *result, xen_vm vm);
+xen_vm_get_memory_actual(xen_session *session, int64_t *result, xen_vm vm);
 
 
 /**
  * Get the memory/dynamic_min field of the given VM.
  */
 extern bool
-xen_vm_get_memory_dynamic_min(xen_session *session, uint64_t *result, xen_vm 
vm);
+xen_vm_get_memory_dynamic_min(xen_session *session, int64_t *result, xen_vm 
vm);
 
 
 /**
  * Get the memory/static_min field of the given VM.
  */
 extern bool
-xen_vm_get_memory_static_min(xen_session *session, uint64_t *result, xen_vm 
vm);
+xen_vm_get_memory_static_min(xen_session *session, int64_t *result, xen_vm vm);
 
 
 /**
@@ -325,7 +325,7 @@ xen_vm_get_vcpus_params(xen_session *ses
  * Get the VCPUs/number field of the given VM.
  */
 extern bool
-xen_vm_get_vcpus_number(xen_session *session, uint64_t *result, xen_vm vm);
+xen_vm_get_vcpus_number(xen_session *session, int64_t *result, xen_vm vm);
 
 
 /**
@@ -535,7 +535,7 @@ xen_vm_set_name_description(xen_session 
  * Set the user_version field of the given VM.
  */
 extern bool
-xen_vm_set_user_version(xen_session *session, xen_vm xen_vm, uint64_t 
user_version);
+xen_vm_set_user_version(xen_session *session, xen_vm xen_vm, int64_t 
user_version);
 
 
 /**
@@ -549,14 +549,14 @@ xen_vm_set_is_a_template(xen_session *se
  * Set the memory/dynamic_max field of the given VM.
  */
 extern bool
-xen_vm_set_memory_dynamic_max(xen_session *session, xen_vm xen_vm, uint64_t 
dynamic_max);
+xen_vm_set_memory_dynamic_max(xen_session *session, xen_vm xen_vm, int64_t 
dynamic_max);
 
 
 /**
  * Set the memory/dynamic_min field of the given VM.
  */
 extern bool
-xen_vm_set_memory_dynamic_min(xen_session *session, xen_vm xen_vm, uint64_t 
dynamic_min);
+xen_vm_set_memory_dynamic_min(xen_session *session, xen_vm xen_vm, int64_t 
dynamic_min);
 
 
 /**
diff -r 819e93d30ce2 -r 5bef3f695b55 tools/libxen/include/xen_vtpm.h
--- a/tools/libxen/include/xen_vtpm.h   Sat Oct 28 12:15:40 2006 +0100
+++ b/tools/libxen/include/xen_vtpm.h   Sat Oct 28 13:30:21 2006 +0100
@@ -68,7 +68,7 @@ typedef struct xen_vtpm_record
     struct xen_vm_record_opt *vm;
     struct xen_vm_record_opt *backend;
     enum xen_driver_type driver;
-    uint64_t instance;
+    int64_t instance;
 } xen_vtpm_record;
 
 /**
@@ -203,7 +203,7 @@ xen_vtpm_get_driver(xen_session *session
  * Get the instance field of the given VTPM.
  */
 extern bool
-xen_vtpm_get_instance(xen_session *session, uint64_t *result, xen_vtpm vtpm);
+xen_vtpm_get_instance(xen_session *session, int64_t *result, xen_vtpm vtpm);
 
 
 #endif
diff -r 819e93d30ce2 -r 5bef3f695b55 tools/libxen/src/xen_common.c
--- a/tools/libxen/src/xen_common.c     Sat Oct 28 12:15:40 2006 +0100
+++ b/tools/libxen/src/xen_common.c     Sat Oct 28 13:30:21 2006 +0100
@@ -442,7 +442,7 @@ static void destring(xen_session *s, xml
         break;
 
     case INT:
-        *((uint64_t *)value) = atoll((const char *)name);
+        *((int64_t *)value) = atoll((const char *)name);
         break;
 
     case FLOAT:
@@ -458,7 +458,7 @@ static void destring(xen_session *s, xml
 /**
  * result_type : STRING => value : char **, the char * is yours.
  * result_type : ENUM   => value : int *
- * result_type : INT    => value : uint64_t *
+ * result_type : INT    => value : int64_t *
  * result_type : FLOAT  => value : double *
  * result_type : BOOL   => value : bool *
  * result_type : SET    => value : arbitrary_set **, the set is yours.
@@ -532,7 +532,7 @@ static void parse_into(xen_session *s, x
         }
         else
         {
-            ((uint64_t *)value)[slot] = (uint64_t)atoll((char *)string);
+            ((int64_t *)value)[slot] = (int64_t)atoll((char *)string);
             free(string);
         }
     }
@@ -815,7 +815,7 @@ static size_t size_of_member(const abstr
 
 /*
     case INT:
-        return sizeof(uint64_t);
+        return sizeof(int64_t);
 
     case FLOAT:
         return sizeof(double);
@@ -1146,7 +1146,7 @@ add_struct_value(const struct abstract_t
 
     case INT:
     {
-        uint64_t val = *(uint64_t *)value;
+        int64_t val = *(int64_t *)value;
         snprintf(buf, sizeof(buf), "%"PRId64, val);
         adder(node, key, "string", buf);
     }
diff -r 819e93d30ce2 -r 5bef3f695b55 tools/libxen/src/xen_host_cpu.c
--- a/tools/libxen/src/xen_host_cpu.c   Sat Oct 28 12:15:40 2006 +0100
+++ b/tools/libxen/src/xen_host_cpu.c   Sat Oct 28 13:30:21 2006 +0100
@@ -167,7 +167,7 @@ xen_host_cpu_get_host(xen_session *sessi
 
 
 bool
-xen_host_cpu_get_number(xen_session *session, uint64_t *result, xen_host_cpu 
host_cpu)
+xen_host_cpu_get_number(xen_session *session, int64_t *result, xen_host_cpu 
host_cpu)
 {
     abstract_value param_values[] =
         {
@@ -200,7 +200,7 @@ xen_host_cpu_get_vendor(xen_session *ses
 
 
 bool
-xen_host_cpu_get_speed(xen_session *session, uint64_t *result, xen_host_cpu 
host_cpu)
+xen_host_cpu_get_speed(xen_session *session, int64_t *result, xen_host_cpu 
host_cpu)
 {
     abstract_value param_values[] =
         {
diff -r 819e93d30ce2 -r 5bef3f695b55 tools/libxen/src/xen_pif.c
--- a/tools/libxen/src/xen_pif.c        Sat Oct 28 12:15:40 2006 +0100
+++ b/tools/libxen/src/xen_pif.c        Sat Oct 28 13:30:21 2006 +0100
@@ -221,7 +221,7 @@ xen_pif_get_mac(xen_session *session, ch
 
 
 bool
-xen_pif_get_mtu(xen_session *session, uint64_t *result, xen_pif pif)
+xen_pif_get_mtu(xen_session *session, int64_t *result, xen_pif pif)
 {
     abstract_value param_values[] =
         {
@@ -350,7 +350,7 @@ xen_pif_set_mac(xen_session *session, xe
 
 
 bool
-xen_pif_set_mtu(xen_session *session, xen_pif xen_pif, uint64_t mtu)
+xen_pif_set_mtu(xen_session *session, xen_pif xen_pif, int64_t mtu)
 {
     abstract_value param_values[] =
         {
diff -r 819e93d30ce2 -r 5bef3f695b55 tools/libxen/src/xen_sr.c
--- a/tools/libxen/src/xen_sr.c Sat Oct 28 12:15:40 2006 +0100
+++ b/tools/libxen/src/xen_sr.c Sat Oct 28 13:30:21 2006 +0100
@@ -220,7 +220,7 @@ xen_sr_get_vdis(xen_session *session, st
 
 
 bool
-xen_sr_get_virtual_allocation(xen_session *session, uint64_t *result, xen_sr 
sr)
+xen_sr_get_virtual_allocation(xen_session *session, int64_t *result, xen_sr sr)
 {
     abstract_value param_values[] =
         {
@@ -236,7 +236,7 @@ xen_sr_get_virtual_allocation(xen_sessio
 
 
 bool
-xen_sr_get_physical_utilisation(xen_session *session, uint64_t *result, xen_sr 
sr)
+xen_sr_get_physical_utilisation(xen_session *session, int64_t *result, xen_sr 
sr)
 {
     abstract_value param_values[] =
         {
@@ -252,7 +252,7 @@ xen_sr_get_physical_utilisation(xen_sess
 
 
 bool
-xen_sr_get_physical_size(xen_session *session, uint64_t *result, xen_sr sr)
+xen_sr_get_physical_size(xen_session *session, int64_t *result, xen_sr sr)
 {
     abstract_value param_values[] =
         {
diff -r 819e93d30ce2 -r 5bef3f695b55 tools/libxen/src/xen_vdi.c
--- a/tools/libxen/src/xen_vdi.c        Sat Oct 28 12:15:40 2006 +0100
+++ b/tools/libxen/src/xen_vdi.c        Sat Oct 28 13:30:21 2006 +0100
@@ -252,7 +252,7 @@ xen_vdi_get_vbds(xen_session *session, s
 
 
 bool
-xen_vdi_get_virtual_size(xen_session *session, uint64_t *result, xen_vdi vdi)
+xen_vdi_get_virtual_size(xen_session *session, int64_t *result, xen_vdi vdi)
 {
     abstract_value param_values[] =
         {
@@ -268,7 +268,7 @@ xen_vdi_get_virtual_size(xen_session *se
 
 
 bool
-xen_vdi_get_physical_utilisation(xen_session *session, uint64_t *result, 
xen_vdi vdi)
+xen_vdi_get_physical_utilisation(xen_session *session, int64_t *result, 
xen_vdi vdi)
 {
     abstract_value param_values[] =
         {
@@ -284,7 +284,7 @@ xen_vdi_get_physical_utilisation(xen_ses
 
 
 bool
-xen_vdi_get_sector_size(xen_session *session, uint64_t *result, xen_vdi vdi)
+xen_vdi_get_sector_size(xen_session *session, int64_t *result, xen_vdi vdi)
 {
     abstract_value param_values[] =
         {
@@ -431,7 +431,7 @@ xen_vdi_set_sr(xen_session *session, xen
 
 
 bool
-xen_vdi_set_virtual_size(xen_session *session, xen_vdi xen_vdi, uint64_t 
virtual_size)
+xen_vdi_set_virtual_size(xen_session *session, xen_vdi xen_vdi, int64_t 
virtual_size)
 {
     abstract_value param_values[] =
         {
@@ -496,7 +496,7 @@ xen_vdi_snapshot(xen_session *session, x
 
 
 bool
-xen_vdi_resize(xen_session *session, xen_vdi vdi, uint64_t size)
+xen_vdi_resize(xen_session *session, xen_vdi vdi, int64_t size)
 {
     abstract_value param_values[] =
         {
diff -r 819e93d30ce2 -r 5bef3f695b55 tools/libxen/src/xen_vif.c
--- a/tools/libxen/src/xen_vif.c        Sat Oct 28 12:15:40 2006 +0100
+++ b/tools/libxen/src/xen_vif.c        Sat Oct 28 13:30:21 2006 +0100
@@ -259,7 +259,7 @@ xen_vif_get_mac(xen_session *session, ch
 
 
 bool
-xen_vif_get_mtu(xen_session *session, uint64_t *result, xen_vif vif)
+xen_vif_get_mtu(xen_session *session, int64_t *result, xen_vif vif)
 {
     abstract_value param_values[] =
         {
@@ -403,7 +403,7 @@ xen_vif_set_mac(xen_session *session, xe
 
 
 bool
-xen_vif_set_mtu(xen_session *session, xen_vif xen_vif, uint64_t mtu)
+xen_vif_set_mtu(xen_session *session, xen_vif xen_vif, int64_t mtu)
 {
     abstract_value param_values[] =
         {
diff -r 819e93d30ce2 -r 5bef3f695b55 tools/libxen/src/xen_vm.c
--- a/tools/libxen/src/xen_vm.c Sat Oct 28 12:15:40 2006 +0100
+++ b/tools/libxen/src/xen_vm.c Sat Oct 28 13:30:21 2006 +0100
@@ -348,7 +348,7 @@ xen_vm_get_name_description(xen_session 
 
 
 bool
-xen_vm_get_user_version(xen_session *session, uint64_t *result, xen_vm vm)
+xen_vm_get_user_version(xen_session *session, int64_t *result, xen_vm vm)
 {
     abstract_value param_values[] =
         {
@@ -397,7 +397,7 @@ xen_vm_get_resident_on(xen_session *sess
 
 
 bool
-xen_vm_get_memory_static_max(xen_session *session, uint64_t *result, xen_vm vm)
+xen_vm_get_memory_static_max(xen_session *session, int64_t *result, xen_vm vm)
 {
     abstract_value param_values[] =
         {
@@ -413,7 +413,7 @@ xen_vm_get_memory_static_max(xen_session
 
 
 bool
-xen_vm_get_memory_dynamic_max(xen_session *session, uint64_t *result, xen_vm 
vm)
+xen_vm_get_memory_dynamic_max(xen_session *session, int64_t *result, xen_vm vm)
 {
     abstract_value param_values[] =
         {
@@ -429,7 +429,7 @@ xen_vm_get_memory_dynamic_max(xen_sessio
 
 
 bool
-xen_vm_get_memory_actual(xen_session *session, uint64_t *result, xen_vm vm)
+xen_vm_get_memory_actual(xen_session *session, int64_t *result, xen_vm vm)
 {
     abstract_value param_values[] =
         {
@@ -445,7 +445,7 @@ xen_vm_get_memory_actual(xen_session *se
 
 
 bool
-xen_vm_get_memory_dynamic_min(xen_session *session, uint64_t *result, xen_vm 
vm)
+xen_vm_get_memory_dynamic_min(xen_session *session, int64_t *result, xen_vm vm)
 {
     abstract_value param_values[] =
         {
@@ -461,7 +461,7 @@ xen_vm_get_memory_dynamic_min(xen_sessio
 
 
 bool
-xen_vm_get_memory_static_min(xen_session *session, uint64_t *result, xen_vm vm)
+xen_vm_get_memory_static_min(xen_session *session, int64_t *result, xen_vm vm)
 {
     abstract_value param_values[] =
         {
@@ -511,7 +511,7 @@ xen_vm_get_vcpus_params(xen_session *ses
 
 
 bool
-xen_vm_get_vcpus_number(xen_session *session, uint64_t *result, xen_vm vm)
+xen_vm_get_vcpus_number(xen_session *session, int64_t *result, xen_vm vm)
 {
     abstract_value param_values[] =
         {
@@ -1014,7 +1014,7 @@ xen_vm_set_name_description(xen_session 
 
 
 bool
-xen_vm_set_user_version(xen_session *session, xen_vm xen_vm, uint64_t 
user_version)
+xen_vm_set_user_version(xen_session *session, xen_vm xen_vm, int64_t 
user_version)
 {
     abstract_value param_values[] =
         {
@@ -1046,7 +1046,7 @@ xen_vm_set_is_a_template(xen_session *se
 
 
 bool
-xen_vm_set_memory_dynamic_max(xen_session *session, xen_vm xen_vm, uint64_t 
dynamic_max)
+xen_vm_set_memory_dynamic_max(xen_session *session, xen_vm xen_vm, int64_t 
dynamic_max)
 {
     abstract_value param_values[] =
         {
@@ -1062,7 +1062,7 @@ xen_vm_set_memory_dynamic_max(xen_sessio
 
 
 bool
-xen_vm_set_memory_dynamic_min(xen_session *session, xen_vm xen_vm, uint64_t 
dynamic_min)
+xen_vm_set_memory_dynamic_min(xen_session *session, xen_vm xen_vm, int64_t 
dynamic_min)
 {
     abstract_value param_values[] =
         {
diff -r 819e93d30ce2 -r 5bef3f695b55 tools/libxen/src/xen_vtpm.c
--- a/tools/libxen/src/xen_vtpm.c       Sat Oct 28 12:15:40 2006 +0100
+++ b/tools/libxen/src/xen_vtpm.c       Sat Oct 28 13:30:21 2006 +0100
@@ -190,7 +190,7 @@ xen_vtpm_get_driver(xen_session *session
 
 
 bool
-xen_vtpm_get_instance(xen_session *session, uint64_t *result, xen_vtpm vtpm)
+xen_vtpm_get_instance(xen_session *session, int64_t *result, xen_vtpm vtpm)
 {
     abstract_value param_values[] =
         {

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.