direct-io.hg

changeset 12341:e3d42ea643b0

More capitalisation fixes -- the on-wire method name should match the
documentation in terms of capitalisation.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Thu Nov 09 11:23:09 2006 +0000 (2006-11-09)
parents 329818f11f35
children eccbf694ba0b
files tools/libxen/src/xen_host.c tools/libxen/src/xen_network.c tools/libxen/src/xen_pif.c tools/libxen/src/xen_sr.c tools/libxen/src/xen_vbd.c tools/libxen/src/xen_vdi.c tools/libxen/src/xen_vif.c tools/libxen/src/xen_vm.c tools/libxen/src/xen_vtpm.c
line diff
     1.1 --- a/tools/libxen/src/xen_host.c	Thu Nov 09 11:11:38 2006 +0000
     1.2 +++ b/tools/libxen/src/xen_host.c	Thu Nov 09 11:23:09 2006 +0000
     1.3 @@ -229,7 +229,7 @@ xen_host_get_resident_vms(xen_session *s
     1.4      abstract_type result_type = abstract_type_string_set;
     1.5  
     1.6      *result = NULL;
     1.7 -    XEN_CALL_("host.get_resident_vms");
     1.8 +    XEN_CALL_("host.get_resident_VMs");
     1.9      return session->ok;
    1.10  }
    1.11  
    1.12 @@ -246,7 +246,7 @@ xen_host_get_pifs(xen_session *session, 
    1.13      abstract_type result_type = abstract_type_string_set;
    1.14  
    1.15      *result = NULL;
    1.16 -    XEN_CALL_("host.get_pifs");
    1.17 +    XEN_CALL_("host.get_PIFs");
    1.18      return session->ok;
    1.19  }
    1.20  
    1.21 @@ -263,7 +263,7 @@ xen_host_get_host_cpus(xen_session *sess
    1.22      abstract_type result_type = abstract_type_string_set;
    1.23  
    1.24      *result = NULL;
    1.25 -    XEN_CALL_("host.get_host_cpus");
    1.26 +    XEN_CALL_("host.get_host_CPUs");
    1.27      return session->ok;
    1.28  }
    1.29  
     2.1 --- a/tools/libxen/src/xen_network.c	Thu Nov 09 11:11:38 2006 +0000
     2.2 +++ b/tools/libxen/src/xen_network.c	Thu Nov 09 11:23:09 2006 +0000
     2.3 @@ -210,7 +210,7 @@ xen_network_get_vifs(xen_session *sessio
     2.4      abstract_type result_type = abstract_type_string_set;
     2.5  
     2.6      *result = NULL;
     2.7 -    XEN_CALL_("network.get_vifs");
     2.8 +    XEN_CALL_("network.get_VIFs");
     2.9      return session->ok;
    2.10  }
    2.11  
    2.12 @@ -227,7 +227,7 @@ xen_network_get_pifs(xen_session *sessio
    2.13      abstract_type result_type = abstract_type_string_set;
    2.14  
    2.15      *result = NULL;
    2.16 -    XEN_CALL_("network.get_pifs");
    2.17 +    XEN_CALL_("network.get_PIFs");
    2.18      return session->ok;
    2.19  }
    2.20  
     3.1 --- a/tools/libxen/src/xen_pif.c	Thu Nov 09 11:11:38 2006 +0000
     3.2 +++ b/tools/libxen/src/xen_pif.c	Thu Nov 09 11:23:09 2006 +0000
     3.3 @@ -215,7 +215,7 @@ xen_pif_get_mac(xen_session *session, ch
     3.4      abstract_type result_type = abstract_type_string;
     3.5  
     3.6      *result = NULL;
     3.7 -    XEN_CALL_("PIF.get_mac");
     3.8 +    XEN_CALL_("PIF.get_MAC");
     3.9      return session->ok;
    3.10  }
    3.11  
    3.12 @@ -231,7 +231,7 @@ xen_pif_get_mtu(xen_session *session, in
    3.13  
    3.14      abstract_type result_type = abstract_type_int;
    3.15  
    3.16 -    XEN_CALL_("PIF.get_mtu");
    3.17 +    XEN_CALL_("PIF.get_MTU");
    3.18      return session->ok;
    3.19  }
    3.20  
    3.21 @@ -248,7 +248,7 @@ xen_pif_get_vlan(xen_session *session, c
    3.22      abstract_type result_type = abstract_type_string;
    3.23  
    3.24      *result = NULL;
    3.25 -    XEN_CALL_("PIF.get_vlan");
    3.26 +    XEN_CALL_("PIF.get_VLAN");
    3.27      return session->ok;
    3.28  }
    3.29  
    3.30 @@ -344,7 +344,7 @@ xen_pif_set_mac(xen_session *session, xe
    3.31                .u.string_val = mac }
    3.32          };
    3.33  
    3.34 -    xen_call_(session, "PIF.set_mac", param_values, 2, NULL, NULL);
    3.35 +    xen_call_(session, "PIF.set_MAC", param_values, 2, NULL, NULL);
    3.36      return session->ok;
    3.37  }
    3.38  
    3.39 @@ -360,7 +360,7 @@ xen_pif_set_mtu(xen_session *session, xe
    3.40                .u.int_val = mtu }
    3.41          };
    3.42  
    3.43 -    xen_call_(session, "PIF.set_mtu", param_values, 2, NULL, NULL);
    3.44 +    xen_call_(session, "PIF.set_MTU", param_values, 2, NULL, NULL);
    3.45      return session->ok;
    3.46  }
    3.47  
    3.48 @@ -376,7 +376,7 @@ xen_pif_set_vlan(xen_session *session, x
    3.49                .u.string_val = vlan }
    3.50          };
    3.51  
    3.52 -    xen_call_(session, "PIF.set_vlan", param_values, 2, NULL, NULL);
    3.53 +    xen_call_(session, "PIF.set_VLAN", param_values, 2, NULL, NULL);
    3.54      return session->ok;
    3.55  }
    3.56  
     4.1 --- a/tools/libxen/src/xen_sr.c	Thu Nov 09 11:11:38 2006 +0000
     4.2 +++ b/tools/libxen/src/xen_sr.c	Thu Nov 09 11:23:09 2006 +0000
     4.3 @@ -214,7 +214,7 @@ xen_sr_get_vdis(xen_session *session, st
     4.4      abstract_type result_type = abstract_type_string_set;
     4.5  
     4.6      *result = NULL;
     4.7 -    XEN_CALL_("SR.get_vdis");
     4.8 +    XEN_CALL_("SR.get_VDIs");
     4.9      return session->ok;
    4.10  }
    4.11  
     5.1 --- a/tools/libxen/src/xen_vbd.c	Thu Nov 09 11:11:38 2006 +0000
     5.2 +++ b/tools/libxen/src/xen_vbd.c	Thu Nov 09 11:23:09 2006 +0000
     5.3 @@ -164,7 +164,7 @@ xen_vbd_get_vm(xen_session *session, xen
     5.4      abstract_type result_type = abstract_type_string;
     5.5  
     5.6      *result = NULL;
     5.7 -    XEN_CALL_("VBD.get_vm");
     5.8 +    XEN_CALL_("VBD.get_VM");
     5.9      return session->ok;
    5.10  }
    5.11  
    5.12 @@ -181,7 +181,7 @@ xen_vbd_get_vdi(xen_session *session, xe
    5.13      abstract_type result_type = abstract_type_string;
    5.14  
    5.15      *result = NULL;
    5.16 -    XEN_CALL_("VBD.get_vdi");
    5.17 +    XEN_CALL_("VBD.get_VDI");
    5.18      return session->ok;
    5.19  }
    5.20  
    5.21 @@ -280,7 +280,7 @@ xen_vbd_set_vm(xen_session *session, xen
    5.22                .u.string_val = vm }
    5.23          };
    5.24  
    5.25 -    xen_call_(session, "VBD.set_vm", param_values, 2, NULL, NULL);
    5.26 +    xen_call_(session, "VBD.set_VM", param_values, 2, NULL, NULL);
    5.27      return session->ok;
    5.28  }
    5.29  
    5.30 @@ -296,7 +296,7 @@ xen_vbd_set_vdi(xen_session *session, xe
    5.31                .u.string_val = vdi }
    5.32          };
    5.33  
    5.34 -    xen_call_(session, "VBD.set_vdi", param_values, 2, NULL, NULL);
    5.35 +    xen_call_(session, "VBD.set_VDI", param_values, 2, NULL, NULL);
    5.36      return session->ok;
    5.37  }
    5.38  
     6.1 --- a/tools/libxen/src/xen_vdi.c	Thu Nov 09 11:11:38 2006 +0000
     6.2 +++ b/tools/libxen/src/xen_vdi.c	Thu Nov 09 11:23:09 2006 +0000
     6.3 @@ -229,7 +229,7 @@ xen_vdi_get_sr(xen_session *session, xen
     6.4      abstract_type result_type = abstract_type_string;
     6.5  
     6.6      *result = NULL;
     6.7 -    XEN_CALL_("VDI.get_sr");
     6.8 +    XEN_CALL_("VDI.get_SR");
     6.9      return session->ok;
    6.10  }
    6.11  
    6.12 @@ -246,7 +246,7 @@ xen_vdi_get_vbds(xen_session *session, s
    6.13      abstract_type result_type = abstract_type_string_set;
    6.14  
    6.15      *result = NULL;
    6.16 -    XEN_CALL_("VDI.get_vbds");
    6.17 +    XEN_CALL_("VDI.get_VBDs");
    6.18      return session->ok;
    6.19  }
    6.20  
    6.21 @@ -425,7 +425,7 @@ xen_vdi_set_sr(xen_session *session, xen
    6.22                .u.string_val = sr }
    6.23          };
    6.24  
    6.25 -    xen_call_(session, "VDI.set_sr", param_values, 2, NULL, NULL);
    6.26 +    xen_call_(session, "VDI.set_SR", param_values, 2, NULL, NULL);
    6.27      return session->ok;
    6.28  }
    6.29  
     7.1 --- a/tools/libxen/src/xen_vif.c	Thu Nov 09 11:11:38 2006 +0000
     7.2 +++ b/tools/libxen/src/xen_vif.c	Thu Nov 09 11:23:09 2006 +0000
     7.3 @@ -236,7 +236,7 @@ xen_vif_get_vm(xen_session *session, xen
     7.4      abstract_type result_type = abstract_type_string;
     7.5  
     7.6      *result = NULL;
     7.7 -    XEN_CALL_("VIF.get_vm");
     7.8 +    XEN_CALL_("VIF.get_VM");
     7.9      return session->ok;
    7.10  }
    7.11  
    7.12 @@ -253,7 +253,7 @@ xen_vif_get_mac(xen_session *session, ch
    7.13      abstract_type result_type = abstract_type_string;
    7.14  
    7.15      *result = NULL;
    7.16 -    XEN_CALL_("VIF.get_mac");
    7.17 +    XEN_CALL_("VIF.get_MAC");
    7.18      return session->ok;
    7.19  }
    7.20  
    7.21 @@ -269,7 +269,7 @@ xen_vif_get_mtu(xen_session *session, in
    7.22  
    7.23      abstract_type result_type = abstract_type_int;
    7.24  
    7.25 -    XEN_CALL_("VIF.get_mtu");
    7.26 +    XEN_CALL_("VIF.get_MTU");
    7.27      return session->ok;
    7.28  }
    7.29  
    7.30 @@ -381,7 +381,7 @@ xen_vif_set_vm(xen_session *session, xen
    7.31                .u.string_val = vm }
    7.32          };
    7.33  
    7.34 -    xen_call_(session, "VIF.set_vm", param_values, 2, NULL, NULL);
    7.35 +    xen_call_(session, "VIF.set_VM", param_values, 2, NULL, NULL);
    7.36      return session->ok;
    7.37  }
    7.38  
    7.39 @@ -397,7 +397,7 @@ xen_vif_set_mac(xen_session *session, xe
    7.40                .u.string_val = mac }
    7.41          };
    7.42  
    7.43 -    xen_call_(session, "VIF.set_mac", param_values, 2, NULL, NULL);
    7.44 +    xen_call_(session, "VIF.set_MAC", param_values, 2, NULL, NULL);
    7.45      return session->ok;
    7.46  }
    7.47  
    7.48 @@ -413,7 +413,7 @@ xen_vif_set_mtu(xen_session *session, xe
    7.49                .u.int_val = mtu }
    7.50          };
    7.51  
    7.52 -    xen_call_(session, "VIF.set_mtu", param_values, 2, NULL, NULL);
    7.53 +    xen_call_(session, "VIF.set_MTU", param_values, 2, NULL, NULL);
    7.54      return session->ok;
    7.55  }
    7.56  
     8.1 --- a/tools/libxen/src/xen_vm.c	Thu Nov 09 11:11:38 2006 +0000
     8.2 +++ b/tools/libxen/src/xen_vm.c	Thu Nov 09 11:23:09 2006 +0000
     8.3 @@ -488,7 +488,7 @@ xen_vm_get_vcpus_policy(xen_session *ses
     8.4      abstract_type result_type = abstract_type_string;
     8.5  
     8.6      *result = NULL;
     8.7 -    XEN_CALL_("VM.get_vcpus_policy");
     8.8 +    XEN_CALL_("VM.get_VCPUs_policy");
     8.9      return session->ok;
    8.10  }
    8.11  
    8.12 @@ -505,7 +505,7 @@ xen_vm_get_vcpus_params(xen_session *ses
    8.13      abstract_type result_type = abstract_type_string;
    8.14  
    8.15      *result = NULL;
    8.16 -    XEN_CALL_("VM.get_vcpus_params");
    8.17 +    XEN_CALL_("VM.get_VCPUs_params");
    8.18      return session->ok;
    8.19  }
    8.20  
    8.21 @@ -521,7 +521,7 @@ xen_vm_get_vcpus_number(xen_session *ses
    8.22  
    8.23      abstract_type result_type = abstract_type_int;
    8.24  
    8.25 -    XEN_CALL_("VM.get_vcpus_number");
    8.26 +    XEN_CALL_("VM.get_VCPUs_number");
    8.27      return session->ok;
    8.28  }
    8.29  
    8.30 @@ -538,7 +538,7 @@ xen_vm_get_vcpus_utilisation(xen_session
    8.31      abstract_type result_type = abstract_type_int_float_map;
    8.32  
    8.33      *result = NULL;
    8.34 -    XEN_CALL_("VM.get_vcpus_utilisation");
    8.35 +    XEN_CALL_("VM.get_VCPUs_utilisation");
    8.36      return session->ok;
    8.37  }
    8.38  
    8.39 @@ -555,7 +555,7 @@ xen_vm_get_vcpus_features_required(xen_s
    8.40      abstract_type result_type = xen_cpu_feature_set_abstract_type_;
    8.41  
    8.42      *result = NULL;
    8.43 -    XEN_CALL_("VM.get_vcpus_features_required");
    8.44 +    XEN_CALL_("VM.get_VCPUs_features_required");
    8.45      return session->ok;
    8.46  }
    8.47  
    8.48 @@ -572,7 +572,7 @@ xen_vm_get_vcpus_features_can_use(xen_se
    8.49      abstract_type result_type = xen_cpu_feature_set_abstract_type_;
    8.50  
    8.51      *result = NULL;
    8.52 -    XEN_CALL_("VM.get_vcpus_features_can_use");
    8.53 +    XEN_CALL_("VM.get_VCPUs_features_can_use");
    8.54      return session->ok;
    8.55  }
    8.56  
    8.57 @@ -589,7 +589,7 @@ xen_vm_get_vcpus_features_force_on(xen_s
    8.58      abstract_type result_type = xen_cpu_feature_set_abstract_type_;
    8.59  
    8.60      *result = NULL;
    8.61 -    XEN_CALL_("VM.get_vcpus_features_force_on");
    8.62 +    XEN_CALL_("VM.get_VCPUs_features_force_on");
    8.63      return session->ok;
    8.64  }
    8.65  
    8.66 @@ -606,7 +606,7 @@ xen_vm_get_vcpus_features_force_off(xen_
    8.67      abstract_type result_type = xen_cpu_feature_set_abstract_type_;
    8.68  
    8.69      *result = NULL;
    8.70 -    XEN_CALL_("VM.get_vcpus_features_force_off");
    8.71 +    XEN_CALL_("VM.get_VCPUs_features_force_off");
    8.72      return session->ok;
    8.73  }
    8.74  
    8.75 @@ -691,7 +691,7 @@ xen_vm_get_vifs(xen_session *session, st
    8.76      abstract_type result_type = abstract_type_string_set;
    8.77  
    8.78      *result = NULL;
    8.79 -    XEN_CALL_("VM.get_vifs");
    8.80 +    XEN_CALL_("VM.get_VIFs");
    8.81      return session->ok;
    8.82  }
    8.83  
    8.84 @@ -708,7 +708,7 @@ xen_vm_get_vbds(xen_session *session, st
    8.85      abstract_type result_type = abstract_type_string_set;
    8.86  
    8.87      *result = NULL;
    8.88 -    XEN_CALL_("VM.get_vbds");
    8.89 +    XEN_CALL_("VM.get_VBDs");
    8.90      return session->ok;
    8.91  }
    8.92  
    8.93 @@ -725,7 +725,7 @@ xen_vm_get_vtpms(xen_session *session, s
    8.94      abstract_type result_type = abstract_type_string_set;
    8.95  
    8.96      *result = NULL;
    8.97 -    XEN_CALL_("VM.get_vtpms");
    8.98 +    XEN_CALL_("VM.get_VTPMs");
    8.99      return session->ok;
   8.100  }
   8.101  
   8.102 @@ -758,7 +758,7 @@ xen_vm_get_platform_std_vga(xen_session 
   8.103  
   8.104      abstract_type result_type = abstract_type_bool;
   8.105  
   8.106 -    XEN_CALL_("VM.get_platform_std_vga");
   8.107 +    XEN_CALL_("VM.get_platform_std_VGA");
   8.108      return session->ok;
   8.109  }
   8.110  
   8.111 @@ -942,7 +942,7 @@ xen_vm_get_pci_bus(xen_session *session,
   8.112      abstract_type result_type = abstract_type_string;
   8.113  
   8.114      *result = NULL;
   8.115 -    XEN_CALL_("VM.get_pci_bus");
   8.116 +    XEN_CALL_("VM.get_PCI_bus");
   8.117      return session->ok;
   8.118  }
   8.119  
   8.120 @@ -976,7 +976,7 @@ xen_vm_get_otherconfig(xen_session *sess
   8.121      abstract_type result_type = abstract_type_string_string_map;
   8.122  
   8.123      *result = NULL;
   8.124 -    XEN_CALL_("VM.get_otherconfig");
   8.125 +    XEN_CALL_("VM.get_otherConfig");
   8.126      return session->ok;
   8.127  }
   8.128  
     9.1 --- a/tools/libxen/src/xen_vtpm.c	Thu Nov 09 11:11:38 2006 +0000
     9.2 +++ b/tools/libxen/src/xen_vtpm.c	Thu Nov 09 11:23:09 2006 +0000
     9.3 @@ -150,7 +150,7 @@ xen_vtpm_get_vm(xen_session *session, xe
     9.4      abstract_type result_type = abstract_type_string;
     9.5  
     9.6      *result = NULL;
     9.7 -    XEN_CALL_("VTPM.get_vm");
     9.8 +    XEN_CALL_("VTPM.get_VM");
     9.9      return session->ok;
    9.10  }
    9.11