[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 8b03f5: typedefs: Forward-declare AccelState
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] 8b03f5: typedefs: Forward-declare AccelState |
Date: |
Thu, 22 Dec 2022 03:15:39 -0800 |
Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: 8b03f5d839aaf5b13cb2d894134dcec109a3fb1a
https://github.com/qemu/qemu/commit/8b03f5d839aaf5b13cb2d894134dcec109a3fb1a
Author: Philippe Mathieu-Daudé <philmd@linaro.org>
Date: 2022-12-17 (Sat, 17 Dec 2022)
Changed paths:
M include/qemu/accel.h
M include/qemu/typedefs.h
Log Message:
-----------
typedefs: Forward-declare AccelState
Forward-declare AccelState in "qemu/typedefs.h" so structures
using a reference of it (like MachineState in "hw/boards.h")
don't have to include "qemu/accel.h".
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Message-Id: <20221130135641.85328-2-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 2fac64f674e96c039d9cc5f3a0b9e8e926b67516
https://github.com/qemu/qemu/commit/2fac64f674e96c039d9cc5f3a0b9e8e926b67516
Author: Philippe Mathieu-Daudé <philmd@linaro.org>
Date: 2022-12-17 (Sat, 17 Dec 2022)
Changed paths:
M hw/core/machine.c
M include/hw/boards.h
Log Message:
-----------
hw: Reduce "qemu/accel.h" inclusion
Move "qemu/accel.h" include from the heavily included
"hw/boards.h" to hw/core/machine.c, the single file using
the AccelState definition.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Message-Id: <20221130135641.85328-3-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: d8069b52502c34390f5bed047e04bea5c1b21241
https://github.com/qemu/qemu/commit/d8069b52502c34390f5bed047e04bea5c1b21241
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-12-17 (Sat, 17 Dec 2022)
Changed paths:
M util/log.c
Log Message:
-----------
util/log: do not close and reopen log files when flags are turned off
log_append makes sure that if you turn off the logging (which clears
log_flags and makes need_to_open_file false) the old log is not
overwritten. The usecase is that if you remove or move the file
QEMU will not keep writing to the old file. However, this is
not always the desited behavior, in particular having log_append==1
after changing the file name makes little sense.
When qemu_set_log_internal is called from the logfile monitor
command, filename must be non-NULL and therefore changed_name must
be true. Therefore, the only case where the file is closed and
need_to_open_file == false is indeed when log_flags becomes
zero. In this case, just flush the file and do not bother
closing it, thus faking the same append behavior as previously.
The behavioral change is that changing the logfile twice, for
example log1 -> log2 -> log1, will cause log1 to be overwritten.
This can simply be documented, since it is not a particularly
surprising behavior.
Suggested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id: <20221025092119.236224-1-pbonzini@redhat.com>
[groug: nullify global_file before actually closing the file]
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <20221108140032.1460307-2-groug@kaod.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 9276614b6ea20b0d1dfd545f149dce8121804496
https://github.com/qemu/qemu/commit/9276614b6ea20b0d1dfd545f149dce8121804496
Author: Greg Kurz <groug@kaod.org>
Date: 2022-12-17 (Sat, 17 Dec 2022)
Changed paths:
M util/log.c
Log Message:
-----------
util/log: Always send errors to logfile when daemonized
When QEMU is started with `-daemonize`, all stdio descriptors get
redirected to `/dev/null`. This basically means that anything
printed with error_report() and friends is lost.
Current logging code allows to redirect to a file with `-D` but
this requires to enable some logging item with `-d` as well to
be functional.
Relax the check on the log flags when QEMU is daemonized, so that
other users of stderr can benefit from the redirection, without the
need to enable unwanted debug logs. Previous behaviour is retained
for the non-daemonized case. The logic is unrolled as an `if` for
better readability. The qemu_log_level and log_per_thread globals
reflect the state we want to transition to at this point : use
them instead of the intermediary locals for correctness.
qemu_set_log_internal() is adapted to open a per-thread log file
when '-d tid' is passed. This is done by hijacking qemu_try_lock()
which seems simpler that refactoring the code.
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <20221108140032.1460307-3-groug@kaod.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: ab906d37f7134567293c1cc23ac8bcef6043e224
https://github.com/qemu/qemu/commit/ab906d37f7134567293c1cc23ac8bcef6043e224
Author: Lubomir Rintel <lkundrak@v3.sk>
Date: 2022-12-17 (Sat, 17 Dec 2022)
Changed paths:
M hw/ide/core.c
M include/hw/ide/internal.h
Log Message:
-----------
ide: Add 8-bit data mode
CompactFlash uses features 0x01 and 0x81 to enable/disable 8-bit data
path. Implement them.
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Message-Id: <20221130120238.706717-1-lkundrak@v3.sk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: f85ebea32fbdc22337f38c028b3c06574c856946
https://github.com/qemu/qemu/commit/f85ebea32fbdc22337f38c028b3c06574c856946
Author: Lubomir Rintel <lkundrak@v3.sk>
Date: 2022-12-17 (Sat, 17 Dec 2022)
Changed paths:
M hw/ide/qdev.c
Log Message:
-----------
ide: Add "ide-cf" driver, a CompactFlash card
This allows attaching IDE_CFATA device to an IDE bus. Behaves like a
CompactFlash card in True IDE mode.
Tested with:
qemu-system-i386 \
-device driver=ide-cf,drive=cf,bus=ide.0 \
-drive id=cf,index=0,format=raw,if=none,file=cf.img
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Message-Id: <20221130120319.706885-1-lkundrak@v3.sk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: e91b2dc9665e70ba7d9a7066adf489f8ebcb355c
https://github.com/qemu/qemu/commit/e91b2dc9665e70ba7d9a7066adf489f8ebcb355c
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-12-19 (Mon, 19 Dec 2022)
Changed paths:
M configure
Log Message:
-----------
configure: remove useless write_c_skeleton
This is not needed ever since QEMU stopped detecting -liberty; this
happened with the Meson switch but it is quite likely that the
library was not really necessary years before.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 3cdcb4a446b74292b0f6feea22d6ca456669167f
https://github.com/qemu/qemu/commit/3cdcb4a446b74292b0f6feea22d6ca456669167f
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-12-19 (Mon, 19 Dec 2022)
Changed paths:
M configure
Log Message:
-----------
configure: remove dead function
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 0a2cfefb4aa12047921aadbffc467fe1a15aee36
https://github.com/qemu/qemu/commit/0a2cfefb4aa12047921aadbffc467fe1a15aee36
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-12-19 (Mon, 19 Dec 2022)
Changed paths:
M configure
Log Message:
-----------
configure: cleanup $cpu tests
$cpu is derived from preprocessor defines rather than uname these days,
so do not bother using isainfo on Solaris. Likewise do not recognize
BeOS's uname -m output.
Keep the other, less OS-specific canonicalizations for the benefit
of people using --cpu.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 391b89200e8ed0447c060c9b4b2b9e3990e1a6de
https://github.com/qemu/qemu/commit/391b89200e8ed0447c060c9b4b2b9e3990e1a6de
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-12-19 (Mon, 19 Dec 2022)
Changed paths:
M configure
Log Message:
-----------
configure: preserve qemu-ga variables
Ensure that qemu-ga variables set at configure time are kept
later when the script is rerun. For preserve_env to work,
the variables need to be empty so move the default values
to config-host.mak generation.
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: bbc612301582460111dceb9a13069125499eefaf
https://github.com/qemu/qemu/commit/bbc612301582460111dceb9a13069125499eefaf
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-12-19 (Mon, 19 Dec 2022)
Changed paths:
M configure
Log Message:
-----------
configure: remove backwards-compatibility and obsolete options
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: e88cff1ad8babc8da389bc0a05bacd6cc8e57863
https://github.com/qemu/qemu/commit/e88cff1ad8babc8da389bc0a05bacd6cc8e57863
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-12-19 (Mon, 19 Dec 2022)
Changed paths:
M meson.build
Log Message:
-----------
meson: tweak hardening options for Windows
meson.build has been enabling ASLR _only_ for debug builds since
commit d2147e04f95f ("configure: move Windows flags detection to meson",
2022-05-07); instead it was supposed to disable it for debug builds.
However, the flag has been enabled for DLLs upstream for roughly 2
years (https://sourceware.org/bugzilla/show_bug.cgi?id=19011), and
also by some distros including Debian for 6 years even
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836365).
Enable it unconditionally; we can fix the reversed logic of commit
d2147e04f95f later if there are any reports, but for now just
enable the hardening.
Also add -Wl,--high-entropy-va, which also controls ASLR.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 3a272a05d6ba71f8a7cae517377f29b7b55c1998
https://github.com/qemu/qemu/commit/3a272a05d6ba71f8a7cae517377f29b7b55c1998
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-12-19 (Mon, 19 Dec 2022)
Changed paths:
M accel/meson.build
Log Message:
-----------
meson: cleanup dummy-cpus.c rules
Now that qtest is available on all targets including Windows, dummy-cpus.c
is included unconditionally in the build. It also does not need to be
compiled per-target.
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: f58defb46298389bdb7d975c88aad2db95030e20
https://github.com/qemu/qemu/commit/f58defb46298389bdb7d975c88aad2db95030e20
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-12-19 (Mon, 19 Dec 2022)
Changed paths:
M tests/qapi-schema/meson.build
Log Message:
-----------
tests/qapi-schema: remove Meson workaround
The referenced issue has been fixed since version 0.61, so remove the
workaround.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: e8cbedea11a037db42b21beb067e8e7558cb55c3
https://github.com/qemu/qemu/commit/e8cbedea11a037db42b21beb067e8e7558cb55c3
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-12-19 (Mon, 19 Dec 2022)
Changed paths:
M configure
Log Message:
-----------
configure: test all warnings
Some warnings are hardcoded in QEMU_CFLAGS and not tested. There is
no particular reason to single out these five, as many more -W flags are
present on all the supported compilers. For homogeneity when moving
the detection to meson, make them use the same warn_flags infrastructure.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 334e25b5eacfd980aed0b6cf330d1b9350ac98e4
https://github.com/qemu/qemu/commit/334e25b5eacfd980aed0b6cf330d1b9350ac98e4
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-12-19 (Mon, 19 Dec 2022)
Changed paths:
M meson.build
Log Message:
-----------
meson: support meson 0.64 -Doptimization=plain
In Meson 0.64, the optimization built-in option now accepts the "plain" value,
which will not set any optimization flags. While QEMU does not check the
contents of the option and therefore does not suffer any ill effect
from the new value, it uses get_option to print the optimization flags
in the summary. Clean the code up to remove duplication, and check for
-Doptimization=plain at the same time.
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 9d41139a282536b3636fee20bd15e0198554010e
https://github.com/qemu/qemu/commit/9d41139a282536b3636fee20bd15e0198554010e
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-12-19 (Mon, 19 Dec 2022)
Changed paths:
M meson.build
Log Message:
-----------
meson: cleanup compiler detection
Detect all compilers at the beginning of meson.build, and store
the available languages in an array.
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 1ecf51880cbff9a646979d94225722af57da4deb
https://github.com/qemu/qemu/commit/1ecf51880cbff9a646979d94225722af57da4deb
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-12-19 (Mon, 19 Dec 2022)
Changed paths:
M scripts/symlink-install-tree.py
Log Message:
-----------
meson: accept relative symlinks in "meson introspect --installed" data
When installing shared libraries, as is the case for libvfio-user.so,
Meson will include relative symbolic links in the output of
"meson introspect --installed":
{
"libvfio-user.so": "/usr/local/lib64/libvfio-user.so",
...
}
In the case of scripts/symlink-install-tree.py, this will
be a symbolic link to a symbolic link but, in any case, there is
no issue in creating it.
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 80f3211b03d2cf9ec41e781eecc8000ba2d98e93
https://github.com/qemu/qemu/commit/80f3211b03d2cf9ec41e781eecc8000ba2d98e93
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-12-19 (Mon, 19 Dec 2022)
Changed paths:
M docs/about/removed-features.rst
Log Message:
-----------
docs: do not talk about past removal as happening in the future
KVM guest support on 32-bit Arm hosts *has* been removed, so rephrase
the sentence describing it.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: c0d6d2ccef5ca108876c1fb6d61a56f0aa79f732
https://github.com/qemu/qemu/commit/c0d6d2ccef5ca108876c1fb6d61a56f0aa79f732
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-12-19 (Mon, 19 Dec 2022)
Changed paths:
M docs/about/deprecated.rst
M docs/about/removed-features.rst
M hw/i386/amd_iommu.c
M hw/i386/intel_iommu.c
M include/hw/i386/apic_internal.h
M target/i386/cpu-sysemu.c
Log Message:
-----------
KVM: remove support for kernel-irqchip=off
-machine kernel-irqchip=off is broken for many guest OSes; kernel-irqchip=split
is the replacement that works, so remove the deprecated support for the former.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 5bdda580c4ef080dbad45361df0344d856d1ae86
https://github.com/qemu/qemu/commit/5bdda580c4ef080dbad45361df0344d856d1ae86
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-12-19 (Mon, 19 Dec 2022)
Changed paths:
M docs/about/deprecated.rst
M docs/about/removed-features.rst
M tests/unit/test-cutils.c
M util/cutils.c
Log Message:
-----------
util: remove support for hex numbers with a scaling suffix
This was deprecated in 6.0 and can now be removed.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 14df4faa17d3df626ac60bd0690b82da50a37b70
https://github.com/qemu/qemu/commit/14df4faa17d3df626ac60bd0690b82da50a37b70
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-12-19 (Mon, 19 Dec 2022)
Changed paths:
M chardev/char.c
M docs/about/deprecated.rst
M docs/about/removed-features.rst
M docs/qdev-device-use.txt
M qemu-options.hx
Log Message:
-----------
util: remove support -chardev tty and -chardev parport
These were deprecated in 6.0 and can now be removed.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 29ffc8532b92eee13e66eb4857692d57256e2568
https://github.com/qemu/qemu/commit/29ffc8532b92eee13e66eb4857692d57256e2568
Author: Kai Huang <kai.huang@intel.com>
Date: 2022-12-19 (Mon, 19 Dec 2022)
Changed paths:
M target/i386/cpu.c
Log Message:
-----------
target/i386: Add SGX aex-notify and EDECCSSA support
The new SGX Asynchronous Exit (AEX) notification mechanism (AEX-notify)
allows one enclave to receive a notification in the ERESUME after the
enclave exit due to an AEX. EDECCSSA is a new SGX user leaf function
(ENCLU[EDECCSSA]) to facilitate the AEX notification handling.
Whether the hardware supports to create enclave with AEX-notify support
is enumerated via CPUID.(EAX=0x12,ECX=0x1):EAX[10]. The new EDECCSSA
user leaf function is enumerated via CPUID.(EAX=0x12,ECX=0x0):EAX[11].
Add support to allow to expose the new SGX AEX-notify feature and the
new EDECCSSA user leaf function to KVM guest.
Link:
https://lore.kernel.org/lkml/166760360549.4906.809756297092548496.tip-bot2@tip-bot2/
Link:
https://lore.kernel.org/lkml/166760360934.4906.2427175408052308969.tip-bot2@tip-bot2/
Reviewed-by: Yang Zhong <yang.zhong@linux.intel.com>
Signed-off-by: Kai Huang <kai.huang@intel.com>
Message-Id: <20221109024834.172705-1-kai.huang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 4a4c1382c8c3fe6e25c782bfda5de753ced3f6a1
https://github.com/qemu/qemu/commit/4a4c1382c8c3fe6e25c782bfda5de753ced3f6a1
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2022-12-20 (Tue, 20 Dec 2022)
Changed paths:
M docs/about/deprecated.rst
M docs/about/removed-features.rst
M hw/i386/sgx.c
M qapi/misc-target.json
Log Message:
-----------
i386: SGX: remove deprecated member of SGXInfo
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commit: 3f4012b13cda94b4cbbee9bac407c4d13ed66de7
https://github.com/qemu/qemu/commit/3f4012b13cda94b4cbbee9bac407c4d13ed66de7
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2022-12-22 (Thu, 22 Dec 2022)
Changed paths:
M accel/meson.build
M chardev/char.c
M configure
M docs/about/deprecated.rst
M docs/about/removed-features.rst
M docs/qdev-device-use.txt
M hw/core/machine.c
M hw/i386/amd_iommu.c
M hw/i386/intel_iommu.c
M hw/i386/sgx.c
M hw/ide/core.c
M hw/ide/qdev.c
M include/hw/boards.h
M include/hw/i386/apic_internal.h
M include/hw/ide/internal.h
M include/qemu/accel.h
M include/qemu/typedefs.h
M meson.build
M qapi/misc-target.json
M qemu-options.hx
M scripts/symlink-install-tree.py
M target/i386/cpu-sysemu.c
M target/i386/cpu.c
M tests/qapi-schema/meson.build
M tests/unit/test-cutils.c
M util/cutils.c
M util/log.c
Log Message:
-----------
Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging
* Atomic memslot updates for KVM (Emanuele, David)
* Always send errors to logfile when daemonized (Greg)
* Add support for IDE CompactFlash card (Lubomir)
* First round of build system cleanups (myself)
* First round of feature removals (myself)
* Reduce "qemu/accel.h" inclusion (Philippe)
# gpg: Signature made Tue 20 Dec 2022 14:46:00 GMT
# 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
* tag 'for-upstream' of https://gitlab.com/bonzini/qemu: (24 commits)
i386: SGX: remove deprecated member of SGXInfo
target/i386: Add SGX aex-notify and EDECCSSA support
util: remove support -chardev tty and -chardev parport
util: remove support for hex numbers with a scaling suffix
KVM: remove support for kernel-irqchip=off
docs: do not talk about past removal as happening in the future
meson: accept relative symlinks in "meson introspect --installed" data
meson: cleanup compiler detection
meson: support meson 0.64 -Doptimization=plain
configure: test all warnings
tests/qapi-schema: remove Meson workaround
meson: cleanup dummy-cpus.c rules
meson: tweak hardening options for Windows
configure: remove backwards-compatibility and obsolete options
configure: preserve qemu-ga variables
configure: cleanup $cpu tests
configure: remove dead function
configure: remove useless write_c_skeleton
ide: Add "ide-cf" driver, a CompactFlash card
ide: Add 8-bit data mode
...
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Compare: https://github.com/qemu/qemu/compare/773f7cf6f4fc...3f4012b13cda
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 8b03f5: typedefs: Forward-declare AccelState,
Peter Maydell <=