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

[Xen-changelog] [xen-unstable] The on-wire names for the fields should be exactly as documented, including



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID 1697ee515e460bc90bdb4958aff4aeeb4ccd0856
# Parent  f884e94474ba8a25ce60726f2b71eb012275844a
The on-wire names for the fields should be exactly as documented, including
case.

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     |    6 +++---
 tools/libxen/src/xen_sr.c      |    2 +-
 tools/libxen/src/xen_vbd.c     |    4 ++--
 tools/libxen/src/xen_vdi.c     |    4 ++--
 tools/libxen/src/xen_vif.c     |    6 +++---
 tools/libxen/src/xen_vm.c      |   12 ++++++------
 tools/libxen/src/xen_vtpm.c    |    2 +-
 9 files changed, 23 insertions(+), 23 deletions(-)

diff -r f884e94474ba -r 1697ee515e46 tools/libxen/src/xen_host.c
--- a/tools/libxen/src/xen_host.c       Sat Oct 28 11:21:35 2006 +0100
+++ b/tools/libxen/src/xen_host.c       Sat Oct 28 11:41:55 2006 +0100
@@ -52,13 +52,13 @@ static const struct_member xen_host_reco
         { .key = "software_version",
           .type = &abstract_type_string_string_map,
           .offset = offsetof(xen_host_record, software_version) },
-        { .key = "resident_vms",
+        { .key = "resident_VMs",
           .type = &abstract_type_ref_set,
           .offset = offsetof(xen_host_record, resident_vms) },
-        { .key = "pifs",
+        { .key = "PIFs",
           .type = &abstract_type_ref_set,
           .offset = offsetof(xen_host_record, pifs) },
-        { .key = "host_cpus",
+        { .key = "host_CPUs",
           .type = &abstract_type_ref_set,
           .offset = offsetof(xen_host_record, host_cpus) }
     };
diff -r f884e94474ba -r 1697ee515e46 tools/libxen/src/xen_network.c
--- a/tools/libxen/src/xen_network.c    Sat Oct 28 11:21:35 2006 +0100
+++ b/tools/libxen/src/xen_network.c    Sat Oct 28 11:41:55 2006 +0100
@@ -47,10 +47,10 @@ static const struct_member xen_network_r
         { .key = "name_description",
           .type = &abstract_type_string,
           .offset = offsetof(xen_network_record, name_description) },
-        { .key = "vifs",
+        { .key = "VIFs",
           .type = &abstract_type_ref_set,
           .offset = offsetof(xen_network_record, vifs) },
-        { .key = "pifs",
+        { .key = "PIFs",
           .type = &abstract_type_ref_set,
           .offset = offsetof(xen_network_record, pifs) },
         { .key = "default_gateway",
diff -r f884e94474ba -r 1697ee515e46 tools/libxen/src/xen_pif.c
--- a/tools/libxen/src/xen_pif.c        Sat Oct 28 11:21:35 2006 +0100
+++ b/tools/libxen/src/xen_pif.c        Sat Oct 28 11:41:55 2006 +0100
@@ -50,13 +50,13 @@ static const struct_member xen_pif_recor
         { .key = "host",
           .type = &abstract_type_ref,
           .offset = offsetof(xen_pif_record, host) },
-        { .key = "mac",
+        { .key = "MAC",
           .type = &abstract_type_string,
           .offset = offsetof(xen_pif_record, mac) },
-        { .key = "mtu",
+        { .key = "MTU",
           .type = &abstract_type_int,
           .offset = offsetof(xen_pif_record, mtu) },
-        { .key = "vlan",
+        { .key = "VLAN",
           .type = &abstract_type_string,
           .offset = offsetof(xen_pif_record, vlan) },
         { .key = "io_read_kbs",
diff -r f884e94474ba -r 1697ee515e46 tools/libxen/src/xen_sr.c
--- a/tools/libxen/src/xen_sr.c Sat Oct 28 11:21:35 2006 +0100
+++ b/tools/libxen/src/xen_sr.c Sat Oct 28 11:41:55 2006 +0100
@@ -46,7 +46,7 @@ static const struct_member xen_sr_record
         { .key = "name_description",
           .type = &abstract_type_string,
           .offset = offsetof(xen_sr_record, name_description) },
-        { .key = "vdis",
+        { .key = "VDIs",
           .type = &abstract_type_ref_set,
           .offset = offsetof(xen_sr_record, vdis) },
         { .key = "virtual_allocation",
diff -r f884e94474ba -r 1697ee515e46 tools/libxen/src/xen_vbd.c
--- a/tools/libxen/src/xen_vbd.c        Sat Oct 28 11:21:35 2006 +0100
+++ b/tools/libxen/src/xen_vbd.c        Sat Oct 28 11:41:55 2006 +0100
@@ -43,10 +43,10 @@ static const struct_member xen_vbd_recor
         { .key = "uuid",
           .type = &abstract_type_string,
           .offset = offsetof(xen_vbd_record, uuid) },
-        { .key = "vm",
+        { .key = "VM",
           .type = &abstract_type_ref,
           .offset = offsetof(xen_vbd_record, vm) },
-        { .key = "vdi",
+        { .key = "VDI",
           .type = &abstract_type_ref,
           .offset = offsetof(xen_vbd_record, vdi) },
         { .key = "device",
diff -r f884e94474ba -r 1697ee515e46 tools/libxen/src/xen_vdi.c
--- a/tools/libxen/src/xen_vdi.c        Sat Oct 28 11:21:35 2006 +0100
+++ b/tools/libxen/src/xen_vdi.c        Sat Oct 28 11:41:55 2006 +0100
@@ -48,10 +48,10 @@ static const struct_member xen_vdi_recor
         { .key = "name_description",
           .type = &abstract_type_string,
           .offset = offsetof(xen_vdi_record, name_description) },
-        { .key = "sr",
+        { .key = "SR",
           .type = &abstract_type_ref,
           .offset = offsetof(xen_vdi_record, sr) },
-        { .key = "vbds",
+        { .key = "VBDs",
           .type = &abstract_type_ref_set,
           .offset = offsetof(xen_vdi_record, vbds) },
         { .key = "virtual_size",
diff -r f884e94474ba -r 1697ee515e46 tools/libxen/src/xen_vif.c
--- a/tools/libxen/src/xen_vif.c        Sat Oct 28 11:21:35 2006 +0100
+++ b/tools/libxen/src/xen_vif.c        Sat Oct 28 11:41:55 2006 +0100
@@ -54,13 +54,13 @@ static const struct_member xen_vif_recor
         { .key = "network",
           .type = &abstract_type_ref,
           .offset = offsetof(xen_vif_record, network) },
-        { .key = "vm",
+        { .key = "VM",
           .type = &abstract_type_ref,
           .offset = offsetof(xen_vif_record, vm) },
-        { .key = "mac",
+        { .key = "MAC",
           .type = &abstract_type_string,
           .offset = offsetof(xen_vif_record, mac) },
-        { .key = "mtu",
+        { .key = "MTU",
           .type = &abstract_type_int,
           .offset = offsetof(xen_vif_record, mtu) },
         { .key = "io_read_kbs",
diff -r f884e94474ba -r 1697ee515e46 tools/libxen/src/xen_vm.c
--- a/tools/libxen/src/xen_vm.c Sat Oct 28 11:21:35 2006 +0100
+++ b/tools/libxen/src/xen_vm.c Sat Oct 28 11:41:55 2006 +0100
@@ -120,19 +120,19 @@ static const struct_member xen_vm_record
         { .key = "actions_after_crash",
           .type = &xen_on_crash_behaviour_abstract_type_,
           .offset = offsetof(xen_vm_record, actions_after_crash) },
-        { .key = "vifs",
+        { .key = "VIFs",
           .type = &abstract_type_ref_set,
           .offset = offsetof(xen_vm_record, vifs) },
-        { .key = "vbds",
+        { .key = "VBDs",
           .type = &abstract_type_ref_set,
           .offset = offsetof(xen_vm_record, vbds) },
-        { .key = "vtpms",
+        { .key = "VTPMs",
           .type = &abstract_type_ref_set,
           .offset = offsetof(xen_vm_record, vtpms) },
         { .key = "bios_boot",
           .type = &abstract_type_string,
           .offset = offsetof(xen_vm_record, bios_boot) },
-        { .key = "platform_std_vga",
+        { .key = "platform_std_VGA",
           .type = &abstract_type_bool,
           .offset = offsetof(xen_vm_record, platform_std_vga) },
         { .key = "platform_serial",
@@ -165,13 +165,13 @@ static const struct_member xen_vm_record
         { .key = "grub_cmdline",
           .type = &abstract_type_string,
           .offset = offsetof(xen_vm_record, grub_cmdline) },
-        { .key = "pci_bus",
+        { .key = "PCI_bus",
           .type = &abstract_type_string,
           .offset = offsetof(xen_vm_record, pci_bus) },
         { .key = "tools_version",
           .type = &abstract_type_string_string_map,
           .offset = offsetof(xen_vm_record, tools_version) },
-        { .key = "otherconfig",
+        { .key = "otherConfig",
           .type = &abstract_type_string_string_map,
           .offset = offsetof(xen_vm_record, otherconfig) }
     };
diff -r f884e94474ba -r 1697ee515e46 tools/libxen/src/xen_vtpm.c
--- a/tools/libxen/src/xen_vtpm.c       Sat Oct 28 11:21:35 2006 +0100
+++ b/tools/libxen/src/xen_vtpm.c       Sat Oct 28 11:41:55 2006 +0100
@@ -42,7 +42,7 @@ static const struct_member xen_vtpm_reco
         { .key = "uuid",
           .type = &abstract_type_string,
           .offset = offsetof(xen_vtpm_record, uuid) },
-        { .key = "vm",
+        { .key = "VM",
           .type = &abstract_type_ref,
           .offset = offsetof(xen_vtpm_record, vm) },
         { .key = "backend",

_______________________________________________
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®.