# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID e3d42ea643b0f08b1675dcb46a0ea9ca59ccbd08
# Parent 329818f11f356cbc906b65c7a57d00edb1f9d9bb
More capitalisation fixes -- the on-wire method name should match the
documentation in terms of capitalisation.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
tools/libxen/src/xen_host.c | 6 +++---
tools/libxen/src/xen_network.c | 4 ++--
tools/libxen/src/xen_pif.c | 12 ++++++------
tools/libxen/src/xen_sr.c | 2 +-
tools/libxen/src/xen_vbd.c | 8 ++++----
tools/libxen/src/xen_vdi.c | 6 +++---
tools/libxen/src/xen_vif.c | 12 ++++++------
tools/libxen/src/xen_vm.c | 28 ++++++++++++++--------------
tools/libxen/src/xen_vtpm.c | 2 +-
9 files changed, 40 insertions(+), 40 deletions(-)
diff -r 329818f11f35 -r e3d42ea643b0 tools/libxen/src/xen_host.c
--- a/tools/libxen/src/xen_host.c Thu Nov 09 11:11:38 2006 +0000
+++ b/tools/libxen/src/xen_host.c Thu Nov 09 11:23:09 2006 +0000
@@ -229,7 +229,7 @@ xen_host_get_resident_vms(xen_session *s
abstract_type result_type = abstract_type_string_set;
*result = NULL;
- XEN_CALL_("host.get_resident_vms");
+ XEN_CALL_("host.get_resident_VMs");
return session->ok;
}
@@ -246,7 +246,7 @@ xen_host_get_pifs(xen_session *session,
abstract_type result_type = abstract_type_string_set;
*result = NULL;
- XEN_CALL_("host.get_pifs");
+ XEN_CALL_("host.get_PIFs");
return session->ok;
}
@@ -263,7 +263,7 @@ xen_host_get_host_cpus(xen_session *sess
abstract_type result_type = abstract_type_string_set;
*result = NULL;
- XEN_CALL_("host.get_host_cpus");
+ XEN_CALL_("host.get_host_CPUs");
return session->ok;
}
diff -r 329818f11f35 -r e3d42ea643b0 tools/libxen/src/xen_network.c
--- a/tools/libxen/src/xen_network.c Thu Nov 09 11:11:38 2006 +0000
+++ b/tools/libxen/src/xen_network.c Thu Nov 09 11:23:09 2006 +0000
@@ -210,7 +210,7 @@ xen_network_get_vifs(xen_session *sessio
abstract_type result_type = abstract_type_string_set;
*result = NULL;
- XEN_CALL_("network.get_vifs");
+ XEN_CALL_("network.get_VIFs");
return session->ok;
}
@@ -227,7 +227,7 @@ xen_network_get_pifs(xen_session *sessio
abstract_type result_type = abstract_type_string_set;
*result = NULL;
- XEN_CALL_("network.get_pifs");
+ XEN_CALL_("network.get_PIFs");
return session->ok;
}
diff -r 329818f11f35 -r e3d42ea643b0 tools/libxen/src/xen_pif.c
--- a/tools/libxen/src/xen_pif.c Thu Nov 09 11:11:38 2006 +0000
+++ b/tools/libxen/src/xen_pif.c Thu Nov 09 11:23:09 2006 +0000
@@ -215,7 +215,7 @@ xen_pif_get_mac(xen_session *session, ch
abstract_type result_type = abstract_type_string;
*result = NULL;
- XEN_CALL_("PIF.get_mac");
+ XEN_CALL_("PIF.get_MAC");
return session->ok;
}
@@ -231,7 +231,7 @@ xen_pif_get_mtu(xen_session *session, in
abstract_type result_type = abstract_type_int;
- XEN_CALL_("PIF.get_mtu");
+ XEN_CALL_("PIF.get_MTU");
return session->ok;
}
@@ -248,7 +248,7 @@ xen_pif_get_vlan(xen_session *session, c
abstract_type result_type = abstract_type_string;
*result = NULL;
- XEN_CALL_("PIF.get_vlan");
+ XEN_CALL_("PIF.get_VLAN");
return session->ok;
}
@@ -344,7 +344,7 @@ xen_pif_set_mac(xen_session *session, xe
.u.string_val = mac }
};
- xen_call_(session, "PIF.set_mac", param_values, 2, NULL, NULL);
+ xen_call_(session, "PIF.set_MAC", param_values, 2, NULL, NULL);
return session->ok;
}
@@ -360,7 +360,7 @@ xen_pif_set_mtu(xen_session *session, xe
.u.int_val = mtu }
};
- xen_call_(session, "PIF.set_mtu", param_values, 2, NULL, NULL);
+ xen_call_(session, "PIF.set_MTU", param_values, 2, NULL, NULL);
return session->ok;
}
@@ -376,7 +376,7 @@ xen_pif_set_vlan(xen_session *session, x
.u.string_val = vlan }
};
- xen_call_(session, "PIF.set_vlan", param_values, 2, NULL, NULL);
+ xen_call_(session, "PIF.set_VLAN", param_values, 2, NULL, NULL);
return session->ok;
}
diff -r 329818f11f35 -r e3d42ea643b0 tools/libxen/src/xen_sr.c
--- a/tools/libxen/src/xen_sr.c Thu Nov 09 11:11:38 2006 +0000
+++ b/tools/libxen/src/xen_sr.c Thu Nov 09 11:23:09 2006 +0000
@@ -214,7 +214,7 @@ xen_sr_get_vdis(xen_session *session, st
abstract_type result_type = abstract_type_string_set;
*result = NULL;
- XEN_CALL_("SR.get_vdis");
+ XEN_CALL_("SR.get_VDIs");
return session->ok;
}
diff -r 329818f11f35 -r e3d42ea643b0 tools/libxen/src/xen_vbd.c
--- a/tools/libxen/src/xen_vbd.c Thu Nov 09 11:11:38 2006 +0000
+++ b/tools/libxen/src/xen_vbd.c Thu Nov 09 11:23:09 2006 +0000
@@ -164,7 +164,7 @@ xen_vbd_get_vm(xen_session *session, xen
abstract_type result_type = abstract_type_string;
*result = NULL;
- XEN_CALL_("VBD.get_vm");
+ XEN_CALL_("VBD.get_VM");
return session->ok;
}
@@ -181,7 +181,7 @@ xen_vbd_get_vdi(xen_session *session, xe
abstract_type result_type = abstract_type_string;
*result = NULL;
- XEN_CALL_("VBD.get_vdi");
+ XEN_CALL_("VBD.get_VDI");
return session->ok;
}
@@ -280,7 +280,7 @@ xen_vbd_set_vm(xen_session *session, xen
.u.string_val = vm }
};
- xen_call_(session, "VBD.set_vm", param_values, 2, NULL, NULL);
+ xen_call_(session, "VBD.set_VM", param_values, 2, NULL, NULL);
return session->ok;
}
@@ -296,7 +296,7 @@ xen_vbd_set_vdi(xen_session *session, xe
.u.string_val = vdi }
};
- xen_call_(session, "VBD.set_vdi", param_values, 2, NULL, NULL);
+ xen_call_(session, "VBD.set_VDI", param_values, 2, NULL, NULL);
return session->ok;
}
diff -r 329818f11f35 -r e3d42ea643b0 tools/libxen/src/xen_vdi.c
--- a/tools/libxen/src/xen_vdi.c Thu Nov 09 11:11:38 2006 +0000
+++ b/tools/libxen/src/xen_vdi.c Thu Nov 09 11:23:09 2006 +0000
@@ -229,7 +229,7 @@ xen_vdi_get_sr(xen_session *session, xen
abstract_type result_type = abstract_type_string;
*result = NULL;
- XEN_CALL_("VDI.get_sr");
+ XEN_CALL_("VDI.get_SR");
return session->ok;
}
@@ -246,7 +246,7 @@ xen_vdi_get_vbds(xen_session *session, s
abstract_type result_type = abstract_type_string_set;
*result = NULL;
- XEN_CALL_("VDI.get_vbds");
+ XEN_CALL_("VDI.get_VBDs");
return session->ok;
}
@@ -425,7 +425,7 @@ xen_vdi_set_sr(xen_session *session, xen
.u.string_val = sr }
};
- xen_call_(session, "VDI.set_sr", param_values, 2, NULL, NULL);
+ xen_call_(session, "VDI.set_SR", param_values, 2, NULL, NULL);
return session->ok;
}
diff -r 329818f11f35 -r e3d42ea643b0 tools/libxen/src/xen_vif.c
--- a/tools/libxen/src/xen_vif.c Thu Nov 09 11:11:38 2006 +0000
+++ b/tools/libxen/src/xen_vif.c Thu Nov 09 11:23:09 2006 +0000
@@ -236,7 +236,7 @@ xen_vif_get_vm(xen_session *session, xen
abstract_type result_type = abstract_type_string;
*result = NULL;
- XEN_CALL_("VIF.get_vm");
+ XEN_CALL_("VIF.get_VM");
return session->ok;
}
@@ -253,7 +253,7 @@ xen_vif_get_mac(xen_session *session, ch
abstract_type result_type = abstract_type_string;
*result = NULL;
- XEN_CALL_("VIF.get_mac");
+ XEN_CALL_("VIF.get_MAC");
return session->ok;
}
@@ -269,7 +269,7 @@ xen_vif_get_mtu(xen_session *session, in
abstract_type result_type = abstract_type_int;
- XEN_CALL_("VIF.get_mtu");
+ XEN_CALL_("VIF.get_MTU");
return session->ok;
}
@@ -381,7 +381,7 @@ xen_vif_set_vm(xen_session *session, xen
.u.string_val = vm }
};
- xen_call_(session, "VIF.set_vm", param_values, 2, NULL, NULL);
+ xen_call_(session, "VIF.set_VM", param_values, 2, NULL, NULL);
return session->ok;
}
@@ -397,7 +397,7 @@ xen_vif_set_mac(xen_session *session, xe
.u.string_val = mac }
};
- xen_call_(session, "VIF.set_mac", param_values, 2, NULL, NULL);
+ xen_call_(session, "VIF.set_MAC", param_values, 2, NULL, NULL);
return session->ok;
}
@@ -413,7 +413,7 @@ xen_vif_set_mtu(xen_session *session, xe
.u.int_val = mtu }
};
- xen_call_(session, "VIF.set_mtu", param_values, 2, NULL, NULL);
+ xen_call_(session, "VIF.set_MTU", param_values, 2, NULL, NULL);
return session->ok;
}
diff -r 329818f11f35 -r e3d42ea643b0 tools/libxen/src/xen_vm.c
--- a/tools/libxen/src/xen_vm.c Thu Nov 09 11:11:38 2006 +0000
+++ b/tools/libxen/src/xen_vm.c Thu Nov 09 11:23:09 2006 +0000
@@ -488,7 +488,7 @@ xen_vm_get_vcpus_policy(xen_session *ses
abstract_type result_type = abstract_type_string;
*result = NULL;
- XEN_CALL_("VM.get_vcpus_policy");
+ XEN_CALL_("VM.get_VCPUs_policy");
return session->ok;
}
@@ -505,7 +505,7 @@ xen_vm_get_vcpus_params(xen_session *ses
abstract_type result_type = abstract_type_string;
*result = NULL;
- XEN_CALL_("VM.get_vcpus_params");
+ XEN_CALL_("VM.get_VCPUs_params");
return session->ok;
}
@@ -521,7 +521,7 @@ xen_vm_get_vcpus_number(xen_session *ses
abstract_type result_type = abstract_type_int;
- XEN_CALL_("VM.get_vcpus_number");
+ XEN_CALL_("VM.get_VCPUs_number");
return session->ok;
}
@@ -538,7 +538,7 @@ xen_vm_get_vcpus_utilisation(xen_session
abstract_type result_type = abstract_type_int_float_map;
*result = NULL;
- XEN_CALL_("VM.get_vcpus_utilisation");
+ XEN_CALL_("VM.get_VCPUs_utilisation");
return session->ok;
}
@@ -555,7 +555,7 @@ xen_vm_get_vcpus_features_required(xen_s
abstract_type result_type = xen_cpu_feature_set_abstract_type_;
*result = NULL;
- XEN_CALL_("VM.get_vcpus_features_required");
+ XEN_CALL_("VM.get_VCPUs_features_required");
return session->ok;
}
@@ -572,7 +572,7 @@ xen_vm_get_vcpus_features_can_use(xen_se
abstract_type result_type = xen_cpu_feature_set_abstract_type_;
*result = NULL;
- XEN_CALL_("VM.get_vcpus_features_can_use");
+ XEN_CALL_("VM.get_VCPUs_features_can_use");
return session->ok;
}
@@ -589,7 +589,7 @@ xen_vm_get_vcpus_features_force_on(xen_s
abstract_type result_type = xen_cpu_feature_set_abstract_type_;
*result = NULL;
- XEN_CALL_("VM.get_vcpus_features_force_on");
+ XEN_CALL_("VM.get_VCPUs_features_force_on");
return session->ok;
}
@@ -606,7 +606,7 @@ xen_vm_get_vcpus_features_force_off(xen_
abstract_type result_type = xen_cpu_feature_set_abstract_type_;
*result = NULL;
- XEN_CALL_("VM.get_vcpus_features_force_off");
+ XEN_CALL_("VM.get_VCPUs_features_force_off");
return session->ok;
}
@@ -691,7 +691,7 @@ xen_vm_get_vifs(xen_session *session, st
abstract_type result_type = abstract_type_string_set;
*result = NULL;
- XEN_CALL_("VM.get_vifs");
+ XEN_CALL_("VM.get_VIFs");
return session->ok;
}
@@ -708,7 +708,7 @@ xen_vm_get_vbds(xen_session *session, st
abstract_type result_type = abstract_type_string_set;
*result = NULL;
- XEN_CALL_("VM.get_vbds");
+ XEN_CALL_("VM.get_VBDs");
return session->ok;
}
@@ -725,7 +725,7 @@ xen_vm_get_vtpms(xen_session *session, s
abstract_type result_type = abstract_type_string_set;
*result = NULL;
- XEN_CALL_("VM.get_vtpms");
+ XEN_CALL_("VM.get_VTPMs");
return session->ok;
}
@@ -758,7 +758,7 @@ xen_vm_get_platform_std_vga(xen_session
abstract_type result_type = abstract_type_bool;
- XEN_CALL_("VM.get_platform_std_vga");
+ XEN_CALL_("VM.get_platform_std_VGA");
return session->ok;
}
@@ -942,7 +942,7 @@ xen_vm_get_pci_bus(xen_session *session,
abstract_type result_type = abstract_type_string;
*result = NULL;
- XEN_CALL_("VM.get_pci_bus");
+ XEN_CALL_("VM.get_PCI_bus");
return session->ok;
}
@@ -976,7 +976,7 @@ xen_vm_get_otherconfig(xen_session *sess
abstract_type result_type = abstract_type_string_string_map;
*result = NULL;
- XEN_CALL_("VM.get_otherconfig");
+ XEN_CALL_("VM.get_otherConfig");
return session->ok;
}
diff -r 329818f11f35 -r e3d42ea643b0 tools/libxen/src/xen_vtpm.c
--- a/tools/libxen/src/xen_vtpm.c Thu Nov 09 11:11:38 2006 +0000
+++ b/tools/libxen/src/xen_vtpm.c Thu Nov 09 11:23:09 2006 +0000
@@ -150,7 +150,7 @@ xen_vtpm_get_vm(xen_session *session, xe
abstract_type result_type = abstract_type_string;
*result = NULL;
- XEN_CALL_("VTPM.get_vm");
+ XEN_CALL_("VTPM.get_VM");
return session->ok;
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|