From: Wei Liu Date: Thu, 10 Apr 2014 15:20:22 +0000 (+0100) Subject: libxl_types.idl: replace empty Struct with None for libxl_event X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~5202 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a842594822716da314a685b148c59089994e4194;p=xen.git libxl_types.idl: replace empty Struct with None for libxl_event Now we generate empty map for None, the empty Struct trick is not necessary anymore. Signed-off-by: Wei Liu Acked-by: Ian Campbell --- diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl index 612645c174..0f7bbf8ef1 100644 --- a/tools/libxl/libxl_types.idl +++ b/tools/libxl/libxl_types.idl @@ -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), ]))])