OSDN Git Service

hw/i386/xen: rearrange xen_hvm_init_pc
authorVikram Garhwal <vikram.garhwal@amd.com>
Thu, 15 Jun 2023 00:03:30 +0000 (17:03 -0700)
committerStefano Stabellini <stefano.stabellini@amd.com>
Thu, 15 Jun 2023 23:45:58 +0000 (16:45 -0700)
commit33087aacfab86c6a30721f6493391472ace0b752
treea66cdfeeac755e61a446bdfc672e73dfed90460a
parente7218dd57cb60cb03310a989149963be8c1da4fe
hw/i386/xen: rearrange xen_hvm_init_pc

In preparation to moving most of xen-hvm code to an arch-neutral location,
move non IOREQ references to:
- xen_get_vmport_regs_pfn
- xen_suspend_notifier
- xen_wakeup_notifier
- xen_ram_init

towards the end of the xen_hvm_init_pc() function.

This is done to keep the common ioreq functions in one place which will be
moved to new function in next patch in order to make it common to both x86 and
aarch64 machines.

Signed-off-by: Vikram Garhwal <vikram.garhwal@amd.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@amd.com>
Reviewed-by: Paul Durrant <paul@xen.org>
hw/i386/xen/xen-hvm.c