All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] x86/xen: support booting PVH guest via standard boot path
@ 2017-11-08  9:07 Juergen Gross
  2017-11-08  9:07 ` [PATCH 1/3] x86/acpi: add test for ACPI_FADT_NO_VGA Juergen Gross
                   ` (5 more replies)
  0 siblings, 6 replies; 51+ messages in thread
From: Juergen Gross @ 2017-11-08  9:07 UTC (permalink / raw)
  To: linux-kernel, x86, kvm, xen-devel
  Cc: tglx, mingo, hpa, boris.ostrovsky, pbonzini, rkrcmar, rjw,
	len.brown, pavel, Juergen Gross

Booting a Xen PVH guest requires a special boot entry as it is
mandatory to setup some Xen-specific interfaces rather early. When grub
or OVMF are used as boot loaders, however, those will fill the boot
parameters in zeropage and there is no longer a need to do something
PVH specific in the early boot path.

This patch series adds support for that scenario by identifying PVH
environment and doing the required init steps via Xen hooks instead of
using a dedicated boot entry.

The dedicated entry is still needed for support of Dom0 running in PVH
mode as in this case there is no grub or OVMF involved for filling in
the boot parameters.

Juergen Gross (3):
  x86/acpi: add test for ACPI_FADT_NO_VGA
  x86: add guest_late_init hook to hypervisor_x86 structure
  x86/xen: use guest_late_init to detect Xen PVH guest

 arch/x86/include/asm/hypervisor.h | 11 +++++++++++
 arch/x86/include/asm/kvm_para.h   |  2 --
 arch/x86/include/asm/x86_init.h   |  1 +
 arch/x86/kernel/acpi/boot.c       |  5 +++++
 arch/x86/kernel/kvm.c             |  3 ++-
 arch/x86/kernel/setup.c           |  2 +-
 arch/x86/xen/enlighten_hvm.c      | 24 ++++++++++++++++++++++--
 arch/x86/xen/enlighten_pvh.c      |  9 ---------
 8 files changed, 42 insertions(+), 15 deletions(-)

-- 
2.12.3

^ permalink raw reply	[flat|nested] 51+ messages in thread

end of thread, other threads:[~2017-11-08 14:24 UTC | newest]

Thread overview: 51+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-08  9:07 [PATCH 0/3] x86/xen: support booting PVH guest via standard boot path Juergen Gross
2017-11-08  9:07 ` [PATCH 1/3] x86/acpi: add test for ACPI_FADT_NO_VGA Juergen Gross
2017-11-08  9:07 ` Juergen Gross
2017-11-08  9:07 ` [PATCH 2/3] x86: add guest_late_init hook to hypervisor_x86 structure Juergen Gross
2017-11-08  9:07   ` Juergen Gross
2017-11-08  9:13   ` Ingo Molnar
2017-11-08  9:27     ` Juergen Gross
2017-11-08  9:40       ` Ingo Molnar
2017-11-08  9:40       ` Ingo Molnar
2017-11-08  9:49         ` Juergen Gross
2017-11-08  9:58           ` Ingo Molnar
2017-11-08  9:58           ` Ingo Molnar
2017-11-08  9:49         ` Juergen Gross
2017-11-08  9:27     ` Juergen Gross
2017-11-08  9:13   ` Ingo Molnar
2017-11-08  9:53   ` Paolo Bonzini
2017-11-08  9:53   ` Paolo Bonzini
2017-11-08  9:07 ` [PATCH 3/3] x86/xen: use guest_late_init to detect Xen PVH guest Juergen Gross
2017-11-08  9:07   ` Juergen Gross
2017-11-08 11:18   ` [Xen-devel] " Jan Beulich
2017-11-08 11:18   ` Jan Beulich
     [not found]   ` <5A02F633020000780018D26A@suse.com>
2017-11-08 11:55     ` Juergen Gross
2017-11-08 11:55     ` [Xen-devel] " Juergen Gross
2017-11-08 12:03       ` Paolo Bonzini
2017-11-08 12:24         ` Juergen Gross
2017-11-08 12:26           ` Paolo Bonzini
2017-11-08 12:26           ` [Xen-devel] " Paolo Bonzini
2017-11-08 12:40             ` Juergen Gross
2017-11-08 12:40             ` Juergen Gross
2017-11-08 12:24         ` Juergen Gross
2017-11-08 12:03       ` Paolo Bonzini
2017-11-08 12:31       ` [Xen-devel] " Jan Beulich
2017-11-08 12:45         ` Juergen Gross
2017-11-08 12:45         ` [Xen-devel] " Juergen Gross
2017-11-08 12:58           ` Jan Beulich
2017-11-08 12:58           ` [Xen-devel] " Jan Beulich
     [not found]           ` <5A030D78020000780018D37B@suse.com>
2017-11-08 13:36             ` Juergen Gross
2017-11-08 14:10               ` Boris Ostrovsky
2017-11-08 14:17                 ` Juergen Gross
2017-11-08 14:24                   ` Boris Ostrovsky
2017-11-08 14:24                   ` Boris Ostrovsky
2017-11-08 14:17                 ` Juergen Gross
2017-11-08 14:10               ` Boris Ostrovsky
2017-11-08 13:36             ` Juergen Gross
2017-11-08 12:31       ` Jan Beulich
2017-11-08 13:37 ` [PATCH 0/3] x86/xen: support booting PVH guest via standard boot path Boris Ostrovsky
2017-11-08 13:40   ` Juergen Gross
2017-11-08 13:40   ` Juergen Gross
2017-11-08 13:47     ` Boris Ostrovsky
2017-11-08 13:47     ` Boris Ostrovsky
2017-11-08 13:37 ` Boris Ostrovsky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.