Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 122748c83d2a331b43ea17efd78c4117a362f3f2
https://github.com/qemu/qemu/commit/122748c83d2a331b43ea17efd78c4117a362f3f2
Author: Paolo Bonzini <[email protected]>
Date: 2025-01-07 (Tue, 07 Jan 2025)
Changed paths:
M rust/qemu-api/meson.build
Log Message:
-----------
rust: fix --enable-debug-mutex
--feature is an option for cargo but not for rustc.
Reported-by: Bernhard Beschow <[email protected]>
Reviewed-by: Bernhard Beschow <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: 1d03e9771e05685e11bbd3cc8cdd072c02cf580d
https://github.com/qemu/qemu/commit/1d03e9771e05685e11bbd3cc8cdd072c02cf580d
Author: Paolo Bonzini <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M scripts/rust/rustc_args.py
Log Message:
-----------
rust: add --check-cfg test to rustc arguments
rustc will check that every reachable #[cfg] matches a list of
the expected config names and values. Recent versions of rustc are
also complaining about #[cfg(test)], even if it is basically a standard
part of the language. So, always allow it.
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: ca0d60a6ad777ab617cbc4e6f328eaff60617b3f
https://github.com/qemu/qemu/commit/ca0d60a6ad777ab617cbc4e6f328eaff60617b3f
Author: Paolo Bonzini <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M rust/hw/char/pl011/src/device.rs
M rust/qemu-api/src/qom.rs
M rust/qemu-api/tests/tests.rs
Log Message:
-----------
rust: qom: add ParentField
Add a type that, together with the C function object_deinit, ensures the
correct drop order for QOM objects relative to their superclasses.
Right now it is not possible to implement the Drop trait for QOM classes
that are defined in Rust, as the drop() function would not be called when
the object goes away; instead what is called is ObjectImpl::INSTANCE_FINALIZE.
It would be nice for INSTANCE_FINALIZE to just drop the object, but this has
a problem: suppose you have
pub struct MySuperclass {
parent: DeviceState,
field: Box<MyData>,
...
}
impl Drop for MySuperclass {
...
}
pub struct MySubclass {
parent: MySuperclass,
...
}
and an instance_finalize implementation that is like
unsafe extern "C" fn drop_object<T: ObjectImpl>(obj: *mut Object) {
unsafe { std::ptr::drop_in_place(obj.cast::<T>()) }
}
When instance_finalize is called for MySubclass, it will walk the struct's
list of fields and call the drop method for MySuperclass. Then, object_deinit
recurses to the superclass and calls the same drop method again. This
will cause double-freeing of the Box<Data>.
What's happening here is that QOM wants to control the drop order of
MySuperclass and MySubclass's fields. To do so, the parent field must
be marked ManuallyDrop<>, which is quite ugly. Instead, add a wrapper
type ParentField<> that is specific to QOM. This hides the implementation
detail of *what* is special about the ParentField, and will also be easy
to check in the #[derive(Object)] macro.
Reviewed-by: Zhao Liu <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: 7f65d4e58b67d6e5ee05c9381a50ef1eba3a5a1e
https://github.com/qemu/qemu/commit/7f65d4e58b67d6e5ee05c9381a50ef1eba3a5a1e
Author: Paolo Bonzini <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M rust/qemu-api/meson.build
A rust/qemu-api/src/assertions.rs
M rust/qemu-api/src/lib.rs
Log Message:
-----------
rust: add a utility module for compile-time type checks
It is relatively common in the low-level qemu_api code to assert that
a field of a struct has a specific type; for example, it can be used
to ensure that the fields match what the qemu_api and C code expects
for safety.
Reviewed-by: Zhao Liu <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: 20f0b8e98b4851bfd52bbb4edd4b602d08b9b817
https://github.com/qemu/qemu/commit/20f0b8e98b4851bfd52bbb4edd4b602d08b9b817
Author: Paolo Bonzini <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M rust/qemu-api-macros/src/lib.rs
Log Message:
-----------
rust: macros: check that #[derive(Object)] requires #[repr(C)]
Convert derive_object to the same pattern of first making a
Result<proc_macro2::TokenStream, CompileError>, and then doing
.unwrap_or_else(Into::into) to support checking the validity of
the input. Add is_c_repr to check that all QOM structs include
a #[repr(C)] attribute.
Reviewed-by: Zhao Liu <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: e3ff5a17aa9fc2420197403e69876db48e390ee4
https://github.com/qemu/qemu/commit/e3ff5a17aa9fc2420197403e69876db48e390ee4
Author: Paolo Bonzini <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M rust/qemu-api-macros/src/lib.rs
Log Message:
-----------
rust: macros: check that the first field of a #[derive(Object)] struct is a
ParentField
Reviewed-by: Zhao Liu <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: 33aa660575f7174752a7308229e5fc108921c2a6
https://github.com/qemu/qemu/commit/33aa660575f7174752a7308229e5fc108921c2a6
Author: Paolo Bonzini <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M rust/qemu-api/src/qom.rs
Log Message:
-----------
rust: qom: automatically use Drop trait to implement instance_finalize
Replace the customizable INSTANCE_FINALIZE with a generic function
that drops the Rust object.
Reviewed-by: Zhao Liu <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: d9434f29ca83e114fe02ed24c8ad2ccfa7ac3fe9
https://github.com/qemu/qemu/commit/d9434f29ca83e114fe02ed24c8ad2ccfa7ac3fe9
Author: Paolo Bonzini <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M rust/hw/char/pl011/src/device.rs
Log Message:
-----------
rust: qom: move device_id to PL011 class side
There is no need to monkeypatch DeviceId::Luminary into the already-initialized
PL011State. Instead, now that we can define a class hierarchy, we can define
PL011Class and make device_id a field in there.
There is also no need anymore to have "Arm" as zero, so change DeviceId into a
wrapper for the array; all it does is provide an Index<hwaddr> implementation
because arrays can only be indexed by usize.
Reviewed-by: Zhao Liu <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: af68b41d403b81b18de07ebab0ca4c1025c94bf7
https://github.com/qemu/qemu/commit/af68b41d403b81b18de07ebab0ca4c1025c94bf7
Author: Paolo Bonzini <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M rust/hw/char/pl011/src/device.rs
M rust/qemu-api/src/sysbus.rs
Log Message:
-----------
rust: pl011: only leave embedded object initialization in instance_init
Leave IRQ and MMIO initialization to instance_post_init. In Rust the
two callbacks are more distinct, because only instance_post_init has a
fully initialized object available.
While at it, add a wrapper for sysbus_init_mmio so that accesses to
the SysBusDevice correctly use shared references.
Reviewed-by: Zhao Liu <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: 22a18f0a98a1ca5d0cd8fff1d81cc74a269083de
https://github.com/qemu/qemu/commit/22a18f0a98a1ca5d0cd8fff1d81cc74a269083de
Author: Paolo Bonzini <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M rust/hw/char/pl011/src/device.rs
M rust/qemu-api/src/qom.rs
Log Message:
-----------
rust: qom: make INSTANCE_POST_INIT take a shared reference
Reviewed-by: Zhao Liu <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: a3b620fff73ec762f2a77a077eb8389dddab4833
https://github.com/qemu/qemu/commit/a3b620fff73ec762f2a77a077eb8389dddab4833
Author: Paolo Bonzini <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M rust/qemu-api-macros/src/lib.rs
A rust/qemu-api-macros/src/utils.rs
Log Message:
-----------
rust: qemu-api-macros: extend error reporting facility to parse errors
Generalize the CompileError tuple to an enum, that can be either an error
message or a parse error from syn.
Reviewed-by: Zhao Liu <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: 809c703a60240125eec16ec134f60793134b4f61
https://github.com/qemu/qemu/commit/809c703a60240125eec16ec134f60793134b4f61
Author: Paolo Bonzini <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M rust/hw/char/pl011/src/lib.rs
M rust/qemu-api-macros/src/lib.rs
Log Message:
-----------
rust: qemu-api-macros: add automatic TryFrom/TryInto derivation
This is going to be fairly common. Using a custom procedural macro
provides better error messages and automatically finds the right
type.
Note that this is different from the same-named macro in the
derive_more crate. That one provides conversion from e.g. tuples
to enums with tuple variants, not from integers to enums.
Reviewed-by: Zhao Liu <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: 559a779c6aa309853474240b01fcc2beff1f04ca
https://github.com/qemu/qemu/commit/559a779c6aa309853474240b01fcc2beff1f04ca
Author: Paolo Bonzini <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M rust/hw/char/pl011/src/device.rs
M rust/qemu-api/src/irq.rs
M rust/qemu-api/src/prelude.rs
M rust/qemu-api/src/sysbus.rs
Log Message:
-----------
rust: qdev: expose inherited methods to subclasses of SysBusDevice
The ObjectDeref trait now provides all the magic that is required to fake
inheritance. Replace the "impl SysBusDevice" block of qemu_api::sysbus
with a trait, so that sysbus_init_irq() can be invoked as "self.init_irq()"
without any intermediate upcast.
Reviewed-by: Zhao Liu <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: d2c12785be06da708fe1c8e4e81d7134f4f3c56a
https://github.com/qemu/qemu/commit/d2c12785be06da708fe1c8e4e81d7134f4f3c56a
Author: Paolo Bonzini <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M subprojects/arbitrary-int-1-rs.wrap
M subprojects/bilge-0.2-rs.wrap
M subprojects/bilge-impl-0.2-rs.wrap
M subprojects/either-1-rs.wrap
M subprojects/itertools-0.11-rs.wrap
M subprojects/packagefiles/arbitrary-int-1-rs/meson.build
M subprojects/packagefiles/bilge-0.2-rs/meson.build
M subprojects/packagefiles/bilge-impl-0.2-rs/meson.build
M subprojects/packagefiles/either-1-rs/meson.build
M subprojects/packagefiles/itertools-0.11-rs/meson.build
M subprojects/packagefiles/proc-macro-error-1-rs/meson.build
M subprojects/packagefiles/proc-macro-error-attr-1-rs/meson.build
M subprojects/packagefiles/proc-macro2-1-rs/meson.build
M subprojects/packagefiles/quote-1-rs/meson.build
M subprojects/packagefiles/syn-2-rs/meson.build
M subprojects/packagefiles/unicode-ident-1-rs/meson.build
M subprojects/proc-macro-error-1-rs.wrap
M subprojects/proc-macro-error-attr-1-rs.wrap
M subprojects/proc-macro2-1-rs.wrap
M subprojects/quote-1-rs.wrap
M subprojects/syn-2-rs.wrap
M subprojects/unicode-ident-1-rs.wrap
R subprojects/unicode-ident-1-rs/meson.build
Log Message:
-----------
rust: hide warnings for subprojects
This matches cargo's own usage of "--cap-lints allow" when building
dependencies. The dummy changes to the .wrap files help Meson notice
that the subproject is out of date.
Also remove an unnecessary subprojects/unicode-ident-1-rs/meson.build file.
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: b7bd800eba69bab75b8c296ad788df8df8947aae
https://github.com/qemu/qemu/commit/b7bd800eba69bab75b8c296ad788df8df8947aae
Author: Paolo Bonzini <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M include/qom/object.h
M qom/object.c
Log Message:
-----------
qom: remove unused field
The "concrete_class" field of InterfaceClass is only ever written, and as far
as I can tell is not particularly useful when debugging either; remove it.
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: be27b5149c86f81531f8fc609baf3480fc4d9ca0
https://github.com/qemu/qemu/commit/be27b5149c86f81531f8fc609baf3480fc4d9ca0
Author: Paolo Bonzini <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M scripts/make-release
Log Message:
-----------
make-release: only leave tarball of wrap-file subprojects
The QEMU source archive is including the sources downloaded from crates.io
in both tarball form (in subprojects/packagecache) and expanded/patched
form (in the subprojects directory). The former is the more authoritative
form, as it has a hash that can be verified in the wrap file and checked
against the download URL, so keep that one only. This works also with
--disable-download; when building QEMU for the first time from the
tarball, Meson will print something like
Using proc-macro2-1-rs source from cache.
for each subproject, and then go on to extract the tarball and apply the
overlay or the patches in subprojects/packagefiles.
Reported-by: Michael Tokarev <[email protected]>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2719
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: 88716ae79f89bd6510f0c9e182a73ad40d1ff531
https://github.com/qemu/qemu/commit/88716ae79f89bd6510f0c9e182a73ad40d1ff531
Author: Paolo Bonzini <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M target/i386/tcg/emit.c.inc
Log Message:
-----------
target/i386: improve code generation for BT
Because BT does not write back to the source operand, it can modify it to
ensure that one of the operands of TSTNE is a constant (after either gen_BT
or the optimizer's constant propagation). This produces better and more
optimizable TCG ops. For example, the sequence
movl $0x60013f, %ebx
btl %ecx, %ebx
becomes just
and_i32 tmp1,ecx,$0x1f dead: 1 2 pref=0xffff
shr_i32 tmp0,$0x60013f,tmp1 dead: 1 2 pref=0xffff
and_i32 tmp16,tmp0,$0x1 dead: 1 pref=0xbf80
On s390x, it can use four instructions to isolate bit 0 of 0x60013f >> (ecx &
31):
nilf %r12, 0x1f
lgfi %r11, 0x60013f
srlk %r12, %r11, 0(%r12)
nilf %r12, 1
Previously, it used five instructions to build 1 << (ecx & 31) and compute
TSTEQ, and also needed two more to construct the result of setcond:
nilf %r12, 0x1f
lghi %r11, 1
sllk %r12, %r11, 0(%r12)
lgfi %r9, 0x60013f
nrk %r0, %r12, %r9
lghi %r12, 0
locghilh %r12, 1
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: ef682b08a0b52f4e6d9d790e26291f146e05734a
https://github.com/qemu/qemu/commit/ef682b08a0b52f4e6d9d790e26291f146e05734a
Author: Paolo Bonzini <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M target/i386/tcg/emit.c.inc
M target/i386/tcg/translate.c
Log Message:
-----------
target/i386: use shr to load high-byte registers into T0/T1
Using a sextract or extract operation is only necessary if a
sign or zero extended value is needed. If not, a shift is
enough.
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: cf4c263551886964c5d58bd7b675b13fd497b402
https://github.com/qemu/qemu/commit/cf4c263551886964c5d58bd7b675b13fd497b402
Author: Zhao Liu <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M target/i386/cpu.c
Log Message:
-----------
i386/cpu: Mark avx10_version filtered when prefix is NULL
In x86_cpu_filter_features(), if host doesn't support AVX10, the
configured avx10_version should be marked as filtered regardless of
whether prefix is NULL or not.
Check prefix before warn_report() instead of checking for
have_filtered_features.
Cc: [email protected]
Fixes: commit bccfb846fd52 ("target/i386: add AVX10 feature and AVX10 version
property")
Signed-off-by: Zhao Liu <[email protected]>
Reviewed-by: Tao Su <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: cee1f341ce0c803ee26deed0a68fa1985391d517
https://github.com/qemu/qemu/commit/cee1f341ce0c803ee26deed0a68fa1985391d517
Author: Zhao Liu <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M hw/i386/kvm/clock.c
M target/i386/cpu.h
M target/i386/kvm/kvm.c
Log Message:
-----------
target/i386/kvm: Add feature bit definitions for KVM CPUID
Add feature definitions for KVM_CPUID_FEATURES in CPUID (
CPUID[4000_0001].EAX and CPUID[4000_0001].EDX), to get rid of lots of
offset calculations.
Signed-off-by: Zhao Liu <[email protected]>
Reviewed-by: Zide Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: f5bec7652ddff7e10a0c14aa123352275c720e48
https://github.com/qemu/qemu/commit/f5bec7652ddff7e10a0c14aa123352275c720e48
Author: Zhao Liu <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M target/i386/kvm/kvm.c
Log Message:
-----------
target/i386/kvm: Remove local MSR_KVM_WALL_CLOCK and MSR_KVM_SYSTEM_TIME
definitions
These 2 MSRs have been already defined in kvm_para.h (standard-headers/
asm-x86/kvm_para.h).
Remove QEMU local definitions to avoid duplication.
Signed-off-by: Zhao Liu <[email protected]>
Reviewed-by: Xiaoyao Li <[email protected]>
Reviewed-by: Zide Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: 86e032bb7b5ac5a319cef914aa779825fe39a2e2
https://github.com/qemu/qemu/commit/86e032bb7b5ac5a319cef914aa779825fe39a2e2
Author: Zhao Liu <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M target/i386/kvm/kvm.c
Log Message:
-----------
target/i386/kvm: Only save/load kvmclock MSRs when kvmclock enabled
MSR_KVM_SYSTEM_TIME and MSR_KVM_WALL_CLOCK are attached with the (old)
kvmclock feature (KVM_FEATURE_CLOCKSOURCE).
So, just save/load them only when kvmclock (KVM_FEATURE_CLOCKSOURCE) is
enabled.
Signed-off-by: Zhao Liu <[email protected]>
Reviewed-by: Zide Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: 5dabc87b51030fc08b76b2401a5566f0b1463b59
https://github.com/qemu/qemu/commit/5dabc87b51030fc08b76b2401a5566f0b1463b59
Author: Zhao Liu <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M target/i386/kvm/kvm.c
Log Message:
-----------
target/i386/kvm: Drop workaround for KVM_X86_DISABLE_EXITS_HTL typo
The KVM_X86_DISABLE_EXITS_HTL typo has been fixed in commit
77d361b13c19 ("linux-headers: Update to kernel mainline commit
b357bf602").
Drop the related workaround.
Signed-off-by: Zhao Liu <[email protected]>
Reviewed-by: Zide Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: 26824f9cac69979586b30410ffac8bca4157909e
https://github.com/qemu/qemu/commit/26824f9cac69979586b30410ffac8bca4157909e
Author: Zhao Liu <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M target/i386/confidential-guest.h
Log Message:
-----------
target/i386/confidential-guest: Fix comment of
x86_confidential_guest_kvm_type()
Update the comment to match the X86ConfidentialGuestClass
implementation.
Reported-by: Xiaoyao Li <[email protected]>
Signed-off-by: Zhao Liu <[email protected]>
Reviewed-by: Pankaj Gupta <[email protected]>
Reviewed-by: Zide Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: fb81c9cfdd9fc37687a36f41ca07ab0e8a6d9899
https://github.com/qemu/qemu/commit/fb81c9cfdd9fc37687a36f41ca07ab0e8a6d9899
Author: Zhao Liu <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M target/i386/kvm/kvm.c
Log Message:
-----------
target/i386/kvm: Clean up return values of MSR filter related functions
Before commit 0cc42e63bb54 ("kvm/i386: refactor kvm_arch_init and split
it into smaller functions"), error_report() attempts to print the error
code from kvm_filter_msr(). However, printing error code does not work
due to kvm_filter_msr() returns bool instead int.
0cc42e63bb54 fixed the error by removing error code printing, but this
lost useful error messages. Bring it back by making kvm_filter_msr()
return int.
This also makes the function call chain processing clearer, allowing for
better handling of error result propagation from kvm_filter_msr() to
kvm_arch_init(), preparing for the subsequent cleanup work of error
handling in kvm_arch_init().
Signed-off-by: Zhao Liu <[email protected]>
Reviewed-by: Zide Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: d7f895cb62f3a709e7b9aeeab19678811deda973
https://github.com/qemu/qemu/commit/d7f895cb62f3a709e7b9aeeab19678811deda973
Author: Zhao Liu <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M target/i386/kvm/kvm.c
Log Message:
-----------
target/i386/kvm: Return -1 when kvm_msr_energy_thread_init() fails
It is common practice to return a negative value (like -1) to indicate
an error, and other functions in kvm_arch_init() follow this style.
To avoid confusion (sometimes returned -1 indicates failure, and
sometimes -1, in a same function), return -1 when
kvm_msr_energy_thread_init() fails.
Signed-off-by: Zhao Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: d2401a6eae8f8fbd8e569c8b0638f0cbc80ec88e
https://github.com/qemu/qemu/commit/d2401a6eae8f8fbd8e569c8b0638f0cbc80ec88e
Author: Zhao Liu <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M target/i386/kvm/kvm.c
Log Message:
-----------
target/i386/kvm: Clean up error handling in kvm_arch_init()
Currently, there're following incorrect error handling cases in
kvm_arch_init():
* Missed to handle failure of kvm_get_supported_feature_msrs().
* Missed to return when kvm_vm_enable_disable_exits() fails.
* MSR filter related cases called exit() directly instead of returning
to kvm_init(). (The caller of kvm_arch_init() - kvm_init() - needs to
know if kvm_arch_init() fails in order to perform cleanup).
Fix the above cases.
Signed-off-by: Zhao Liu <[email protected]>
Reviewed-by: Zide Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: d662b66da4bef9272144f7b79715aad90cdbc33e
https://github.com/qemu/qemu/commit/d662b66da4bef9272144f7b79715aad90cdbc33e
Author: Paolo Bonzini <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M target/i386/kvm/kvm.c
Log Message:
-----------
target/i386/kvm: Replace ARRAY_SIZE(msr_handlers) with
KVM_MSR_FILTER_MAX_RANGES
kvm_install_msr_filters() uses KVM_MSR_FILTER_MAX_RANGES as the bound
when traversing msr_handlers[], while other places still compute the
size by ARRAY_SIZE(msr_handlers).
In fact, msr_handlers[] is an array with the fixed size
KVM_MSR_FILTER_MAX_RANGES, and this has to be true because
kvm_install_msr_filters copies from one array to the other.
For code consistency, assert that they match and use
ARRAY_SIZE(msr_handlers) everywehere.
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: d3bb5d0d4f5d4ad7dc6c02ea5fea51ca2f946593
https://github.com/qemu/qemu/commit/d3bb5d0d4f5d4ad7dc6c02ea5fea51ca2f946593
Author: Xiaoyao Li <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M target/i386/cpu-system.c
M target/i386/cpu.h
M target/i386/hvf/x86_emu.c
M target/i386/kvm/kvm.c
M target/i386/tcg/system/misc_helper.c
Log Message:
-----------
i386/cpu: Extract a common fucntion to setup value of MSR_CORE_THREAD_COUNT
There are duplicated code to setup the value of MSR_CORE_THREAD_COUNT.
Extract a common function for it.
Signed-off-by: Xiaoyao Li <[email protected]>
Reviewed-by: Zhao Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: 81bd60625fc23cb8d4d0e682dcc4223d5e1ead84
https://github.com/qemu/qemu/commit/81bd60625fc23cb8d4d0e682dcc4223d5e1ead84
Author: Xiaoyao Li <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M hw/i386/x86-common.c
Log Message:
-----------
i386/cpu: Drop the variable smp_cores and smp_threads in x86_cpu_pre_plug()
No need to define smp_cores and smp_threads, just using ms->smp.cores
and ms->smp.threads is straightforward. It's also consistent with other
checks of socket/die/module.
Signed-off-by: Xiaoyao Li <[email protected]>
Reviewed-by: Zhao Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: 00ec7be67c3981b486293aa8e0aef9534f229c5e
https://github.com/qemu/qemu/commit/00ec7be67c3981b486293aa8e0aef9534f229c5e
Author: Xiaoyao Li <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M target/i386/cpu.c
Log Message:
-----------
i386/cpu: Drop cores_per_pkg in cpu_x86_cpuid()
Local variable cores_per_pkg is only used to calculate threads_per_pkg.
No need for it. Drop it and open-code it instead.
Signed-off-by: Xiaoyao Li <[email protected]>
Reviewed-by: Zhao Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: 8f78378de70fc79fdc7e1318496bd91ddd22df49
https://github.com/qemu/qemu/commit/8f78378de70fc79fdc7e1318496bd91ddd22df49
Author: Xiaoyao Li <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M include/hw/i386/topology.h
Log Message:
-----------
i386/topology: Update the comment of x86_apicid_from_topo_ids()
Update the comment of x86_apicid_from_topo_ids() to match the current
implementation,
Signed-off-by: Xiaoyao Li <[email protected]>
Reviewed-by: Zhao Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: e60cbeec190d349682bf97cf55446e8ae260b11a
https://github.com/qemu/qemu/commit/e60cbeec190d349682bf97cf55446e8ae260b11a
Author: Xiaoyao Li <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M include/hw/i386/topology.h
M target/i386/cpu.c
Log Message:
-----------
i386/topology: Introduce helpers for various topology info of different level
Introduce various helpers for getting the topology info of different
semantics. Using the helper is more self-explanatory.
Besides, the semantic of the helper will stay unchanged even when new
topology is added in the future. At that time, updating the
implementation of the helper without affecting the callers.
Signed-off-by: Xiaoyao Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: 84b71a131c1bc84c36fafb63271080ecf9f2ff7a
https://github.com/qemu/qemu/commit/84b71a131c1bc84c36fafb63271080ecf9f2ff7a
Author: Xiaoyao Li <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M hw/i386/x86-common.c
M target/i386/cpu-system.c
M target/i386/cpu.c
M target/i386/cpu.h
Log Message:
-----------
i386/cpu: Track a X86CPUTopoInfo directly in CPUX86State
The name of nr_modules/nr_dies are ambiguous and they mislead people.
The purpose of them is to record and form the topology information. So
just maintain a X86CPUTopoInfo member in CPUX86State instead. Then
nr_modules and nr_dies can be dropped.
As the benefit, x86 can switch to use information in
CPUX86State::topo_info and get rid of the nr_cores and nr_threads in
CPUState. This helps remove the dependency on qemu_init_vcpu(), so that
x86 can get and use topology info earlier in x86_cpu_realizefn(); drop
the comment that highlighted the depedency.
Signed-off-by: Xiaoyao Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: 473d79b56a1645be90b890f9623b27acd0afba49
https://github.com/qemu/qemu/commit/473d79b56a1645be90b890f9623b27acd0afba49
Author: Xiaoyao Li <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M target/i386/cpu.c
Log Message:
-----------
i386/cpu: Hoist check of CPUID_EXT3_TOPOEXT against threads_per_core
Now it changes to use env->topo_info.threads_per_core and doesn't depend
on qemu_init_vcpu() anymore. Put it together with other feature checks
before qemu_init_vcpu()
Signed-off-by: Xiaoyao Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: 6e090ffe0d188e1f09d4efcd10d82158f92abfbb
https://github.com/qemu/qemu/commit/6e090ffe0d188e1f09d4efcd10d82158f92abfbb
Author: Xiaoyao Li <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M hw/core/cpu-common.c
M include/hw/core/cpu.h
M system/cpus.c
Log Message:
-----------
cpu: Remove nr_cores from struct CPUState
There is no user of it now, remove it.
Signed-off-by: Xiaoyao Li <[email protected]>
Reviewed-by: Zhao Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: c6bd2dd634208ca717b6dc010064fe34d1359080
https://github.com/qemu/qemu/commit/c6bd2dd634208ca717b6dc010064fe34d1359080
Author: Xiaoyao Li <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M target/i386/cpu.c
Log Message:
-----------
i386/cpu: Set up CPUID_HT in x86_cpu_expand_features() instead of
cpu_x86_cpuid()
Currently CPUID_HT is evaluated in cpu_x86_cpuid() each time. It's not a
correct usage of how feature bit is maintained and evaluated. The
expected practice is that features are tracked in env->features[] and
cpu_x86_cpuid() should be the consumer of env->features[].
Track CPUID_HT in env->features[FEAT_1_EDX] instead and evaluate it in
cpu's realizefn().
Signed-off-by: Xiaoyao Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: 99a637a86f55c8486b06c698656befdf012eec4d
https://github.com/qemu/qemu/commit/99a637a86f55c8486b06c698656befdf012eec4d
Author: Xiaoyao Li <[email protected]>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M target/i386/cpu.c
Log Message:
-----------
i386/cpu: Set and track CPUID_EXT3_CMP_LEG in
env->features[FEAT_8000_0001_ECX]
The correct usage is tracking and maintaining features in env->features[]
instead of manually set it in cpu_x86_cpuid().
Signed-off-by: Xiaoyao Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Commit: 552260aeae26edebb1d660dae1e0c76fa234364b
https://github.com/qemu/qemu/commit/552260aeae26edebb1d660dae1e0c76fa234364b
Author: Alex Bennée <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M semihosting/syscalls.c
Log Message:
-----------
semihosting: add guest_error logging for failed opens
This usually indicates the semihosting call was expecting to find
something but didn't.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: 23482ccd6bff4398643a90ca1c890f91f003e2c1
https://github.com/qemu/qemu/commit/23482ccd6bff4398643a90ca1c890f91f003e2c1
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M include/semihosting/uaccess.h
Log Message:
-----------
semihosting/uaccess: Briefly document returned values
Since it is not obvious the get/put_user*() methods
can return an error, add brief docstrings about it.
Also remind to use *unlock_user() when appropriate.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: 056c4059e8a64d006dc274ab8279e06e47e2920d
https://github.com/qemu/qemu/commit/056c4059e8a64d006dc274ab8279e06e47e2920d
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M include/semihosting/syscalls.h
Log Message:
-----------
semihosting/syscalls: Include missing 'exec/cpu-defs.h' header
target_ulong is defined in each target "cpu-param.h",
itself included by "exec/cpu-defs.h".
Include the latter in order to avoid when refactoring:
include/semihosting/syscalls.h:26:24: error: unknown type name 'target_ulong'
26 | target_ulong fname, target_ulong fname_len,
| ^
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: d2f28a0ce8d2e09c0bc9c323b492d2ee70bbdc79
https://github.com/qemu/qemu/commit/d2f28a0ce8d2e09c0bc9c323b492d2ee70bbdc79
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M semihosting/uaccess.c
Log Message:
-----------
semihosting/uaccess: Include missing 'exec/cpu-all.h' header
TLB_INVALID_MASK is defined in "exec/cpu-all.h".
Include it in order to avoid when refactoring:
../semihosting/uaccess.c:41:21: error: use of undeclared identifier
'TLB_INVALID_MASK'
41 | if (flags & TLB_INVALID_MASK) {
| ^
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: 847343cfbf80bd221f42595a0038a8d5e7ab7088
https://github.com/qemu/qemu/commit/847343cfbf80bd221f42595a0038a8d5e7ab7088
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M semihosting/arm-compat-semi.c
Log Message:
-----------
semihosting/arm-compat: Include missing 'cpu.h' header
ARM semihosting implementations in "common-semi-target.h"
must de-reference the target CPUArchState, which is declared
in each target "cpu.h" header. Include it in order to avoid
when refactoring:
In file included from ../../semihosting/arm-compat-semi.c:169:
../target/riscv/common-semi-target.h:16:5: error: use of undeclared
identifier 'RISCVCPU'
16 | RISCVCPU *cpu = RISCV_CPU(cs);
| ^
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: 57792106562417ba03a1ac0f2a5afc3eb63c5d9e
https://github.com/qemu/qemu/commit/57792106562417ba03a1ac0f2a5afc3eb63c5d9e
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M include/semihosting/console.h
M semihosting/console.c
Log Message:
-----------
semihosting/console: Avoid including 'cpu.h'
The CPUState structure is declared in "hw/core/cpu.h",
the EXCP_HALTED definition in "exec/cpu-common.h".
Both headers are indirectly include by "cpu.h". In
order to remove "cpu.h" from "semihosting/console.h",
explicitly include them in console.c, otherwise we'd
get:
../semihosting/console.c:88:11: error: incomplete definition of type 'struct
CPUState'
88 | cs->exception_index = EXCP_HALTED;
| ~~^
../semihosting/console.c:88:31: error: use of undeclared identifier
'EXCP_HALTED'
88 | cs->exception_index = EXCP_HALTED;
| ^
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: bb0c5be8e907511c7f05f45e820c548ceef25b97
https://github.com/qemu/qemu/commit/bb0c5be8e907511c7f05f45e820c548ceef25b97
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M semihosting/meson.build
Log Message:
-----------
semihosting/meson: Build config.o and console.o once
config.c and console.c don't use any target specific
headers anymore, move them from specific_ss[] to
system_ss[] so they are built once, but will also be
linked once, removing global symbol clash in a single
QEMU binary.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: 77e911d0c76e91f1566afb9e76f05aee50f08e42
https://github.com/qemu/qemu/commit/77e911d0c76e91f1566afb9e76f05aee50f08e42
Author: Alex Bennée <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M system/vl.c
Log Message:
-----------
system/vl: more error exit into config enumeration code
All of the failures to configure devices will result in QEMU exiting
with an error code. In preparation for passing Error * down the chain
re-name the iterator to foreach_device_config_or_exit and exit using
&error_fatal instead of returning a failure indication.
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: 05cdd648a846bd60e300fcfa1eabf8f20e589cba
https://github.com/qemu/qemu/commit/05cdd648a846bd60e300fcfa1eabf8f20e589cba
Author: Alex Bennée <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M system/vl.c
Log Message:
-----------
system: squash usb_parse into a single function
We don't need to wrap usb_device_add as usb_parse is already gated
with an if (machine_usb(current_machine)) check. Instead just assert
and directly fail if usbdevice_create returns NULL.
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: c0e6b8b798bee5d8772ca8db19638ec89b47c946
https://github.com/qemu/qemu/commit/c0e6b8b798bee5d8772ca8db19638ec89b47c946
Author: Alex Bennée <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M bsd-user/main.c
M gdbstub/system.c
M gdbstub/user.c
M include/exec/gdbstub.h
M linux-user/main.c
M monitor/hmp-cmds.c
M system/vl.c
Log Message:
-----------
system: propagate Error to gdbserver_start (and other device setups)
This started as a clean-up to properly pass a Error handler to the
gdbserver_start so we could do the right thing for command line and
HMP invocations.
Now that we have cleaned up foreach_device_config_or_exit() in earlier
patches we can further simplify by it by passing &error_fatal instead
of checking the return value. Having a return value is still useful
for HMP though so tweak the return to use a simple bool instead.
Reviewed-by: Pierrick Bouvier <[email protected]>
Acked-by: Ilya Leoshkevich <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: c7c430065a5e240bd206b8edb4949256fb528299
https://github.com/qemu/qemu/commit/c7c430065a5e240bd206b8edb4949256fb528299
Author: Pierrick Bouvier <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M tests/tcg/plugins/insn.c
Log Message:
-----------
tests/tcg/plugins/insn: remove unused callback parameter
Reviewed-by: Alex Bennée <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: d0737068e11cc647c85918a0c57f00da27ec14b3
https://github.com/qemu/qemu/commit/d0737068e11cc647c85918a0c57f00da27ec14b3
Author: Pierrick Bouvier <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M contrib/plugins/howvec.c
Log Message:
-----------
contrib/plugins/howvec: ensure we don't regress if this plugin is extended
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: b2a3ebb72c30e649cac9670ac81770a297271d0f
https://github.com/qemu/qemu/commit/b2a3ebb72c30e649cac9670ac81770a297271d0f
Author: Pierrick Bouvier <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M tests/tcg/plugins/syscall.c
Log Message:
-----------
tests/tcg/plugins/syscall: fix 32-bit build
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: 376bc151c7e0f535a783e72fc75dbbb07d0594b4
https://github.com/qemu/qemu/commit/376bc151c7e0f535a783e72fc75dbbb07d0594b4
Author: Pierrick Bouvier <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M tests/tcg/plugins/mem.c
Log Message:
-----------
tests/tcg/plugins/mem: fix 32-bit build
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: 03be743f4f9fbcad2a80e89157d3255c3d3774f3
https://github.com/qemu/qemu/commit/03be743f4f9fbcad2a80e89157d3255c3d3774f3
Author: Pierrick Bouvier <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M contrib/plugins/stoptrigger.c
Log Message:
-----------
contrib/plugins/stoptrigger: fix 32-bit build
Signed-off-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: aa47f448b5e42184f7b99cf8139646dd0f362e0d
https://github.com/qemu/qemu/commit/aa47f448b5e42184f7b99cf8139646dd0f362e0d
Author: Pierrick Bouvier <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M contrib/plugins/cache.c
Log Message:
-----------
contrib/plugins/cache: fix 32-bit build
Signed-off-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: 2fb2aa0bb0ed173a84d756d214c3bb4f1e9dc3c7
https://github.com/qemu/qemu/commit/2fb2aa0bb0ed173a84d756d214c3bb4f1e9dc3c7
Author: Pierrick Bouvier <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M contrib/plugins/hotblocks.c
Log Message:
-----------
contrib/plugins/hotblocks: fix 32-bit build
Signed-off-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: a5555b254820b57ed978f546413a70ddb794c472
https://github.com/qemu/qemu/commit/a5555b254820b57ed978f546413a70ddb794c472
Author: Pierrick Bouvier <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M contrib/plugins/cflow.c
Log Message:
-----------
contrib/plugins/cflow: fix 32-bit build
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: cab85a63e0c0f0ae3f2c8d0b9dc2770c5d21cf81
https://github.com/qemu/qemu/commit/cab85a63e0c0f0ae3f2c8d0b9dc2770c5d21cf81
Author: Pierrick Bouvier <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M contrib/plugins/hwprofile.c
Log Message:
-----------
contrib/plugins/hwprofile: fix 32-bit build
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: 645bf0601215979804264f593300644692adcd15
https://github.com/qemu/qemu/commit/645bf0601215979804264f593300644692adcd15
Author: Pierrick Bouvier <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M contrib/plugins/hotpages.c
Log Message:
-----------
contrib/plugins/hotpages: fix 32-bit build
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: db7a06ade11eb380aeef0b7c204b699878bdd799
https://github.com/qemu/qemu/commit/db7a06ade11eb380aeef0b7c204b699878bdd799
Author: Pierrick Bouvier <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M configure
Log Message:
-----------
configure: reenable plugins by default for 32-bit hosts
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: 27f347e6a1d269c533633c812321cabb249eada8
https://github.com/qemu/qemu/commit/27f347e6a1d269c533633c812321cabb249eada8
Author: Alex Bennée <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M accel/tcg/translate-all.c
Log Message:
-----------
accel/tcg: also suppress asynchronous IRQs for cpu_io_recompile
While it would be technically correct to allow an IRQ to happen (as
the offending instruction never really completed) it messes up
instrumentation. We already take care to only use memory
instrumentation on the block, we should also suppress IRQs.
Reviewed-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Julian Ganz <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: 8f5a4cfc7ed9e06e07fdd8e8fdf50ef3ea783f63
https://github.com/qemu/qemu/commit/8f5a4cfc7ed9e06e07fdd8e8fdf50ef3ea783f63
Author: Pierrick Bouvier <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M include/qemu/compiler.h
M meson.build
M scripts/cocci-macro-file.h
M subprojects/libvhost-user/libvhost-user.h
Log Message:
-----------
win32: remove usage of attribute gcc_struct
This attribute is not recognized by clang.
An investigation has been performed to ensure this attribute has no
effect on layout of structures we use in QEMU [1], so it's safe to
remove now.
In the future, we'll forbid introducing new bitfields in packed struct,
as they are the one potentially impacted by this change.
[1]
https://lore.kernel.org/qemu-devel/[email protected]/
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Acked-by: Stefano Garzarella <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Tested-by: Stefan Weil <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: ecbf3567e217bc7de320bfe165c8ce72eea51b2c
https://github.com/qemu/qemu/commit/ecbf3567e217bc7de320bfe165c8ce72eea51b2c
Author: Pierrick Bouvier <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M docs/devel/style.rst
Log Message:
-----------
docs/devel/style: add a section about bitfield, and disallow them for packed
structures
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Tested-by: Stefan Weil <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: 923710b6d5b21d9b3fcecc7e6719cfa5a53de268
https://github.com/qemu/qemu/commit/923710b6d5b21d9b3fcecc7e6719cfa5a53de268
Author: Pierrick Bouvier <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M contrib/plugins/meson.build
M meson.build
M plugins/meson.build
M tests/tcg/plugins/meson.build
Log Message:
-----------
plugins: enable linking with clang/lld
Windows uses a special mechanism to enable plugins to work (DLL delay
loading). Option for lld is different than ld.
MSYS2 clang based environment use lld by default, so restricting to this
config on Windows is safe, and will avoid false bug reports.
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Tested-by: Stefan Weil <[email protected]>
Tested-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: b165ee1916b716043d452cae233fae9175ca5846
https://github.com/qemu/qemu/commit/b165ee1916b716043d452cae233fae9175ca5846
Author: Alex Bennée <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M include/qemu/qemu-plugin.h
Log Message:
-----------
plugins: fix kdoc annotation
The function is qemu_plugin_mem_get_value()
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: c08f9d8dec26133e86e1420092742632e58a1d3f
https://github.com/qemu/qemu/commit/c08f9d8dec26133e86e1420092742632e58a1d3f
Author: Alex Bennée <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M .editorconfig
Log Message:
-----------
editorconfig: update for perl scripts
We have two types of perl scripts in the tree. The ones from the
kernel are mostly tab based where as scripts we have written ourselves
use 4 space indentation.
Attempt to codify that in our .editorconfig
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: 64965b4b30e6634ce874156ae94d336bfb0fdfd4
https://github.com/qemu/qemu/commit/64965b4b30e6634ce874156ae94d336bfb0fdfd4
Author: Alex Bennée <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M tests/qtest/libqos/qgraph.h
M tests/qtest/libqtest.h
Log Message:
-----------
tests/qtest: fix some copy and paste errors in kdoc
A number of copy and paste kdoc comments are referring to the wrong
definition. Fix those cases.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: 69f11e473060de0e704ea0dfda13cdfd1827fc69
https://github.com/qemu/qemu/commit/69f11e473060de0e704ea0dfda13cdfd1827fc69
Author: Alex Bennée <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M include/exec/memory.h
Log Message:
-----------
include/exec: fix some copy and paste errors in kdoc
A number of copy and paste kdoc comments are referring to the wrong
definition. Fix those cases.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: 2012375d1874cac8b1c0f68b84d4b21be02186d6
https://github.com/qemu/qemu/commit/2012375d1874cac8b1c0f68b84d4b21be02186d6
Author: Alex Bennée <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M include/exec/memory.h
Log Message:
-----------
include/exec: remove warning_printed from MemoryRegion
Since d197063fcf9 (memory: move unassigned_mem_ops to memory.c) this
field is unused.
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Peter Xu <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: 7b2c98854cf931cc2a090ead5cdc5c1bed4e9f41
https://github.com/qemu/qemu/commit/7b2c98854cf931cc2a090ead5cdc5c1bed4e9f41
Author: Alex Bennée <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M docs/sphinx/depfile.py
Log Message:
-----------
docs/sphinx: include kernel-doc script as a dependency
When we update the script we should rebuild the docs. Otherwise
breaking changes made to the kdoc script don't become apparent until
later.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: f4ac443efd8228a0cdb3f687f574c81859674d46
https://github.com/qemu/qemu/commit/f4ac443efd8228a0cdb3f687f574c81859674d46
Author: Pierrick Bouvier <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M docs/devel/submitting-a-patch.rst
Log Message:
-----------
docs/devel: add git-publish for patch submitting
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: ca494c9be4dbe4144de6f9433beb00d0f6cbc15d
https://github.com/qemu/qemu/commit/ca494c9be4dbe4144de6f9433beb00d0f6cbc15d
Author: Pierrick Bouvier <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M docs/devel/submitting-a-patch.rst
Log Message:
-----------
docs/devel: add b4 for patch retrieval
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: 75dbfbad68461cd48bf283964bcf319aaa11570a
https://github.com/qemu/qemu/commit/75dbfbad68461cd48bf283964bcf319aaa11570a
Author: Pierrick Bouvier <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M MAINTAINERS
M docs/about/build-platforms.rst
A docs/devel/build-environment.rst
M docs/devel/index-build.rst
Log Message:
-----------
docs/devel: add information on how to setup build environments
MacOS and Linux are straightforward, but Windows needs a bit more
details.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: 7f6314427e78283f84e6f1b425a122b260a6ac50
https://github.com/qemu/qemu/commit/7f6314427e78283f84e6f1b425a122b260a6ac50
Author: Pierrick Bouvier <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M MAINTAINERS
M docs/about/emulation.rst
A docs/devel/codebase.rst
M docs/devel/decodetree.rst
M docs/devel/ebpf_rss.rst
M docs/devel/index-internals.rst
M docs/devel/index.rst
M docs/devel/migration/main.rst
M docs/devel/qapi-code-gen.rst
M docs/devel/testing/main.rst
M docs/devel/testing/qtest.rst
M docs/index.rst
M docs/interop/qemu-ga.rst
M docs/system/qemu-block-drivers.rst.inc
M docs/tools/qemu-storage-daemon.rst
M docs/user/main.rst
Log Message:
-----------
docs/devel: add a codebase section
Present the various parts of QEMU and organization of codebase.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-Id: <[email protected]>
[AJB: tweak commit summary, update MAINTAINERS]
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: a4340e7c522e3f20abeac061a5a8b319f715c1d0
https://github.com/qemu/qemu/commit/a4340e7c522e3f20abeac061a5a8b319f715c1d0
Author: Pierrick Bouvier <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M MAINTAINERS
M docs/devel/control-flow-integrity.rst
M docs/devel/multi-thread-tcg.rst
A docs/glossary.rst
M docs/index.rst
M docs/system/arm/virt.rst
M docs/system/images.rst
M docs/tools/qemu-nbd.rst
Log Message:
-----------
docs: add a glossary
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Pierrick Bouvier <[email protected]>
Message-Id: <[email protected]>
[AJB: update MAINTAINERS]
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: b9eab5efc1a631b476656859beb8eaaa895eb202
https://github.com/qemu/qemu/commit/b9eab5efc1a631b476656859beb8eaaa895eb202
Author: Stefan Weil <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M scripts/nsis.py
Log Message:
-----------
scripts/nsis.py: Run dependency check for each DLL file only once
Each DLL should only be checked once for dependencies, but
several hundred (781 in my test) unneeded checks were done.
Now the script is significantly faster (16 s in my build).
Signed-off-by: Stefan Weil <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Message-Id: <[email protected]>
Commit: 09360a048bd7a133e47cb8dea617d44540bdebbd
https://github.com/qemu/qemu/commit/09360a048bd7a133e47cb8dea617d44540bdebbd
Author: Stefan Hajnoczi <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M hw/core/cpu-common.c
M hw/i386/kvm/clock.c
M hw/i386/x86-common.c
M include/hw/core/cpu.h
M include/hw/i386/topology.h
M rust/hw/char/pl011/src/device.rs
M rust/hw/char/pl011/src/lib.rs
M rust/qemu-api-macros/src/lib.rs
A rust/qemu-api-macros/src/utils.rs
M rust/qemu-api/meson.build
A rust/qemu-api/src/assertions.rs
M rust/qemu-api/src/irq.rs
M rust/qemu-api/src/lib.rs
M rust/qemu-api/src/prelude.rs
M rust/qemu-api/src/qom.rs
M rust/qemu-api/src/sysbus.rs
M rust/qemu-api/tests/tests.rs
M scripts/make-release
M scripts/rust/rustc_args.py
M subprojects/arbitrary-int-1-rs.wrap
M subprojects/bilge-0.2-rs.wrap
M subprojects/bilge-impl-0.2-rs.wrap
M subprojects/either-1-rs.wrap
M subprojects/itertools-0.11-rs.wrap
M subprojects/packagefiles/arbitrary-int-1-rs/meson.build
M subprojects/packagefiles/bilge-0.2-rs/meson.build
M subprojects/packagefiles/bilge-impl-0.2-rs/meson.build
M subprojects/packagefiles/either-1-rs/meson.build
M subprojects/packagefiles/itertools-0.11-rs/meson.build
M subprojects/packagefiles/proc-macro-error-1-rs/meson.build
M subprojects/packagefiles/proc-macro-error-attr-1-rs/meson.build
M subprojects/packagefiles/proc-macro2-1-rs/meson.build
M subprojects/packagefiles/quote-1-rs/meson.build
M subprojects/packagefiles/syn-2-rs/meson.build
M subprojects/packagefiles/unicode-ident-1-rs/meson.build
M subprojects/proc-macro-error-1-rs.wrap
M subprojects/proc-macro-error-attr-1-rs.wrap
M subprojects/proc-macro2-1-rs.wrap
M subprojects/quote-1-rs.wrap
M subprojects/syn-2-rs.wrap
M subprojects/unicode-ident-1-rs.wrap
R subprojects/unicode-ident-1-rs/meson.build
M system/cpus.c
M target/i386/confidential-guest.h
M target/i386/cpu-system.c
M target/i386/cpu.c
M target/i386/cpu.h
M target/i386/hvf/x86_emu.c
M target/i386/kvm/kvm.c
M target/i386/tcg/emit.c.inc
M target/i386/tcg/system/misc_helper.c
M target/i386/tcg/translate.c
Log Message:
-----------
Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging
* rust: miscellaneous changes
* target/i386: small code generation improvements
* target/i386: various cleanups and fixes
* cpu: remove env->nr_cores
# -----BEGIN PGP SIGNATURE-----
#
# iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmeBoIgUHHBib256aW5p
# QHJlZGhhdC5jb20ACgkQv/vSX3jHroOD2gf+NK7U1EhNIrsbBsbtu2i7+tnbRKIB
# MTu+Mxb2wz4C7//pxq+vva4bgT3iOuL9RF19PRe/63CMD65xMiwyyNrEWX2HbRIJ
# 5dytLLLdef3yMhHh2x1uZfm54g12Ppvn9kulMCbPawrlqWgg1sZbkUBrRtFzS45c
# NeYjGWWSpBDe7LtsrgSRYLPnz6wWEiy3tDpu2VoDtjrE86UVDXwyzpbtBk9Y8jPi
# CKdvLyQeO9xDE5OoXMjJMlJeQq3D9iwYEprXUqy+RUZtpW7YmqMCf2JQ4dAjVCad
# 07v/kITF4brGCVnzDcDA6W7LqHpBu1w+Hn23yLw3HEDDBt11o9JjQCl9qA==
# =xIQ4
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri 10 Jan 2025 17:34:48 EST
# 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]
# 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: (38 commits)
i386/cpu: Set and track CPUID_EXT3_CMP_LEG in
env->features[FEAT_8000_0001_ECX]
i386/cpu: Set up CPUID_HT in x86_cpu_expand_features() instead of
cpu_x86_cpuid()
cpu: Remove nr_cores from struct CPUState
i386/cpu: Hoist check of CPUID_EXT3_TOPOEXT against threads_per_core
i386/cpu: Track a X86CPUTopoInfo directly in CPUX86State
i386/topology: Introduce helpers for various topology info of different level
i386/topology: Update the comment of x86_apicid_from_topo_ids()
i386/cpu: Drop cores_per_pkg in cpu_x86_cpuid()
i386/cpu: Drop the variable smp_cores and smp_threads in x86_cpu_pre_plug()
i386/cpu: Extract a common fucntion to setup value of MSR_CORE_THREAD_COUNT
target/i386/kvm: Replace ARRAY_SIZE(msr_handlers) with
KVM_MSR_FILTER_MAX_RANGES
target/i386/kvm: Clean up error handling in kvm_arch_init()
target/i386/kvm: Return -1 when kvm_msr_energy_thread_init() fails
target/i386/kvm: Clean up return values of MSR filter related functions
target/i386/confidential-guest: Fix comment of
x86_confidential_guest_kvm_type()
target/i386/kvm: Drop workaround for KVM_X86_DISABLE_EXITS_HTL typo
target/i386/kvm: Only save/load kvmclock MSRs when kvmclock enabled
target/i386/kvm: Remove local MSR_KVM_WALL_CLOCK and MSR_KVM_SYSTEM_TIME
definitions
target/i386/kvm: Add feature bit definitions for KVM CPUID
i386/cpu: Mark avx10_version filtered when prefix is NULL
...
Signed-off-by: Stefan Hajnoczi <[email protected]>
Commit: 0e3aff9ec34059512d597eacfcf4d1b5d4570c50
https://github.com/qemu/qemu/commit/0e3aff9ec34059512d597eacfcf4d1b5d4570c50
Author: Stefan Hajnoczi <[email protected]>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M .editorconfig
M MAINTAINERS
M accel/tcg/translate-all.c
M bsd-user/main.c
M configure
M contrib/plugins/cache.c
M contrib/plugins/cflow.c
M contrib/plugins/hotblocks.c
M contrib/plugins/hotpages.c
M contrib/plugins/howvec.c
M contrib/plugins/hwprofile.c
M contrib/plugins/meson.build
M contrib/plugins/stoptrigger.c
M docs/about/build-platforms.rst
M docs/about/emulation.rst
A docs/devel/build-environment.rst
A docs/devel/codebase.rst
M docs/devel/control-flow-integrity.rst
M docs/devel/decodetree.rst
M docs/devel/ebpf_rss.rst
M docs/devel/index-build.rst
M docs/devel/index-internals.rst
M docs/devel/index.rst
M docs/devel/migration/main.rst
M docs/devel/multi-thread-tcg.rst
M docs/devel/qapi-code-gen.rst
M docs/devel/style.rst
M docs/devel/submitting-a-patch.rst
M docs/devel/testing/main.rst
M docs/devel/testing/qtest.rst
A docs/glossary.rst
M docs/index.rst
M docs/interop/qemu-ga.rst
M docs/sphinx/depfile.py
M docs/system/arm/virt.rst
M docs/system/images.rst
M docs/system/qemu-block-drivers.rst.inc
M docs/tools/qemu-nbd.rst
M docs/tools/qemu-storage-daemon.rst
M docs/user/main.rst
M gdbstub/system.c
M gdbstub/user.c
M include/exec/gdbstub.h
M include/exec/memory.h
M include/qemu/compiler.h
M include/qemu/qemu-plugin.h
M include/semihosting/console.h
M include/semihosting/syscalls.h
M include/semihosting/uaccess.h
M linux-user/main.c
M meson.build
M monitor/hmp-cmds.c
M plugins/meson.build
M scripts/cocci-macro-file.h
M scripts/nsis.py
M semihosting/arm-compat-semi.c
M semihosting/console.c
M semihosting/meson.build
M semihosting/syscalls.c
M semihosting/uaccess.c
M subprojects/libvhost-user/libvhost-user.h
M system/vl.c
M tests/qtest/libqos/qgraph.h
M tests/qtest/libqtest.h
M tests/tcg/plugins/insn.c
M tests/tcg/plugins/mem.c
M tests/tcg/plugins/meson.build
M tests/tcg/plugins/syscall.c
Log Message:
-----------
Merge tag 'pull-10.0-gdb-plugins-doc-updates-170125-1' of
https://gitlab.com/stsquad/qemu into staging
semihosting, plugin and doc updates:
- log a guest_error for failed semihosting open()
- clean up semihosting includes to reduce build duplication
- re-factor misc device initialisation to fail with &error_exit
- propagate Error * to gdbserver_start sub-functions
- fix 32-bit build of plugins and re-enable by default
- ensure IRQs don't preempt io recompiled instructions
- remove usage of gcc_struct to enable clang builds
- enable clang/lld to build plugins on windows
- various small kdoc typo fixes
- add perl scripts to editorconfig
- remove unused field from MemoryRegion
- make kdoc script a dependency so doc rebuilds get triggered
- expand developer documentation:
- notes on git-publish
- describe usage of b4
- setting up build dependencies
- codebase layout
- add a glossary of common terms
- optimise the windows ndis script
# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmeKO8sACgkQ+9DbCVqe
# KkTbBQf9HRlspCl2r5a8K9O1ymylKiZ653OBWMStGTQ8xPXeLDFhT+ION34VBgBh
# LXHEcjIHn24cN2s1BO5+xJs0nzqYe7UEAK6JQmdX3/HEuf8VmaVslvhm+nCWKoIL
# JQbsHno92wh6vvTWQu53zijEuG5HdBseWiwQKHbE1oSRc2CikG70o902AL9zXAsp
# mpUYWxUmWwg5uQATztp4XfylJBcSX3SiVgv22jXLqBj9drXPftl/E33fcWXxTj5f
# AM3kz9fxaCfo5+znmYw3R1tT/Hv52Q6hW+oNAm34XeWp1/+ho27QMRrpIi/dpdwX
# mCbvJwI75sCnD91p9NW7vZIYZJKsLg==
# =SLCY
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri 17 Jan 2025 06:15:23 EST
# gpg: using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key)
<[email protected]>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 6685 AE99 E751 67BC AFC8 DF35 FBD0 DB09 5A9E 2A44
* tag 'pull-10.0-gdb-plugins-doc-updates-170125-1' of
https://gitlab.com/stsquad/qemu: (37 commits)
scripts/nsis.py: Run dependency check for each DLL file only once
docs: add a glossary
docs/devel: add a codebase section
docs/devel: add information on how to setup build environments
docs/devel: add b4 for patch retrieval
docs/devel: add git-publish for patch submitting
docs/sphinx: include kernel-doc script as a dependency
include/exec: remove warning_printed from MemoryRegion
include/exec: fix some copy and paste errors in kdoc
tests/qtest: fix some copy and paste errors in kdoc
editorconfig: update for perl scripts
plugins: fix kdoc annotation
plugins: enable linking with clang/lld
docs/devel/style: add a section about bitfield, and disallow them for packed
structures
win32: remove usage of attribute gcc_struct
accel/tcg: also suppress asynchronous IRQs for cpu_io_recompile
configure: reenable plugins by default for 32-bit hosts
contrib/plugins/hotpages: fix 32-bit build
contrib/plugins/hwprofile: fix 32-bit build
contrib/plugins/cflow: fix 32-bit build
...
Signed-off-by: Stefan Hajnoczi <[email protected]>
Compare: https://github.com/qemu/qemu/compare/4d5d933bbc7c...0e3aff9ec340
To unsubscribe from these emails, change your notification settings at
https://github.com/qemu/qemu/settings/notifications