diff options
author | Matthew Fioravante <matthew.fioravante@jhuapl.edu> | 2012-10-05 15:12:04 +0100 |
---|---|---|
committer | Matthew Fioravante <matthew.fioravante@jhuapl.edu> | 2012-10-05 15:12:04 +0100 |
commit | 5bce815d5d998383dd46a39dad9d46492aa6524f (patch) | |
tree | aeeabcfd8497b8896c7ef25b0c2be21b06856045 /tools/libxl/libxl_types.idl | |
parent | 7bb7e581a4b8f3e22bf7de6826bfa705f8f7cfaf (diff) | |
download | xen-5bce815d5d998383dd46a39dad9d46492aa6524f.tar.gz xen-5bce815d5d998383dd46a39dad9d46492aa6524f.tar.bz2 xen-5bce815d5d998383dd46a39dad9d46492aa6524f.zip |
xl/libxl: add iomem support
This patch adds a new option for xen config files for
directly mapping hardware io memory into a vm.
Signed-off-by: Matthew Fioravante <matthew.fioravante@jhuapl.edu>
Reviewed-by: George Dunlap <george.dunlap@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl index 1504997238..de111a6b5c 100644 --- a/tools/libxl/libxl_types.idl +++ b/tools/libxl/libxl_types.idl @@ -141,6 +141,11 @@ libxl_ioport_range = Struct("ioport_range", [ ("number", uint32), ]) +libxl_iomem_range = Struct("iomem_range", [ + ("start", uint64), + ("number", uint64), + ]) + libxl_vga_interface_info = Struct("vga_interface_info", [ ("kind", libxl_vga_interface_type), ]) @@ -285,6 +290,7 @@ libxl_domain_build_info = Struct("domain_build_info",[ ("ioports", Array(libxl_ioport_range, "num_ioports")), ("irqs", Array(uint32, "num_irqs")), + ("iomem", Array(libxl_iomem_range, "num_iomem")), ("u", KeyedUnion(None, libxl_domain_type, "type", [("hvm", Struct(None, [("firmware", string), |