qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 9ce8af: target/i386: kvm: add support for TSC


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 9ce8af: target/i386: kvm: add support for TSC scaling
Date: Mon, 28 Jun 2021 13:09:51 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 9ce8af4d92d4772cb33d4ea9cbd5ebdb970c5172
      
https://github.com/qemu/qemu/commit/9ce8af4d92d4772cb33d4ea9cbd5ebdb970c5172
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

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

  Log Message:
  -----------
  target/i386: kvm: add support for TSC scaling

Linux 5.14 will add support for nested TSC scaling.  Add the
corresponding feature in QEMU; to keep support for existing kernels,
do not add it to any processor yet.

The handling of the VMCS enumeration MSR is ugly; once we have more than
one case, we may want to add a table to check VMX features against.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: ec44e986b1bd82525407157482b813cd91d181a0
      
https://github.com/qemu/qemu/commit/ec44e986b1bd82525407157482b813cd91d181a0
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  meson: drop unused CONFIG_GCRYPT_HMAC

CONFIG_GCRYPT_HMAC has been removed now that all supported distros have it.

Reviewed-by: Richard Henderson <richard.henderson@liaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 19b9cb3cafa72dfbb897da2dd473277d57ea1197
      
https://github.com/qemu/qemu/commit/19b9cb3cafa72dfbb897da2dd473277d57ea1197
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: drop unused variables for xts

All XTS configuration uses qemu_private_xts.  Drop other variables as
they have only ever been used to generate the summary (which has since
been moved to meson.build).

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@liaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 72150df2c5654870d5468bc4477783497b910816
      
https://github.com/qemu/qemu/commit/72150df2c5654870d5468bc4477783497b910816
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  meson: remove preadv from summary

Meson is more verbose than the configure script; the outcome of the preadv test
can be found in its output and it is not worth including it again in the 
summary.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 4c1f23cfb84c386a8f4f5433f0fd98e0c85d057b
      
https://github.com/qemu/qemu/commit/4c1f23cfb84c386a8f4f5433f0fd98e0c85d057b
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M tests/unit/crypto-tls-psk-helpers.c
    M tests/unit/crypto-tls-psk-helpers.h
    M tests/unit/crypto-tls-x509-helpers.c
    M tests/unit/crypto-tls-x509-helpers.h
    M tests/unit/pkix_asn1_tab.c
    M tests/unit/test-crypto-tlscredsx509.c
    M tests/unit/test-crypto-tlssession.c
    M tests/unit/test-io-channel-tls.c

  Log Message:
  -----------
  tests: remove QCRYPTO_HAVE_TLS_TEST_SUPPORT

meson.build already decides whether it is possible to build the TLS
test suite.  There is no need to include that in the source as well.
The dummy tests in fact are broken because they do not produce valid
TAP output (empty output is rejected by scripts/tap-driver.pl).

Cc: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 5761251138cb69c310e9df7dfc82c4c6fd2444e4
      
https://github.com/qemu/qemu/commit/5761251138cb69c310e9df7dfc82c4c6fd2444e4
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M configure
    M crypto/meson.build
    M meson.build
    M meson_options.txt
    M tests/unit/meson.build

  Log Message:
  -----------
  configure, meson: convert crypto detection to meson

Reviewed-by: Richard Henderson <richard.henderson@liaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: ba7ed407e67589167ef582ac1f17a38f09fbd327
      
https://github.com/qemu/qemu/commit/ba7ed407e67589167ef582ac1f17a38f09fbd327
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M configure
    M meson.build
    M tests/unit/meson.build

  Log Message:
  -----------
  configure, meson: convert libtasn1 detection to meson

Make it depend on gnutls too, since it is only used as part of gnutls
tests.

Reviewed-by: Richard Henderson <richard.henderson@liaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 05e391ae4056e122fd78b694607ccd2e5a943dab
      
https://github.com/qemu/qemu/commit/05e391ae4056e122fd78b694607ccd2e5a943dab
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M authz/meson.build
    M configure
    M meson.build
    M meson_options.txt
    M tests/unit/meson.build

  Log Message:
  -----------
  configure, meson: convert pam detection to meson

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 90540f3289243a7fc48273eaa684c6b98f0e47a7
      
https://github.com/qemu/qemu/commit/90540f3289243a7fc48273eaa684c6b98f0e47a7
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M configure
    M hw/usb/meson.build
    M meson.build
    M meson_options.txt

  Log Message:
  -----------
  configure, meson: convert libusb detection to meson

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 5f364c57bb6713a06f1f33054de6b7db50fe6003
      
https://github.com/qemu/qemu/commit/5f364c57bb6713a06f1f33054de6b7db50fe6003
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M configure
    M hw/usb/meson.build
    M meson.build
    M meson_options.txt

  Log Message:
  -----------
  configure, meson: convert libcacard detection to meson

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 18f31e60c7f02e2fdeebce344b2f95c65cbf2bef
      
https://github.com/qemu/qemu/commit/18f31e60c7f02e2fdeebce344b2f95c65cbf2bef
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M configure
    M hw/usb/meson.build
    M meson.build
    M meson_options.txt

  Log Message:
  -----------
  configure, meson: convert libusbredir detection to meson

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: dcafa248277732863c8a472e4e5aa1cdd41228e8
      
https://github.com/qemu/qemu/commit/dcafa248277732863c8a472e4e5aa1cdd41228e8
  Author: Peter Xu <peterx@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M accel/kvm/kvm-all.c

  Log Message:
  -----------
  KVM: Fix dirty ring mmap incorrect size due to renaming accident

Found this when I wanted to try the per-vcpu dirty rate series out, then I
found that it's not really working and it can quickly hang death a guest.  I
found strange errors (e.g. guest crash after migration) happens even without
the per-vcpu dirty rate series.

When merging dirty ring, probably no one notice that the trivial renaming diff
[1] missed two existing references of kvm_dirty_ring_sizes; they do matter
since otherwise we'll mmap() a shorter range of memory after the renaming.

I think it didn't SIGBUS for me easily simply because some other stuff within
qemu mmap()ed right after the dirty rings (e.g. when testing 4096 slots, it
aligned with one small page on x86), so when we access the rings we've been
reading/writting to random memory elsewhere of qemu.

Fix the two sizes when map/unmap the shared dirty gfn memory.

[1] 
https://lore.kernel.org/qemu-devel/dac5f0c6-1bca-3daf-e5d2-6451dbbaca93@redhat.com/

Cc: Hyman Huang <huangy81@chinatelecom.cn>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20210609014355.217110-1-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 8ad5ab6148dca8aad297c134c09c84b0b92d45ed
      
https://github.com/qemu/qemu/commit/8ad5ab6148dca8aad297c134c09c84b0b92d45ed
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M block/file-posix.c

  Log Message:
  -----------
  file-posix: fix max_iov for /dev/sg devices

Even though it was only called for devices that have bs->sg set (which
must be character devices), sg_get_max_segments looked at /sys/dev/block
which only works for block devices.

On Linux the sg driver has its own way to provide the maximum number of
iovecs in a scatter/gather list, so add support for it.  The block device
path is kept because it will be reinstated in the next patches.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>


  Commit: 01ef8185b809af9d287e1a03a3f9d8ea8231118a
      
https://github.com/qemu/qemu/commit/01ef8185b809af9d287e1a03a3f9d8ea8231118a
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M block/file-posix.c
    M hw/scsi/scsi-generic.c

  Log Message:
  -----------
  scsi-generic: pass max_segments via max_iov field in BlockLimits

I/O to a disk via read/write is not limited by the number of segments allowed
by the host adapter; the kernel can split requests if needed, and the limit
imposed by the host adapter can be very low (256k or so) to avoid that SG_IO
returns EINVAL if memory is heavily fragmented.

Since this value is only interesting for SG_IO-based I/O, do not include
it in the max_transfer and only take it into account when patching the
block limits VPD page in the scsi-generic device.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>


  Commit: c9797456f64ce72c03eb2969d97ac1dd4698d91e
      
https://github.com/qemu/qemu/commit/c9797456f64ce72c03eb2969d97ac1dd4698d91e
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M include/qemu/osdep.h

  Log Message:
  -----------
  osdep: provide ROUND_DOWN macro

osdep.h provides a ROUND_UP macro to hide bitwise operations for the
purpose of rounding a number up to a power of two; add a ROUND_DOWN
macro that does the same with truncation towards zero.

While at it, change the formatting of some comments.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: b99f7fa08a3df8b8a6a907642e5851cdcf43fa9f
      
https://github.com/qemu/qemu/commit/b99f7fa08a3df8b8a6a907642e5851cdcf43fa9f
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M block/block-backend.c

  Log Message:
  -----------
  block-backend: align max_transfer to request alignment

Block device requests must be aligned to bs->bl.request_alignment.
It makes sense for drivers to align bs->bl.max_transfer the same
way; however when there is no specified limit, blk_get_max_transfer
just returns INT_MAX.  Since the contract of the function does not
specify that INT_MAX means "no maximum", just align the outcome
of the function (whether INT_MAX or bs->bl.max_transfer) before
returning it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 24b36e9813ec15da7db62e3b3621730710c5f020
      
https://github.com/qemu/qemu/commit/24b36e9813ec15da7db62e3b3621730710c5f020
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M block/block-backend.c
    M block/file-posix.c
    M block/io.c
    M hw/scsi/scsi-generic.c
    M include/block/block_int.h
    M include/sysemu/block-backend.h

  Log Message:
  -----------
  block: add max_hw_transfer to BlockLimits

For block host devices, I/O can happen through either the kernel file
descriptor I/O system calls (preadv/pwritev, io_submit, io_uring)
or the SCSI passthrough ioctl SG_IO.

In the latter case, the size of each transfer can be limited by the
HBA, while for file descriptor I/O the kernel is able to split and
merge I/O in smaller pieces as needed.  Applying the HBA limits to
file descriptor I/O results in more system calls and suboptimal
performance, so this patch splits the max_transfer limit in two:
max_transfer remains valid and is used in general, while max_hw_transfer
is limited to the maximum hardware size.  max_hw_transfer can then be
included by the scsi-generic driver in the block limits page, to ensure
that the stricter hardware limit is used.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 18473467d55a20d643b6c9b3a52de42f705b4d35
      
https://github.com/qemu/qemu/commit/18473467d55a20d643b6c9b3a52de42f705b4d35
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M block/file-posix.c

  Log Message:
  -----------
  file-posix: try BLKSECTGET on block devices too, do not round to power of 2

bs->sg is only true for character devices, but block devices can also
be used with scsi-block and scsi-generic.  Unfortunately BLKSECTGET
returns bytes in an int for /dev/sgN devices, and sectors in a short
for block devices, so account for that in the code.

The maximum transfer also need not be a power of 2 (for example I have
seen disks with 1280 KiB maximum transfer) so there's no need to pass
the result through pow2floor.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 14176c8d05fe910e9f1ee537e7af016565ccffc3
      
https://github.com/qemu/qemu/commit/14176c8d05fe910e9f1ee537e7af016565ccffc3
  Author: Joelle van Dyne <j@getutm.app>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M block/file-posix.c
    M meson.build
    M qapi/block-core.json

  Log Message:
  -----------
  block: feature detection for host block support

On Darwin (iOS), there are no system level APIs for directly accessing
host block devices. We detect this at configure time.

Signed-off-by: Joelle van Dyne <j@getutm.app>
Message-Id: <20210315180341.31638-2-j@getutm.app>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: feccdceed25302e1e3db744d468304705ee7c4dd
      
https://github.com/qemu/qemu/commit/feccdceed25302e1e3db744d468304705ee7c4dd
  Author: Joelle van Dyne <j@getutm.app>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M block.c
    M meson.build

  Log Message:
  -----------
  block: check for sys/disk.h

Some BSD platforms do not have this header.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Joelle van Dyne <j@getutm.app>
Message-Id: <20210315180341.31638-3-j@getutm.app>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 267cd53f5fbbbf9bdf18c526144ab0bd22ab40f8
      
https://github.com/qemu/qemu/commit/267cd53f5fbbbf9bdf18c526144ab0bd22ab40f8
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M block/file-posix.c

  Log Message:
  -----------
  block: try BSD disk size ioctls one after another

Try all the possible ioctls for disk size as long as they are
supported, to keep the #if ladder simple.

Extracted and cleaned up from a patch by Joelle van Dyne and
Warner Losh.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 09e20abddaf94ff27dcced1df81f69a713627a94
      
https://github.com/qemu/qemu/commit/09e20abddaf94ff27dcced1df81f69a713627a94
  Author: Joelle van Dyne <j@getutm.app>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M block/file-posix.c

  Log Message:
  -----------
  block: detect DKIOCGETBLOCKCOUNT/SIZE before use

iOS hosts do not have these defined so we fallback to the
default behaviour.

Co-authored-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Joelle van Dyne <j@getutm.app>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: bd80936a4f18075e0e407df180801a9743ce290c
      
https://github.com/qemu/qemu/commit/bd80936a4f18075e0e407df180801a9743ce290c
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M block/file-posix.c

  Log Message:
  -----------
  file-posix: handle EINTR during ioctl

Similar to other handle_aiocb_* functions, handle_aiocb_ioctl needs to cater
for the possibility that ioctl is interrupted by a signal.  Otherwise, the
I/O is incorrectly reported as a failure to the guest.

Reported-by: Gordon Watson <gwatson@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 67872eb8ed194117f5af71694374a083c3f45eb2
      
https://github.com/qemu/qemu/commit/67872eb8ed194117f5af71694374a083c3f45eb2
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M hw/core/machine.c
    M hw/i386/pc.c
    M hw/i386/x86.c
    M include/hw/boards.h
    M include/hw/i386/pc.h
    M include/hw/i386/x86.h

  Log Message:
  -----------
  machine: move dies from X86MachineState to CpuTopology

In order to make SMP configuration a Machine property, we need a getter as
well as a setter.  To simplify the implementation put everything that the
getter needs in the CpuTopology struct.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210617155308.928754-7-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 593d3c51481bc40433474bd2b922217e819f1f68
      
https://github.com/qemu/qemu/commit/593d3c51481bc40433474bd2b922217e819f1f68
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M hw/core/machine.c
    M hw/i386/pc.c

  Log Message:
  -----------
  machine: move common smp_parse code to caller

Most of smp_parse and pc_smp_parse is guarded by an "if (opts)"
conditional, and the rest is common to both function.  Move the
conditional and the common code to the caller, machine_smp_parse.

Move the replay_add_blocker call after all errors are checked for.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210617155308.928754-8-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: abc2f51144242e819fd7af69d3e7c199cc9d7004
      
https://github.com/qemu/qemu/commit/abc2f51144242e819fd7af69d3e7c199cc9d7004
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M hw/core/machine.c
    M hw/i386/pc.c
    M include/hw/boards.h
    M include/hw/i386/pc.h

  Log Message:
  -----------
  machine: add error propagation to mc->smp_parse

Clean up the smp_parse functions to use Error** instead of exiting.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210617155308.928754-9-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 1e63fe685804dfadddd643bf3860b1a59702d4bf
      
https://github.com/qemu/qemu/commit/1e63fe685804dfadddd643bf3860b1a59702d4bf
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M hw/core/machine.c
    M hw/i386/pc.c
    M include/hw/boards.h
    M qapi/machine.json

  Log Message:
  -----------
  machine: pass QAPI struct to mc->smp_parse

As part of converting -smp to a property with a QAPI type, define
the struct and use it to do the actual parsing.  machine_smp_parse
takes care of doing the QemuOpts->QAPI conversion by hand, for now.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210617155308.928754-10-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 0aebebb561c9c23b9c6d3d58040f83547f059b5c
      
https://github.com/qemu/qemu/commit/0aebebb561c9c23b9c6d3d58040f83547f059b5c
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M hw/core/machine.c

  Log Message:
  -----------
  machine: reject -smp dies!=1 for non-PC machines

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210617155308.928754-11-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 6512fa497c2fa9751b9d774ab32d87a9764d1958
      
https://github.com/qemu/qemu/commit/6512fa497c2fa9751b9d774ab32d87a9764d1958
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-06-28 (Mon, 28 Jun 2021)

  Changed paths:
    M accel/kvm/kvm-all.c
    M authz/meson.build
    M block.c
    M block/block-backend.c
    M block/file-posix.c
    M block/io.c
    M configure
    M crypto/meson.build
    M hw/core/machine.c
    M hw/i386/pc.c
    M hw/i386/x86.c
    M hw/scsi/scsi-generic.c
    M hw/usb/meson.build
    M include/block/block_int.h
    M include/hw/boards.h
    M include/hw/i386/pc.h
    M include/hw/i386/x86.h
    M include/qemu/osdep.h
    M include/sysemu/block-backend.h
    M meson.build
    M meson_options.txt
    M qapi/block-core.json
    M qapi/machine.json
    M target/i386/cpu.c
    M target/i386/cpu.h
    M target/i386/kvm/kvm.c
    M tests/unit/crypto-tls-psk-helpers.c
    M tests/unit/crypto-tls-psk-helpers.h
    M tests/unit/crypto-tls-x509-helpers.c
    M tests/unit/crypto-tls-x509-helpers.h
    M tests/unit/meson.build
    M tests/unit/pkix_asn1_tab.c
    M tests/unit/test-crypto-tlscredsx509.c
    M tests/unit/test-crypto-tlssession.c
    M tests/unit/test-io-channel-tls.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/bonzini-gitlab/tags/for-upstream' into 
staging

* Some Meson test conversions
* KVM dirty page ring buffer fix
* KVM TSC scaling support
* Fixes for SG_IO with /dev/sdX devices
* (Non)support for host devices on iOS
* -smp cleanups

# gpg: Signature made Fri 25 Jun 2021 15:16:18 BST
# gpg:                using RSA key F13338574B662389866C7682BFFBD25F78C7AE83
# gpg:                issuer "pbonzini@redhat.com"
# gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [full]
# gpg:                 aka "Paolo Bonzini <pbonzini@redhat.com>" [full]
# Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4  E2F7 7E15 100C CD36 69B1
#      Subkey fingerprint: F133 3857 4B66 2389 866C  7682 BFFB D25F 78C7 AE83

* remotes/bonzini-gitlab/tags/for-upstream: (28 commits)
  machine: reject -smp dies!=1 for non-PC machines
  machine: pass QAPI struct to mc->smp_parse
  machine: add error propagation to mc->smp_parse
  machine: move common smp_parse code to caller
  machine: move dies from X86MachineState to CpuTopology
  file-posix: handle EINTR during ioctl
  block: detect DKIOCGETBLOCKCOUNT/SIZE before use
  block: try BSD disk size ioctls one after another
  block: check for sys/disk.h
  block: feature detection for host block support
  file-posix: try BLKSECTGET on block devices too, do not round to power of 2
  block: add max_hw_transfer to BlockLimits
  block-backend: align max_transfer to request alignment
  osdep: provide ROUND_DOWN macro
  scsi-generic: pass max_segments via max_iov field in BlockLimits
  file-posix: fix max_iov for /dev/sg devices
  KVM: Fix dirty ring mmap incorrect size due to renaming accident
  configure, meson: convert libusbredir detection to meson
  configure, meson: convert libcacard detection to meson
  configure, meson: convert libusb detection to meson
  ...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/9e654e10197f...6512fa497c2f



reply via email to

[Prev in Thread] Current Thread [Next in Thread]