]> xenbits.xensource.com Git - xen.git/commitdiff
libxl_types.idl: replace empty Struct with None for libxl_event
authorWei Liu <wei.liu2@citrix.com>
Thu, 10 Apr 2014 15:20:22 +0000 (16:20 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 16 Apr 2014 16:06:49 +0000 (17:06 +0100)
Now we generate empty map for None, the empty Struct trick is not
necessary anymore.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl_types.idl

index 612645c174c4cb0c9c1f99952da1a1968ce9dcae..0f7bbf8ef16cba61a63192e270eb13e4767ea863 100644 (file)
@@ -588,7 +588,7 @@ libxl_event = Struct("event",[
           [("domain_shutdown", Struct(None, [
                                              ("shutdown_reason", uint8),
                                       ])),
-           ("domain_death", Struct(None, [])),
+           ("domain_death", None),
            ("disk_eject", Struct(None, [
                                         ("vdev", string),
                                         ("disk", libxl_device_disk),
@@ -596,5 +596,5 @@ libxl_event = Struct("event",[
            ("operation_complete", Struct(None, [
                                         ("rc", integer),
                                  ])),
-           ("domain_create_console_available", Struct(None, [])),
+           ("domain_create_console_available", None),
            ]))])