diff options
author | Jan Beulich <jbeulich@suse.com> | 2023-03-13 17:45:48 +0300 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2023-03-14 17:20:51 +0300 |
commit | 934ef33ee75c3846f605f18b65048acd147e3918 (patch) | |
tree | 5b5b2fd04466a3c1528176ad31982a9fec68615e /include/xen/interface/platform.h | |
parent | 99a7bcafbd0d04555074554573019096a8c10450 (diff) | |
download | linux-934ef33ee75c3846f605f18b65048acd147e3918.tar.xz |
x86/PVH: obtain VGA console info in Dom0
A new platform-op was added to Xen to allow obtaining the same VGA
console information PV Dom0 is handed. Invoke the new function and have
the output data processed by xen_init_vga().
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/8f315e92-7bda-c124-71cc-478ab9c5e610@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'include/xen/interface/platform.h')
-rw-r--r-- | include/xen/interface/platform.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/xen/interface/platform.h b/include/xen/interface/platform.h index 655d92e803e1..79a443c65ea9 100644 --- a/include/xen/interface/platform.h +++ b/include/xen/interface/platform.h @@ -483,6 +483,8 @@ struct xenpf_symdata { }; DEFINE_GUEST_HANDLE_STRUCT(xenpf_symdata); +#define XENPF_get_dom0_console 64 + struct xen_platform_op { uint32_t cmd; uint32_t interface_version; /* XENPF_INTERFACE_VERSION */ @@ -506,6 +508,7 @@ struct xen_platform_op { struct xenpf_mem_hotadd mem_add; struct xenpf_core_parking core_parking; struct xenpf_symdata symdata; + struct dom0_vga_console_info dom0_console; uint8_t pad[128]; } u; }; |