[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [RFC 18/38] x86/boot: rename pvh acpi setup function
The function pvh_setup_acpi() is dom0 specific, renaming it to dom0_pvh_setup_acpi(). Now export the function so that it may be called by the domain builder. Signed-off-by: Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx> --- xen/arch/x86/hvm/dom0_build.c | 4 ++-- xen/arch/x86/include/asm/dom0_build.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/hvm/dom0_build.c b/xen/arch/x86/hvm/dom0_build.c index a3b6afc5318a..8ea4c7bd2792 100644 --- a/xen/arch/x86/hvm/dom0_build.c +++ b/xen/arch/x86/hvm/dom0_build.c @@ -1125,7 +1125,7 @@ static int __init pvh_setup_acpi_xsdt(struct domain *d, paddr_t madt_addr, return rc; } -static int __init pvh_setup_acpi(struct domain *d, paddr_t start_info) +int __init dom0_pvh_setup_acpi(struct domain *d, paddr_t start_info) { unsigned long pfn, nr_pages; paddr_t madt_paddr, xsdt_paddr, rsdp_paddr; @@ -1283,7 +1283,7 @@ int __init dom0_construct_pvh(struct boot_domain *bd) return rc; } - rc = pvh_setup_acpi(d, start_info); + rc = dom0_pvh_setup_acpi(bd->d, start_info); if ( rc ) { printk("Failed to setup Dom0 ACPI tables: %d\n", rc); diff --git a/xen/arch/x86/include/asm/dom0_build.h b/xen/arch/x86/include/asm/dom0_build.h index e5debd5adf9f..36f563bd9d5b 100644 --- a/xen/arch/x86/include/asm/dom0_build.h +++ b/xen/arch/x86/include/asm/dom0_build.h @@ -20,6 +20,8 @@ void dom0_pv_restrict_pages( void dom0_pvh_setup_e820(struct domain *d, unsigned long nr_pages); +int dom0_pvh_setup_acpi(struct domain *d, paddr_t start_info); + int dom0_construct_pv(struct boot_domain *bd); int dom0_construct_pvh(struct boot_domain *bd); -- 2.30.2
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |