diff options
author | Juergen Gross <jgross@suse.com> | 2017-08-04 07:36:11 -0400 |
---|---|---|
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2017-08-31 09:45:55 -0400 |
commit | 82616f9599a707e8225ceca6000dc5ea5aa78e11 (patch) | |
tree | e3312ae76269920f4a64e26f3fab966148edbe18 /arch/x86/xen/setup.c | |
parent | fff219d90c8220f9e8a254d792537503cfb93017 (diff) |
xen: remove tests for pvh mode in pure pv paths
Remove the last tests for XENFEAT_auto_translated_physmap in pure
PV-domain specific paths. PVH V1 is gone and the feature will always
be "false" in PV guests.
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'arch/x86/xen/setup.c')
-rw-r--r-- | arch/x86/xen/setup.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c index c81046323ebc..ac55c02f98e9 100644 --- a/arch/x86/xen/setup.c +++ b/arch/x86/xen/setup.c | |||
@@ -340,8 +340,6 @@ static void __init xen_do_set_identity_and_remap_chunk( | |||
340 | 340 | ||
341 | WARN_ON(size == 0); | 341 | WARN_ON(size == 0); |
342 | 342 | ||
343 | BUG_ON(xen_feature(XENFEAT_auto_translated_physmap)); | ||
344 | |||
345 | mfn_save = virt_to_mfn(buf); | 343 | mfn_save = virt_to_mfn(buf); |
346 | 344 | ||
347 | for (ident_pfn_iter = start_pfn, remap_pfn_iter = remap_pfn; | 345 | for (ident_pfn_iter = start_pfn, remap_pfn_iter = remap_pfn; |
@@ -1024,8 +1022,7 @@ void __init xen_pvmmu_arch_setup(void) | |||
1024 | void __init xen_arch_setup(void) | 1022 | void __init xen_arch_setup(void) |
1025 | { | 1023 | { |
1026 | xen_panic_handler_init(); | 1024 | xen_panic_handler_init(); |
1027 | if (!xen_feature(XENFEAT_auto_translated_physmap)) | 1025 | xen_pvmmu_arch_setup(); |
1028 | xen_pvmmu_arch_setup(); | ||
1029 | 1026 | ||
1030 | #ifdef CONFIG_ACPI | 1027 | #ifdef CONFIG_ACPI |
1031 | if (!(xen_start_info->flags & SIF_INITDOMAIN)) { | 1028 | if (!(xen_start_info->flags & SIF_INITDOMAIN)) { |