x86/guest: rename probe_hypervisor to hypervisor_probe
PATCH 1/1 x86/guest: rename probe_hypervisor to hypervisor_probe
This matches the nomenclature used by the rest of the guest-related functions.
No functional change.
Signed-off-by Roger Pau Monné <[email protected]>
---
Cc: Jan Beulich <[email protected]>
Cc: Andrew Cooper <[email protected]>
Cc: Wei Liu <[email protected]>
--- xen/arch/x86/guest/pvh-boot.c | 2 +- xen/arch/x86/guest/xen.c | 2 +- xen/arch/x86/setup.c | 2 +- xen/include/asm-x86/guest/xen.h | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-)
xen/arch/x86/guest/pvh-boot.c +1 -1
@@ -92,7 +92,7 @@ multiboot_info_t *__init pvh_init(void) {convert_pvh_info (); -probe_hypervisor (); +hypervisor_probe ();ASSERT (xen_guest);get_memory_map ();
xen/arch/x86/guest/xen.c +1 -1
@@ -68,7 +68,7 @@ static void __init find_xen_leaves(void) } } -void __init probe_hypervisor (void ) +void __init hypervisor_probe (void ) {if ( xen_guest )return ;
xen/arch/x86/setup.c +1 -1
@@ -740,7 +740,7 @@ void __init noreturn __start_xen(unsigned long mbi_p)* allocing any xenheap structures wanted in lower memory. */ kexec_early_calculations (); -probe_hypervisor (); +hypervisor_probe ();parse_video_info ();
xen/include/asm-x86/guest/xen.h +2 -2
@@ -31,7 +31,7 @@extern bool xen_guest;extern bool pv_console; -void probe_hypervisor (void ); +void hypervisor_probe (void );void hypervisor_setup (void );void hypervisor_ap_setup (void );int hypervisor_alloc_unused_page (mfn_t *mfn);
@@ -49,7 +49,7 @@ DECLARE_PER_CPU(struct vcpu_info *, vcpu_info);#define xen_guest 0#define pv_console 0 -static inline void probe_hypervisor (void ) {} +static inline void hypervisor_probe (void ) {}static inline void hypervisor_setup (void ) {
Signature · 7 lines
2.19.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 3 lines
Quoted 1 line
Quoted 1 line · On 18.09.18 at 16:00, <[email protected]> wrote:
This matches the nomenclature used by the rest of the guest-related functions.
I'm not convinced this match in naming is more relevant than the current name imo better describing what the function does. But I'm also not overly fussed, so if others think this is the better way round - so be it.
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel