[PULL 00/11] MSHV changes for 2026-10-06

Magnus Kulke posted 11 patches 1 month, 2 weeks ago
Failed in applying to current master (apply log)
accel/mshv/mshv-all.c          | 170 +++++++++++++-
include/hw/hyperv/hvgdk.h      |   2 +
include/hw/hyperv/hvgdk_mini.h | 159 +++++--------
include/hw/hyperv/hvhdk.h      | 106 +++++++++
include/system/mshv_int.h      |  14 ++
target/i386/mshv/mshv-cpu.c    | 491 ++++++++++++++++++++++++++++-------------
target/i386/mshv/msr.c         |   4 +-
7 files changed, 684 insertions(+), 262 deletions(-)
[PULL 00/11] MSHV changes for 2026-10-06
Posted by Magnus Kulke 1 month, 2 weeks ago
Various minor fixes and a feature (gdb debugger support) for the Microsoft
Hypervisor (mshv) accelerator. The changes have been rebased and re-tested
individually.

My public certificate is available at:
https://mkulke.github.io/magnuskulke.asc

Primary key fingerprint:
5255 B617 7982 9168 7022 31CA 68D9 BB56 DD17 8417

The following changes since commit 3377670ee96b5a68361016680a95b9013709d4b7:

  Merge tag 'linux-user-next-pull-request' of https://github.com/hdeller/qemu-hppa into staging (2026-10-05 07:14:51 +0200)

are available in the Git repository at:

  https://github.com/mkulke/qemu.git tags/mkulke-pull-20261006

for you to fetch changes up to 7d42b0a4f52d57cd2d9e0a9ceb8ad5102219a801:

  target/i386/mshv: support single-stepping (2026-10-06 18:14:35 +0200)

----------------------------------------------------------------
mshv changes for 2026-10-06

----------------------------------------------------------------
Doru Blânzeanu (9):
      target/i386/mshv: fix read/write memory across the page boundary
      include/hw/hyperv: move hv_vp_register_page struct definition
      target/i386/mshv: abort when hv_vp_register_page setup fails
      target/i386/mshv: remove fallback for register page get registers
      target/i386/mshv: remove fallback for register page set registers
      target/i386/mshv: fix pio handlers clobbering device-modified registers
      include/hw/hyperv: add ABI for exception intercepts and pending events
      accel/mshv: add gdbstub software breakpoint support
      target/i386/mshv: support single-stepping

Magnus Kulke (2):
      target/i386/mshv: zero-init msr hvcall args
      target/i386/mshv: Fix cpu feature-leak from host

 accel/mshv/mshv-all.c          | 170 +++++++++++++-
 include/hw/hyperv/hvgdk.h      |   2 +
 include/hw/hyperv/hvgdk_mini.h | 159 +++++--------
 include/hw/hyperv/hvhdk.h      | 106 +++++++++
 include/system/mshv_int.h      |  14 ++
 target/i386/mshv/mshv-cpu.c    | 491 ++++++++++++++++++++++++++++-------------
 target/i386/mshv/msr.c         |   4 +-
 7 files changed, 684 insertions(+), 262 deletions(-)

-- 
2.34.1


Re: [PULL 00/11] MSHV changes for 2026-10-06
Posted by Michael Tokarev 1 month, 1 week ago
On 06.10.2026 19:48, Magnus Kulke wrote:
> Various minor fixes and a feature (gdb debugger support) for the Microsoft
> Hypervisor (mshv) accelerator. The changes have been rebased and re-tested
> individually.
> 
> My public certificate is available at:
> https://mkulke.github.io/magnuskulke.asc
> 
> Primary key fingerprint:
> 5255 B617 7982 9168 7022 31CA 68D9 BB56 DD17 8417
> 
> The following changes since commit 3377670ee96b5a68361016680a95b9013709d4b7:
> 
>    Merge tag 'linux-user-next-pull-request' of https://github.com/hdeller/qemu-hppa into staging (2026-10-05 07:14:51 +0200)
> 
> are available in the Git repository at:
> 
>    https://github.com/mkulke/qemu.git tags/mkulke-pull-20261006
> 
> for you to fetch changes up to 7d42b0a4f52d57cd2d9e0a9ceb8ad5102219a801:
> 
>    target/i386/mshv: support single-stepping (2026-10-06 18:14:35 +0200)
> 
> ----------------------------------------------------------------
> mshv changes for 2026-10-06
> 
> ----------------------------------------------------------------
> Doru Blânzeanu (9):
>        target/i386/mshv: fix read/write memory across the page boundary
>        include/hw/hyperv: move hv_vp_register_page struct definition
>        target/i386/mshv: abort when hv_vp_register_page setup fails
>        target/i386/mshv: remove fallback for register page get registers
>        target/i386/mshv: remove fallback for register page set registers
>        target/i386/mshv: fix pio handlers clobbering device-modified registers
>        include/hw/hyperv: add ABI for exception intercepts and pending events
>        accel/mshv: add gdbstub software breakpoint support
>        target/i386/mshv: support single-stepping
> 
> Magnus Kulke (2):
>        target/i386/mshv: zero-init msr hvcall args
>        target/i386/mshv: Fix cpu feature-leak from host

Is there anything in this patch set to be picked up for the currently
active stable qemu series (10.0.x lts and 11.1.x)?

Or do we skip mshv updates in there still?

Thanks,

/mjt

Re: [PULL 00/11] MSHV changes for 2026-10-06
Posted by Magnus Kulke 1 month, 1 week ago
On Sun, Oct 11, 2026 at 10:24:58AM +0300, Michael Tokarev wrote:
> On 06.10.2026 19:48, Magnus Kulke wrote:
> > Various minor fixes and a feature (gdb debugger support) for the Microsoft
> > Hypervisor (mshv) accelerator. The changes have been rebased and re-tested
> > individually.
> > 
> > My public certificate is available at:
> > https://mkulke.github.io/magnuskulke.asc
> > 
> > Primary key fingerprint:
> > 5255 B617 7982 9168 7022 31CA 68D9 BB56 DD17 8417
> > 
> > The following changes since commit 3377670ee96b5a68361016680a95b9013709d4b7:
> > 
> >    Merge tag 'linux-user-next-pull-request' of https://github.com/hdeller/qemu-hppa into staging (2026-10-05 07:14:51 +0200)
> > 
> > are available in the Git repository at:
> > 
> >    https://github.com/mkulke/qemu.git tags/mkulke-pull-20261006
> > 
> > for you to fetch changes up to 7d42b0a4f52d57cd2d9e0a9ceb8ad5102219a801:
> > 
> >    target/i386/mshv: support single-stepping (2026-10-06 18:14:35 +0200)
> > 
> > ----------------------------------------------------------------
> > mshv changes for 2026-10-06
> > 
> > ----------------------------------------------------------------
> > Doru Blânzeanu (9):
> >        target/i386/mshv: fix read/write memory across the page boundary
> >        include/hw/hyperv: move hv_vp_register_page struct definition
> >        target/i386/mshv: abort when hv_vp_register_page setup fails
> >        target/i386/mshv: remove fallback for register page get registers
> >        target/i386/mshv: remove fallback for register page set registers
> >        target/i386/mshv: fix pio handlers clobbering device-modified registers
> >        include/hw/hyperv: add ABI for exception intercepts and pending events
> >        accel/mshv: add gdbstub software breakpoint support
> >        target/i386/mshv: support single-stepping
> > 
> > Magnus Kulke (2):
> >        target/i386/mshv: zero-init msr hvcall args
> >        target/i386/mshv: Fix cpu feature-leak from host
> 
> Is there anything in this patch set to be picked up for the currently
> active stable qemu series (10.0.x lts and 11.1.x)?
> 
> Or do we skip mshv updates in there still?
> 
> Thanks,
> 
> /mjt

Yes, I would still skip backports of mshv code for stable qemu at this
point. access to l1vh-enabled compute is still limited and there are no
critical fixes in this set.

best,

magnus
Re: [PULL 00/11] MSHV changes for 2026-10-06
Posted by Richard Henderson 1 month, 2 weeks ago
On 10/6/26 18:48, Magnus Kulke wrote:
> Various minor fixes and a feature (gdb debugger support) for the Microsoft
> Hypervisor (mshv) accelerator. The changes have been rebased and re-tested
> individually.
> 
> My public certificate is available at:
> https://mkulke.github.io/magnuskulke.asc
> 
> Primary key fingerprint:
> 5255 B617 7982 9168 7022 31CA 68D9 BB56 DD17 8417
> 
> The following changes since commit 3377670ee96b5a68361016680a95b9013709d4b7:
> 
>    Merge tag 'linux-user-next-pull-request' ofhttps://github.com/hdeller/qemu-hppa into staging (2026-10-05 07:14:51 +0200)
> 
> are available in the Git repository at:
> 
>    https://github.com/mkulke/qemu.git tags/mkulke-pull-20261006
> 
> for you to fetch changes up to 7d42b0a4f52d57cd2d9e0a9ceb8ad5102219a801:
> 
>    target/i386/mshv: support single-stepping (2026-10-06 18:14:35 +0200)
> 
> ----------------------------------------------------------------
> mshv changes for 2026-10-06

Applied, thanks.

r~