All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/16] Make CONFIG_PV work on x86
@ 2018-10-19 14:28 Wei Liu
  2018-10-19 14:28 ` [PATCH v2 01/16] x86: make mm.c build with !CONFIG_PV Wei Liu
                   ` (15 more replies)
  0 siblings, 16 replies; 61+ messages in thread
From: Wei Liu @ 2018-10-19 14:28 UTC (permalink / raw)
  To: xen-devel; +Cc: Wei Liu

Hi all

This series makes CONFIG_PV work.

Booting a hypervisor with PVH Dom0 works.

Due to an issue in Xen implementation, XTF tests cause hypervisor to crash (seen
on staging as well). But with a local patch to work around the issue,
all XTF HVM tests passed.

See v1 cover letter for more information.

Wei.

Wei Liu (16):
  x86: make mm.c build with !CONFIG_PV
  x86: put some code in arch_set_info_guest under CONFIG_PV
  x86: make traps.c build with !CONFIG_PV
  x86: make construct_dom0 build with !CONFIG_PV
  x86/pv: make guest_io_{read,write} local functions
  x86/amd: call post outb hook for both PV and HVM
  x86: put XEN_DOMCTL_{set,get}_address_size under CONFIG_PV
  x86: connect guest creation with CONFIG_PV
  x86: don't setup PV hypercall stubs and entries when !CONFIG_PV
  x86: don't setup legacy syscall vector when !CONFIG_PV
  x86: don't set sysenter_entry in vmcs when !CONFIG_PV
  x86: stub out PV only code in do_debug
  x86: rearrange x86_64/entry.S
  x86: make entry point code build when !CONFIG_PV
  x86: expose CONFIG_PV
  x86: update help string for CONFIG_HVM

 xen/arch/x86/Kconfig            |  16 ++-
 xen/arch/x86/cpu/amd.c          |   4 +-
 xen/arch/x86/dom0_build.c       |   9 +-
 xen/arch/x86/domain.c           |  12 +-
 xen/arch/x86/domctl.c           |   2 +-
 xen/arch/x86/hvm/hypercall.c    |   2 +-
 xen/arch/x86/hvm/io.c           |   2 +-
 xen/arch/x86/hvm/vmx/vmcs.c     |   7 +-
 xen/arch/x86/mm.c               | 168 +++++++++++++++++++--------------
 xen/arch/x86/pv/emul-priv-op.c  |  18 +---
 xen/arch/x86/smpboot.c          |   2 +-
 xen/arch/x86/traps.c            |  25 +++++-
 xen/arch/x86/x86_64/Makefile    |   2 +-
 xen/arch/x86/x86_64/compat/mm.c |   2 +-
 xen/arch/x86/x86_64/entry.S     | 124 +++++++++++++++---------
 xen/arch/x86/x86_64/traps.c     |   6 +-
 xen/common/domain.c             |  23 ++++-
 xen/include/asm-x86/domain.h    |   7 +-
 xen/include/asm-x86/io.h        |   2 +-
 xen/include/asm-x86/traps.h     |   5 +-
 20 files changed, 294 insertions(+), 144 deletions(-)

base-commit: 3486f398a3ddea81ea8c67be981ce31d52036b3a
-- 
git-series 0.9.1

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

end of thread, other threads:[~2018-11-02 14:33 UTC | newest]

Thread overview: 61+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-19 14:28 [PATCH v2 00/16] Make CONFIG_PV work on x86 Wei Liu
2018-10-19 14:28 ` [PATCH v2 01/16] x86: make mm.c build with !CONFIG_PV Wei Liu
2018-10-26 15:57   ` Jan Beulich
2018-10-19 14:28 ` [PATCH v2 02/16] x86: put some code in arch_set_info_guest under CONFIG_PV Wei Liu
2018-10-26 15:58   ` Jan Beulich
2018-10-19 14:28 ` [PATCH v2 03/16] x86: make traps.c build with !CONFIG_PV Wei Liu
2018-10-26 16:02   ` Jan Beulich
2018-10-30 17:48     ` Wei Liu
2018-10-19 14:28 ` [PATCH v2 04/16] x86: make construct_dom0 " Wei Liu
2018-10-19 15:04   ` Andrew Cooper
2018-10-19 14:28 ` [PATCH v2 05/16] x86/pv: make guest_io_{read, write} local functions Wei Liu
2018-10-19 15:10   ` Andrew Cooper
2018-10-19 14:28 ` [PATCH v2 06/16] x86/amd: call post outb hook for both PV and HVM Wei Liu
2018-10-19 15:55   ` Wei Liu
2018-10-29 14:00   ` Jan Beulich
2018-10-19 14:28 ` [PATCH v2 07/16] x86: put XEN_DOMCTL_{set, get}_address_size under CONFIG_PV Wei Liu
2018-10-19 15:18   ` Andrew Cooper
2018-10-30 21:08     ` Wei Liu
2018-10-29 14:28   ` Jan Beulich
2018-10-30 20:50     ` Wei Liu
2018-10-31  9:00       ` Jan Beulich
2018-10-31  9:33         ` Wei Liu
2018-10-31  9:47           ` Jan Beulich
2018-10-31  9:54             ` Wei Liu
2018-10-31 10:12               ` Jan Beulich
2018-10-19 14:28 ` [PATCH v2 08/16] x86: connect guest creation with CONFIG_PV Wei Liu
2018-10-19 15:36   ` Andrew Cooper
2018-10-19 14:28 ` [PATCH v2 09/16] x86: don't setup PV hypercall stubs and entries when !CONFIG_PV Wei Liu
2018-10-19 15:59   ` Andrew Cooper
2018-10-29 14:37     ` Jan Beulich
2018-10-30 18:08       ` Andrew Cooper
2018-10-31  8:58         ` Jan Beulich
2018-11-02 12:57           ` Wei Liu
2018-11-02 13:03             ` Jan Beulich
2018-10-29 14:33   ` Jan Beulich
2018-10-19 14:28 ` [PATCH v2 10/16] x86: don't setup legacy syscall vector " Wei Liu
2018-10-19 16:09   ` Andrew Cooper
2018-10-22 11:12     ` Wei Liu
2018-10-22 11:21       ` Andrew Cooper
2018-10-19 14:28 ` [PATCH v2 11/16] x86: don't set sysenter_entry in vmcs " Wei Liu
2018-10-19 15:42   ` Andrew Cooper
2018-10-19 16:00     ` Wei Liu
2018-10-19 16:16       ` Andrew Cooper
2018-11-02 14:05   ` Wei Liu
2018-11-02 14:32     ` Jan Beulich
2018-11-02 14:33       ` Wei Liu
2018-10-19 14:28 ` [PATCH v2 12/16] x86: stub out PV only code in do_debug Wei Liu
2018-10-19 15:43   ` Andrew Cooper
2018-10-19 14:28 ` [PATCH v2 13/16] x86: rearrange x86_64/entry.S Wei Liu
2018-10-29 14:57   ` Jan Beulich
2018-11-02 12:54     ` Wei Liu
2018-10-19 14:28 ` [PATCH v2 14/16] x86: make entry point code build when !CONFIG_PV Wei Liu
2018-10-29 15:03   ` Jan Beulich
2018-11-02 13:08     ` Wei Liu
2018-11-02 13:45       ` Jan Beulich
2018-11-02 14:14         ` Andrew Cooper
2018-10-19 14:28 ` [PATCH v2 15/16] x86: expose CONFIG_PV Wei Liu
2018-10-19 15:51   ` Andrew Cooper
2018-10-19 14:28 ` [PATCH v2 16/16] x86: update help string for CONFIG_HVM Wei Liu
2018-10-19 15:55   ` Andrew Cooper
2018-10-29 14:14   ` Jan Beulich

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.