[PULL 00/13] Whpx fix 0 patches

Mohamed Mediouni posted 13 patches 2 weeks ago
Failed in applying to current master (apply log)
include/system/whpx-internal.h |   5 +-
target/arm/whpx/whpx-all.c     |  10 +-
target/i386/whpx/whpx-all.c    | 307 ++++++++++++++++++++++++++-------
target/i386/whpx/whpx-apic.c   |  10 +-
4 files changed, 266 insertions(+), 66 deletions(-)
[PULL 00/13] Whpx fix 0 patches
Posted by Mohamed Mediouni 2 weeks ago
The following changes since commit d73149283205645625bfa9fe029cfb68e4c4a9ae:

  Merge tag 'samuel-thibault' of https://people.debian.org/~sthibault/qemu into staging (2026-10-24 16:09:37 +0200)

are available in the Git repository at:

  https://github.com/mediouni-m/qemu tags/whpx-fix-0-pull-request

for you to fetch changes up to 2bf35950b54c1db9a6de6eb47b42cf843c6bd282:

  whpx: i386: also save debug registers (2026-11-08 02:48:18 -0700)

----------------------------------------------------------------
whpx: QEMU 11.2 pull request

This is a cut-down version of the "whpx: i386: updates for QEMU 11.2" patchset
with fixes for QEMU 11.2.

These include:

- fixing reset
- CPUID fixes (leaf 0xd)
- handle systems where nested virt is advertised but not working
- xsave fixes

----------------------------------------------------------------

Akshey Taneja (2):
  whpx: i386: do not require ProcessorFeaturesBanks on legacy Windows
  whpx: i386: fall back to xAPIC when the MSR exit bitmap is unavailable

Boden Randin (1):
  whpx: i386: avoid updating hflags for vmexits

Doug Cook (1):
  target/i386/whpx: fix VMX capability MSR values

Doug Cook (WINDOWS) (2):
  target/i386/whpx: whpx_get_xsave_state error handling
  target/i386/whpx: handle processor reset

Kostas Chatzikokolakis (1):
  whpx: i386: forward the dynamic EBX of CPUID[0xD] sub-leaves 0 and 1,
    not 1 and 2

Mohamed Mediouni (6):
  whpx: i386: get APIC state before VM save
  whpx: i386: fix TPR encodings for local APIC
  whpx: i386: save/restore xss
  whpx: i386: make nested virtualisation init failure non-fatal
  target/arm/whpx: handle processor reset
  whpx: i386: also save debug registers

 include/system/whpx-internal.h |   5 +-
 target/arm/whpx/whpx-all.c     |  10 +-
 target/i386/whpx/whpx-all.c    | 307 ++++++++++++++++++++++++++-------
 target/i386/whpx/whpx-apic.c   |  10 +-
 4 files changed, 266 insertions(+), 66 deletions(-)

-- 
2.54.0 (Apple Git-157)
Re: [PULL 00/13] Whpx fix 0 patches
Posted by Alex Bennée 2 weeks ago
Mohamed Mediouni <mohamed@unpredictable.fr> writes:

> The following changes since commit d73149283205645625bfa9fe029cfb68e4c4a9ae:
>
>   Merge tag 'samuel-thibault' of https://people.debian.org/~sthibault/qemu into staging (2026-10-24 16:09:37 +0200)
>
> are available in the Git repository at:
>
>   https://github.com/mediouni-m/qemu tags/whpx-fix-0-pull-request
>
> for you to fetch changes up to 2bf35950b54c1db9a6de6eb47b42cf843c6bd282:
>
>   whpx: i386: also save debug registers (2026-11-08 02:48:18 -0700)
>
> ----------------------------------------------------------------
> whpx: QEMU 11.2 pull request
>
> This is a cut-down version of the "whpx: i386: updates for QEMU 11.2" patchset
> with fixes for QEMU 11.2.
>
> These include:
>
> - fixing reset
> - CPUID fixes (leaf 0xd)
> - handle systems where nested virt is advertised but not working
> - xsave fixes

You need to apply your s-o-b to patches you submitting in a PR:

  https://www.qemu.org/docs/master/devel/code-provenance.html#subsystem-maintainer-requirements


>
> ----------------------------------------------------------------
>
> Akshey Taneja (2):
>   whpx: i386: do not require ProcessorFeaturesBanks on legacy Windows
>   whpx: i386: fall back to xAPIC when the MSR exit bitmap is unavailable
>
> Boden Randin (1):
>   whpx: i386: avoid updating hflags for vmexits
>
> Doug Cook (1):
>   target/i386/whpx: fix VMX capability MSR values
>
> Doug Cook (WINDOWS) (2):
>   target/i386/whpx: whpx_get_xsave_state error handling
>   target/i386/whpx: handle processor reset
>
> Kostas Chatzikokolakis (1):
>   whpx: i386: forward the dynamic EBX of CPUID[0xD] sub-leaves 0 and 1,
>     not 1 and 2
>
> Mohamed Mediouni (6):
>   whpx: i386: get APIC state before VM save
>   whpx: i386: fix TPR encodings for local APIC
>   whpx: i386: save/restore xss
>   whpx: i386: make nested virtualisation init failure non-fatal
>   target/arm/whpx: handle processor reset
>   whpx: i386: also save debug registers
>
>  include/system/whpx-internal.h |   5 +-
>  target/arm/whpx/whpx-all.c     |  10 +-
>  target/i386/whpx/whpx-all.c    | 307 ++++++++++++++++++++++++++-------
>  target/i386/whpx/whpx-apic.c   |  10 +-
>  4 files changed, 266 insertions(+), 66 deletions(-)

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro
Re: [PULL 00/13] Whpx fix 0 patches
Posted by Mohamed Mediouni 2 weeks ago

> On 8. Nov 2026, at 12:01, Alex Bennée <alex.bennee@linaro.org> wrote:
> 
> Mohamed Mediouni <mohamed@unpredictable.fr> writes:
> 
>> The following changes since commit d73149283205645625bfa9fe029cfb68e4c4a9ae:
>> 
>>  Merge tag 'samuel-thibault' of https://people.debian.org/~sthibault/qemu into staging (2026-10-24 16:09:37 +0200)
>> 
>> are available in the Git repository at:
>> 
>>  https://github.com/mediouni-m/qemu tags/whpx-fix-0-pull-request
>> 
>> for you to fetch changes up to 2bf35950b54c1db9a6de6eb47b42cf843c6bd282:
>> 
>>  whpx: i386: also save debug registers (2026-11-08 02:48:18 -0700)
>> 
>> ----------------------------------------------------------------
>> whpx: QEMU 11.2 pull request
>> 
>> This is a cut-down version of the "whpx: i386: updates for QEMU 11.2" patchset
>> with fixes for QEMU 11.2.
>> 
>> These include:
>> 
>> - fixing reset
>> - CPUID fixes (leaf 0xd)
>> - handle systems where nested virt is advertised but not working
>> - xsave fixes
> 
> You need to apply your s-o-b to patches you submitting in a PR:
> 
>  https://www.qemu.org/docs/master/devel/code-provenance.html#subsystem-maintainer-requirements

Hi,

Sent a new version with that being addressed.

Thank you,
-Mohamed
> 
> 
>> 
>> ----------------------------------------------------------------
>> 
>> Akshey Taneja (2):
>>  whpx: i386: do not require ProcessorFeaturesBanks on legacy Windows
>>  whpx: i386: fall back to xAPIC when the MSR exit bitmap is unavailable
>> 
>> Boden Randin (1):
>>  whpx: i386: avoid updating hflags for vmexits
>> 
>> Doug Cook (1):
>>  target/i386/whpx: fix VMX capability MSR values
>> 
>> Doug Cook (WINDOWS) (2):
>>  target/i386/whpx: whpx_get_xsave_state error handling
>>  target/i386/whpx: handle processor reset
>> 
>> Kostas Chatzikokolakis (1):
>>  whpx: i386: forward the dynamic EBX of CPUID[0xD] sub-leaves 0 and 1,
>>    not 1 and 2
>> 
>> Mohamed Mediouni (6):
>>  whpx: i386: get APIC state before VM save
>>  whpx: i386: fix TPR encodings for local APIC
>>  whpx: i386: save/restore xss
>>  whpx: i386: make nested virtualisation init failure non-fatal
>>  target/arm/whpx: handle processor reset
>>  whpx: i386: also save debug registers
>> 
>> include/system/whpx-internal.h |   5 +-
>> target/arm/whpx/whpx-all.c     |  10 +-
>> target/i386/whpx/whpx-all.c    | 307 ++++++++++++++++++++++++++-------
>> target/i386/whpx/whpx-apic.c   |  10 +-
>> 4 files changed, 266 insertions(+), 66 deletions(-)
> 
> -- 
> Alex Bennée
> Virtualisation Tech Lead @ Linaro