diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2012-12-19 14:33:24 +0000 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2012-12-19 14:33:24 +0000 |
commit | f9e681d3d1b8fa4900acf5af588599d0892128d0 (patch) | |
tree | 455664168c27c8b079f7776ff6415be9fc802262 /tools/libxl/libxl_types.idl | |
parent | 3eab3e1de526c3fcf9ba1317de68d05812e1c623 (diff) | |
download | xen-f9e681d3d1b8fa4900acf5af588599d0892128d0.tar.gz xen-f9e681d3d1b8fa4900acf5af588599d0892128d0.tar.bz2 xen-f9e681d3d1b8fa4900acf5af588599d0892128d0.zip |
libxl: move definition of libxl_domain_config into the IDL
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/libxl/libxl_types.idl')
-rw-r--r-- | tools/libxl/libxl_types.idl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl index 93524f0645..acc4bc9d9c 100644 --- a/tools/libxl/libxl_types.idl +++ b/tools/libxl/libxl_types.idl @@ -402,6 +402,23 @@ libxl_device_vtpm = Struct("device_vtpm", [ ("uuid", libxl_uuid), ]) +libxl_domain_config = Struct("domain_config", [ + ("c_info", libxl_domain_create_info), + ("b_info", libxl_domain_build_info), + + ("disks", Array(libxl_device_disk, "num_disks")), + ("nics", Array(libxl_device_nic, "num_nics")), + ("pcidevs", Array(libxl_device_pci, "num_pcidevs")), + ("vfbs", Array(libxl_device_vfb, "num_vfbs")), + ("vkbs", Array(libxl_device_vkb, "num_vkbs")), + ("vtpms", Array(libxl_device_vtpm, "num_vtpms")), + + ("on_poweroff", libxl_action_on_shutdown), + ("on_reboot", libxl_action_on_shutdown), + ("on_watchdog", libxl_action_on_shutdown), + ("on_crash", libxl_action_on_shutdown), + ]) + libxl_diskinfo = Struct("diskinfo", [ ("backend", string), ("backend_id", uint32), |