All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 00/14] whpx: x86 updates (2026-02)
@ 2026-02-15  5:22 Mohamed Mediouni
  2026-02-15  5:22 ` [PATCH v3 01/14] target/i386/emulate/x86_decode: Fix compiler warning Mohamed Mediouni
                   ` (13 more replies)
  0 siblings, 14 replies; 19+ messages in thread
From: Mohamed Mediouni @ 2026-02-15  5:22 UTC (permalink / raw)
  To: qemu-devel
  Cc: Phil Dennis-Jordan, Bernhard Beschow, Cameron Esfahani,
	Magnus Kulke, qemu-arm, Peter Maydell, Roman Bolshakov,
	Paolo Bonzini, Mohamed Mediouni, Pedro Barbuda,
	Daniel P. Berrangé, Marc-André Lureau, Magnus Kulke,
	Philippe Mathieu-Daudé, Wei Liu, Zhao Liu

x86_64 WHPX updates:

- target/i386/emulate fixes
- move HVF x86_mmu code to common code
- fixing debug support, which was broken since around: "gdbstub: move guest debug support check to ops"
a48e7d9e52f8fe8b47f4c74f3e99d9d677b87fe5
- switch over from winhvemulation to common x86 VM exit emulation code
- remove some log lines
- Remove WHPX CPUID traps as they're currently quite broken

Changes added since v2:
- Take target/i386/emulate patches from Bernhard Beschow
https://lore.kernel.org/qemu-devel/20260214131659.31378-1-shentey@gmail.com/
- Rework state levels to an enum
- Skip some state loading on the registers save path too

Changes added since v1:
- move HVF x86_mmu code to common code
- Use x86_mmu in WHPX MMIO exits
- Remove WHPX CPUID traps as they're currently quite broken
- Optimise MMIO vmexits by not restoring the full state

Bernhard Beschow (3):
  target/i386/emulate/x86_decode: Fix compiler warning
  target/i386/hvf/x86_mmu: Fix compiler warning
  target/i386/emulate/x86_decode: Actually use stream in
    decode_instruction_stream()

Mohamed Mediouni (11):
  target/i386: emulate, hvf: move x86_mmu to common code
  whpx: i386: re-enable guest debug support
  whpx: preparatory changes before switching over from winhvemulation
  whpx: refactor whpx_destroy_vcpu to arch-specific function
  whpx: move whpx_get_reg/whpx_set_reg to generic code
  whpx: i386: switch over from winhvemulation to target/i386/emulate
  whpx: i386: remove remaining winhvemulation support code
  whpx: i386: remove messages
  whpx: i386: remove CPUID trapping
  whpx: common, i386, arm: rework state levels
  whpx: i386: saving/restoring less state for
    WHPX_LEVEL_FAST_RUNTIME_STATE

 accel/whpx/whpx-accel-ops.c            |   8 +
 accel/whpx/whpx-common.c               |  68 +++--
 include/system/whpx-accel-ops.h        |  16 +-
 include/system/whpx-all.h              |  11 +-
 include/system/whpx-common.h           |   6 +-
 include/system/whpx-internal.h         |  16 -
 meson.build                            |   3 +-
 target/arm/whpx/whpx-all.c             |  41 +--
 target/i386/cpu.h                      |   2 +-
 target/i386/emulate/meson.build        |   2 +
 target/i386/emulate/x86_decode.c       |   6 +-
 target/i386/{hvf => emulate}/x86_mmu.c |  20 +-
 target/i386/{hvf => emulate}/x86_mmu.h |   0
 target/i386/hvf/hvf.c                  |  10 +-
 target/i386/hvf/meson.build            |   1 -
 target/i386/hvf/x86.c                  |   2 +-
 target/i386/hvf/x86_task.c             |   2 +-
 target/i386/mshv/meson.build           |   4 +
 target/i386/whpx/whpx-all.c            | 391 +++++++++----------------
 19 files changed, 253 insertions(+), 356 deletions(-)
 rename target/i386/{hvf => emulate}/x86_mmu.c (92%)
 rename target/i386/{hvf => emulate}/x86_mmu.h (100%)

-- 
2.50.1 (Apple Git-155)



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

end of thread, other threads:[~2026-02-16 20:46 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-15  5:22 [PATCH v3 00/14] whpx: x86 updates (2026-02) Mohamed Mediouni
2026-02-15  5:22 ` [PATCH v3 01/14] target/i386/emulate/x86_decode: Fix compiler warning Mohamed Mediouni
2026-02-15  5:22 ` [PATCH v3 02/14] target/i386/hvf/x86_mmu: " Mohamed Mediouni
2026-02-15  5:22 ` [PATCH v3 03/14] target/i386/emulate/x86_decode: Actually use stream in decode_instruction_stream() Mohamed Mediouni
2026-02-16 11:23   ` Magnus Kulke
2026-02-15  5:22 ` [PATCH v3 04/14] target/i386: emulate, hvf: move x86_mmu to common code Mohamed Mediouni
2026-02-15  5:22 ` [PATCH v3 05/14] whpx: i386: re-enable guest debug support Mohamed Mediouni
2026-02-15  5:22 ` [PATCH v3 06/14] whpx: preparatory changes before switching over from winhvemulation Mohamed Mediouni
2026-02-15  5:22 ` [PATCH v3 07/14] whpx: refactor whpx_destroy_vcpu to arch-specific function Mohamed Mediouni
2026-02-15  5:22 ` [PATCH v3 08/14] whpx: move whpx_get_reg/whpx_set_reg to generic code Mohamed Mediouni
2026-02-16 18:45   ` Bernhard Beschow
2026-02-15  5:22 ` [PATCH v3 09/14] whpx: i386: switch over from winhvemulation to target/i386/emulate Mohamed Mediouni
2026-02-15  5:22 ` [PATCH v3 10/14] whpx: i386: remove remaining winhvemulation support code Mohamed Mediouni
2026-02-15  5:22 ` [PATCH v3 11/14] whpx: i386: remove messages Mohamed Mediouni
2026-02-15  5:22 ` [PATCH v3 12/14] whpx: i386: remove CPUID trapping Mohamed Mediouni
2026-02-15  5:22 ` [PATCH v3 13/14] whpx: common, i386, arm: rework state levels Mohamed Mediouni
2026-02-16 17:27   ` Philippe Mathieu-Daudé
2026-02-15  5:22 ` [PATCH v3 14/14] whpx: i386: saving/restoring less state for WHPX_LEVEL_FAST_RUNTIME_STATE Mohamed Mediouni
2026-02-16 18:41   ` Bernhard Beschow

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.