mbox series

[0/2] x86/hvm: fixes for RO MMIO emulation

Message ID 20250408093156.83277-1-roger.pau@citrix.com (mailing list archive)
Headers show
Series x86/hvm: fixes for RO MMIO emulation | expand

Message

Roger Pau Monné April 8, 2025, 9:31 a.m. UTC
Hello,

Two small fixes for RO MMIO emulation for HVM guests. First one removes
unreachable code from the HVM path, second fixes an issue in the
mmio_ro_emulated_write() handler when used in HVM guests context.

Thanks, Roger.

Roger Pau Monne (2):
  x86/hvm: remove unreachable MMCFG write emulation
  x86/hvm: fix write emulation of RO ranges

 xen/arch/x86/hvm/emulate.c      | 22 +++++++------------
 xen/arch/x86/include/asm/mm.h   |  3 ---
 xen/arch/x86/mm.c               | 38 ++++++---------------------------
 xen/arch/x86/pv/ro-page-fault.c | 31 +++++++++++++++++++++++++++
 4 files changed, 45 insertions(+), 49 deletions(-)