Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 4e56e89d6c81589cc47cf5811f570c67889bd18a
      
https://github.com/qemu/qemu/commit/4e56e89d6c81589cc47cf5811f570c67889bd18a
  Author: Richard Henderson <[email protected]>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M VERSION

  Log Message:
  -----------
  Update version for v9.1.0-rc0 release

Signed-off-by: Richard Henderson <[email protected]>


  Commit: c4afcec90f117e703666e2436592cc4e825ef2a1
      
https://github.com/qemu/qemu/commit/c4afcec90f117e703666e2436592cc4e825ef2a1
  Author: Richard Henderson <[email protected]>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M tests/vm/openbsd

  Log Message:
  -----------
  tests/vm/openbsd: Install tomli

OpenBSD still defaults to python 3.10, therefore tomli is now required by 
configure.

Signed-off-by: Richard Henderson <[email protected]>
Link: 
https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 39635ccd0b4935ecbf184cf4544fce92d5827de2
      
https://github.com/qemu/qemu/commit/39635ccd0b4935ecbf184cf4544fce92d5827de2
  Author: Xiong Zhang <[email protected]>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M target/i386/cpu.c

  Log Message:
  -----------
  target/i386: Change unavail from u32 to u64

The feature word 'r' is a u64, and "unavail" is a u32, the operation
'r &= ~unavail' clears the high 32 bits of 'r'. This causes many vmx cases
in kvm-unit-tests to fail. Changing 'unavail' from u32 to u64 fixes this
issue.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2442
Fixes: 0b2757412cb1 ("target/i386: drop AMD machine check bits from Intel 
CPUID")
Signed-off-by: Xiong Zhang <[email protected]>
Link: 
https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: eee194dd7120f62896d5fbffeba8ab2ec39a09da
      
https://github.com/qemu/qemu/commit/eee194dd7120f62896d5fbffeba8ab2ec39a09da
  Author: Zhao Liu <[email protected]>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M target/i386/cpu.c

  Log Message:
  -----------
  target/i386/cpu: Remove unnecessary SGX feature words checks

CPUID.0x7.0.ebx and CPUID.0x7.0.ecx leaves have been expressed as the
feature word lists, and the Host capability support has been checked
in x86_cpu_filter_features().

Therefore, such checks on SGX feature "words" are redundant, and
the follow-up adjustments to those feature "words" will not actually
take effect.

Remove unnecessary SGX feature words related checks.

Signed-off-by: Zhao Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 4912d6990b806177733efc1365110cd2d92513fa
      
https://github.com/qemu/qemu/commit/4912d6990b806177733efc1365110cd2d92513fa
  Author: Zhao Liu <[email protected]>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M target/i386/cpu.c

  Log Message:
  -----------
  target/i386/cpu: Explicitly express SGX_LC and SGX feature words dependency

At present, cpu_x86_cpuid() silently masks off SGX_LC if SGX is absent.

This is not proper because the user is not told about the dependency
between the two.

So explicitly define the dependency between SGX_LC and SGX feature
words, so that user could get a warning when SGX_LC is enabled but
SGX is absent.

Signed-off-by: Zhao Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 3722a98948d4fedec7a8c4575f520b346b6bc923
      
https://github.com/qemu/qemu/commit/3722a98948d4fedec7a8c4575f520b346b6bc923
  Author: Zhao Liu <[email protected]>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M target/i386/cpu.c

  Log Message:
  -----------
  target/i386/cpu: Add dependencies of CPUID 0x12 leaves

As SDM stated, CPUID 0x12 leaves depend on CPUID_7_0_EBX_SGX (SGX
feature word).

Since FEAT_SGX_12_0_EAX, FEAT_SGX_12_0_EBX and FEAT_SGX_12_1_EAX define
multiple feature words, add the dependencies of those registers to
report the warning to user if SGX is absent.

Signed-off-by: Zhao Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: ada1f3cab32a4eded6a453c2e22fc897009da555
      
https://github.com/qemu/qemu/commit/ada1f3cab32a4eded6a453c2e22fc897009da555
  Author: Zhao Liu <[email protected]>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M hw/i386/sgx-stub.c
    M hw/i386/sgx.c
    M include/hw/i386/sgx-epc.h
    M target/i386/cpu.c

  Log Message:
  -----------
  target/i386/cpu: Mask off SGX/SGX_LC feature words for non-PC machine

Only PC machine supports SGX, so mask off SGX related feature words for
non-PC machine (microvm).

Signed-off-by: Zhao Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 5997fbdfaca3e69062c2b706d6228c7c6e133c03
      
https://github.com/qemu/qemu/commit/5997fbdfaca3e69062c2b706d6228c7c6e133c03
  Author: Anthony Harivel <[email protected]>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M target/i386/kvm/kvm.c

  Log Message:
  -----------
  target/i386: Fix typo that assign same value twice

Should fix: CID 1558553

Signed-off-by: Anthony Harivel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 6e623af30130fce6e94c717176f3e3c9f2742b7d
      
https://github.com/qemu/qemu/commit/6e623af30130fce6e94c717176f3e3c9f2742b7d
  Author: Anthony Harivel <[email protected]>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M target/i386/kvm/vmsr_energy.c

  Log Message:
  -----------
  target/i386: Clean up error cases for vmsr_read_thread_stat()

Fix leaking memory of file handle in case of error
Erase unused "pid = -1"
Add clearer error_report

Should fix Coverity CID 1558557.

Signed-off-by: Anthony Harivel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 768a28394c9412fe1cfdf48509713fd11779a658
      
https://github.com/qemu/qemu/commit/768a28394c9412fe1cfdf48509713fd11779a658
  Author: Paolo Bonzini <[email protected]>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M tools/i386/qemu-vmsr-helper.c

  Log Message:
  -----------
  qemu-vmsr-helper: fix socket loop breakage

Between v5 and v6 of the series, the socket loop of qemu-vmsr-helper was 
changed to
allow sending multiple requests on the same socket.  Unfortunately, the 
condition
of the while loop is botched and the loop will never be entered.  Clean it up, 
and
also unify the handling of error reporting.

Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: 2a99c2ba822ef9758d739ffdefbe6252520c1719
      
https://github.com/qemu/qemu/commit/2a99c2ba822ef9758d739ffdefbe6252520c1719
  Author: Paolo Bonzini <[email protected]>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M tools/i386/qemu-vmsr-helper.c

  Log Message:
  -----------
  qemu-vmsr-helper: implement --verbose/-v

Similar to qemu-pr-helper, do not print errors from the socket handling loop
unless a --verbose or -v option is provided explicitly on the command line.

Signed-off-by: Paolo Bonzini <[email protected]>


  Commit: e9d2db818ff934afb366aea566d0b33acf7bced1
      
https://github.com/qemu/qemu/commit/e9d2db818ff934afb366aea566d0b33acf7bced1
  Author: Richard Henderson <[email protected]>
  Date:   2024-08-01 (Thu, 01 Aug 2024)

  Changed paths:
    M hw/i386/sgx-stub.c
    M hw/i386/sgx.c
    M include/hw/i386/sgx-epc.h
    M target/i386/cpu.c
    M target/i386/kvm/kvm.c
    M target/i386/kvm/vmsr_energy.c
    M tests/vm/openbsd
    M tools/i386/qemu-vmsr-helper.c

  Log Message:
  -----------
  Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging

* target/i386: qemu-vmsr-helper fixes
* target/i386: mask off SGX/SGX_LC feature words for non-PC machine
* tests/vm/openbsd: Install tomli
* fix issue with 64-bit features (vmx kvm-unit-tests)

# -----BEGIN PGP SIGNATURE-----
#
# iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmaqHL4UHHBib256aW5p
# QHJlZGhhdC5jb20ACgkQv/vSX3jHroPuuwgAhZwTHl1MkjIbIX7IRq39ORmOmk9a
# vNqn32MLsUnSpV1JYrwzLgsNciTDhNkEL56Y4XwFbSUUyen0vvmcEH+/bCVKWb98
# jBk0iHXzfkk3GBd/ZLd4NW/LEeOZY4YBFNzyfhQGP47vSUAle/+VDdqukfJ9rj3J
# o8Mx3YJjYcvoI21WZyhyLGdJtj/yBPwCfxrmhhJAWctIES78/sp1tP0UfmFcysss
# nd7PrAoAXPc2MhBTJk7IwyXSJCnGnDsE4rQXqiVV+TN0S60Zcz+1jzqx0vgzHAk4
# 2oFKdnqxwSO8A2LVDdFpkSAM9F+LFv5a1hrHPikuBjIad9WdDIoPNU6qiw==
# =9vso
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 31 Jul 2024 09:15:10 PM AEST
# gpg:                using RSA key F13338574B662389866C7682BFFBD25F78C7AE83
# gpg:                issuer "[email protected]"
# gpg: Good signature from "Paolo Bonzini <[email protected]>" [full]
# gpg:                 aka "Paolo Bonzini <[email protected]>" [full]

* tag 'for-upstream' of https://gitlab.com/bonzini/qemu:
  qemu-vmsr-helper: implement --verbose/-v
  qemu-vmsr-helper: fix socket loop breakage
  target/i386: Clean up error cases for vmsr_read_thread_stat()
  target/i386: Fix typo that assign same value twice
  target/i386/cpu: Mask off SGX/SGX_LC feature words for non-PC machine
  target/i386/cpu: Add dependencies of CPUID 0x12 leaves
  target/i386/cpu: Explicitly express SGX_LC and SGX feature words dependency
  target/i386/cpu: Remove unnecessary SGX feature words checks
  target/i386: Change unavail from u32 to u64
  tests/vm/openbsd: Install tomli

Signed-off-by: Richard Henderson <[email protected]>


Compare: https://github.com/qemu/qemu/compare/9f887c3c8b44...e9d2db818ff9

To unsubscribe from these emails, change your notification settings at 
https://github.com/qemu/qemu/settings/notifications

Reply via email to