* [PULL 0/6] Trivial patches for 2025-07-13
@ 2025-07-13 9:10 Michael Tokarev
2025-07-13 9:10 ` [PULL 1/6] hw/usb/dev-hid: Support side and extra mouse buttons for usb-tablet Michael Tokarev
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: Michael Tokarev @ 2025-07-13 9:10 UTC (permalink / raw)
To: qemu-devel; +Cc: Michael Tokarev, qemu-trivial
The following changes since commit 9a4e273ddec3927920c5958d2226c6b38b543336:
Merge tag 'pull-tcg-20250711' of https://gitlab.com/rth7680/qemu into staging (2025-07-13 01:46:04 -0400)
are available in the Git repository at:
https://gitlab.com/mjt0k/qemu.git tags/pull-trivial-patches
for you to fetch changes up to 0f55ca43cd90eb89193bae45d0907c1b17a1dadd:
docs/devel/tracing: Update trace.h creation rune to include SPDX (2025-07-13 12:08:07 +0300)
----------------------------------------------------------------
trivial patches for 2025-07-13
There aren't anything fancy here, and the amount of patches is
rather small. This set has been accumulating for a long time
but there's only 6 patches in it.
----------------------------------------------------------------
Andrew Kreimer (1):
docs: remove repeated word
Peter Maydell (2):
hw/uefi: Create and use trace.h wrapper header
docs/devel/tracing: Update trace.h creation rune to include SPDX
Thomas Huth (2):
accel/kvm: Adjust the note about the minimum required kernel version
docs/system/target-i386: Remove the sentence about RHEL 7 being supported
Thomas Lambertz (1):
hw/usb/dev-hid: Support side and extra mouse buttons for usb-tablet
accel/kvm/kvm-all.c | 3 +--
docs/devel/tracing.rst | 2 +-
docs/system/introduction.rst | 2 +-
docs/system/target-i386.rst | 4 +---
hw/uefi/trace.h | 2 ++
hw/uefi/var-service-core.c | 2 +-
hw/uefi/var-service-policy.c | 2 +-
hw/uefi/var-service-utils.c | 2 +-
hw/uefi/var-service-vars.c | 2 +-
hw/usb/dev-hid.c | 6 +++---
10 files changed, 13 insertions(+), 14 deletions(-)
create mode 100644 hw/uefi/trace.h
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PULL 1/6] hw/usb/dev-hid: Support side and extra mouse buttons for usb-tablet
2025-07-13 9:10 [PULL 0/6] Trivial patches for 2025-07-13 Michael Tokarev
@ 2025-07-13 9:10 ` Michael Tokarev
2025-07-13 9:10 ` [PULL 2/6] docs: remove repeated word Michael Tokarev
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Michael Tokarev @ 2025-07-13 9:10 UTC (permalink / raw)
To: qemu-devel; +Cc: Thomas Lambertz, qemu-trivial, Michael Tokarev
From: Thomas Lambertz <patch@thomaslambertz.de>
The necessary plumbing for side- and extra mouse buttons to reach
usb-tablet is already done. But the descriptor advertises three buttons
max. Increase this to 5. Buttons are now identical to usb-mouse.
Signed-off-by: Thomas Lambertz <patch@thomaslambertz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
hw/usb/dev-hid.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/usb/dev-hid.c b/hw/usb/dev-hid.c
index 54d064e54e..96623aa322 100644
--- a/hw/usb/dev-hid.c
+++ b/hw/usb/dev-hid.c
@@ -491,14 +491,14 @@ static const uint8_t qemu_tablet_hid_report_descriptor[] = {
0xa1, 0x00, /* Collection (Physical) */
0x05, 0x09, /* Usage Page (Button) */
0x19, 0x01, /* Usage Minimum (1) */
- 0x29, 0x03, /* Usage Maximum (3) */
+ 0x29, 0x05, /* Usage Maximum (5) */
0x15, 0x00, /* Logical Minimum (0) */
0x25, 0x01, /* Logical Maximum (1) */
- 0x95, 0x03, /* Report Count (3) */
+ 0x95, 0x05, /* Report Count (5) */
0x75, 0x01, /* Report Size (1) */
0x81, 0x02, /* Input (Data, Variable, Absolute) */
0x95, 0x01, /* Report Count (1) */
- 0x75, 0x05, /* Report Size (5) */
+ 0x75, 0x03, /* Report Size (3) */
0x81, 0x01, /* Input (Constant) */
0x05, 0x01, /* Usage Page (Generic Desktop) */
0x09, 0x30, /* Usage (X) */
--
2.47.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PULL 2/6] docs: remove repeated word
2025-07-13 9:10 [PULL 0/6] Trivial patches for 2025-07-13 Michael Tokarev
2025-07-13 9:10 ` [PULL 1/6] hw/usb/dev-hid: Support side and extra mouse buttons for usb-tablet Michael Tokarev
@ 2025-07-13 9:10 ` Michael Tokarev
2025-07-13 9:10 ` [PULL 3/6] accel/kvm: Adjust the note about the minimum required kernel version Michael Tokarev
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Michael Tokarev @ 2025-07-13 9:10 UTC (permalink / raw)
To: qemu-devel; +Cc: Andrew Kreimer, qemu-trivial, Michael Tokarev
From: Andrew Kreimer <algonell@gmail.com>
The word 'find' appears twice, remove the extra one.
Signed-off-by: Andrew Kreimer <algonell@gmail.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
docs/system/introduction.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/system/introduction.rst b/docs/system/introduction.rst
index 338d3745c3..4cd46b5b8f 100644
--- a/docs/system/introduction.rst
+++ b/docs/system/introduction.rst
@@ -81,7 +81,7 @@ may not be optimal for modern systems.
For a non-x86 system where we emulate a broad range of machine types,
the command lines are generally more explicit in defining the machine
-and boot behaviour. You will find often find example command lines in
+and boot behaviour. You will often find example command lines in
the :ref:`system-targets-ref` section of the manual.
While the project doesn't want to discourage users from using the
--
2.47.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PULL 3/6] accel/kvm: Adjust the note about the minimum required kernel version
2025-07-13 9:10 [PULL 0/6] Trivial patches for 2025-07-13 Michael Tokarev
2025-07-13 9:10 ` [PULL 1/6] hw/usb/dev-hid: Support side and extra mouse buttons for usb-tablet Michael Tokarev
2025-07-13 9:10 ` [PULL 2/6] docs: remove repeated word Michael Tokarev
@ 2025-07-13 9:10 ` Michael Tokarev
2025-07-13 9:10 ` [PULL 4/6] docs/system/target-i386: Remove the sentence about RHEL 7 being supported Michael Tokarev
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Michael Tokarev @ 2025-07-13 9:10 UTC (permalink / raw)
To: qemu-devel; +Cc: Thomas Huth, qemu-trivial, Michael Tokarev
From: Thomas Huth <thuth@redhat.com>
Since commit 126e7f78036 ("kvm: require KVM_CAP_IOEVENTFD and
KVM_CAP_IOEVENTFD_ANY_LENGTH") we require at least kernel 4.5 to
be able to use KVM. Adjust the upgrade_note accordingly.
While we're at it, remove the text about kvm-kmod and the
SourceForge URL since this is not actively maintained anymore.
Fixes: 126e7f78036 ("kvm: require KVM_CAP_IOEVENTFD and KVM_CAP_IOEVENTFD_ANY_LENGTH")
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
accel/kvm/kvm-all.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/accel/kvm/kvm-all.c b/accel/kvm/kvm-all.c
index a106d1ba0f..78fc2d26fc 100644
--- a/accel/kvm/kvm-all.c
+++ b/accel/kvm/kvm-all.c
@@ -2606,8 +2606,7 @@ static int kvm_init(AccelState *as, MachineState *ms)
{
MachineClass *mc = MACHINE_GET_CLASS(ms);
static const char upgrade_note[] =
- "Please upgrade to at least kernel 2.6.29 or recent kvm-kmod\n"
- "(see http://sourceforge.net/projects/kvm).\n";
+ "Please upgrade to at least kernel 4.5.\n";
const struct {
const char *name;
int num;
--
2.47.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PULL 4/6] docs/system/target-i386: Remove the sentence about RHEL 7 being supported
2025-07-13 9:10 [PULL 0/6] Trivial patches for 2025-07-13 Michael Tokarev
` (2 preceding siblings ...)
2025-07-13 9:10 ` [PULL 3/6] accel/kvm: Adjust the note about the minimum required kernel version Michael Tokarev
@ 2025-07-13 9:10 ` Michael Tokarev
2025-07-13 9:10 ` [PULL 5/6] hw/uefi: Create and use trace.h wrapper header Michael Tokarev
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Michael Tokarev @ 2025-07-13 9:10 UTC (permalink / raw)
To: qemu-devel; +Cc: Thomas Huth, qemu-trivial, Michael Tokarev
From: Thomas Huth <thuth@redhat.com>
According to our "Supported build platforms" policy, RHEL 7 is not
supported anymore, so let's remove the related sentence from the x86
documentation.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
docs/system/target-i386.rst | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/docs/system/target-i386.rst b/docs/system/target-i386.rst
index 43b09c79d6..2374391397 100644
--- a/docs/system/target-i386.rst
+++ b/docs/system/target-i386.rst
@@ -37,6 +37,4 @@ OS requirements
~~~~~~~~~~~~~~~
On x86_64 hosts, the default set of CPU features enabled by the KVM
-accelerator require the host to be running Linux v4.5 or newer. Red Hat
-Enterprise Linux 7 is also supported, since the required
-functionality was backported.
+accelerator require the host to be running Linux v4.5 or newer.
--
2.47.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PULL 5/6] hw/uefi: Create and use trace.h wrapper header
2025-07-13 9:10 [PULL 0/6] Trivial patches for 2025-07-13 Michael Tokarev
` (3 preceding siblings ...)
2025-07-13 9:10 ` [PULL 4/6] docs/system/target-i386: Remove the sentence about RHEL 7 being supported Michael Tokarev
@ 2025-07-13 9:10 ` Michael Tokarev
2025-07-13 9:10 ` [PULL 6/6] docs/devel/tracing: Update trace.h creation rune to include SPDX Michael Tokarev
2025-07-15 19:50 ` [PULL 0/6] Trivial patches for 2025-07-13 Stefan Hajnoczi
6 siblings, 0 replies; 8+ messages in thread
From: Michael Tokarev @ 2025-07-13 9:10 UTC (permalink / raw)
To: qemu-devel; +Cc: Peter Maydell, qemu-trivial, Michael Tokarev
From: Peter Maydell <peter.maydell@linaro.org>
The documentation of the trace subsystem (docs/devel/tracing.rst)
says that each subdirectory which uses trace events should create a
wrapper trace.h file which includes the trace/trace-foo.h generated
header, and that .c files then #include "trace.h".
We didn't follow this pattern in hw/uefi/. Correct this by creating
and using the trace.h wrapper header.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
hw/uefi/trace.h | 2 ++
hw/uefi/var-service-core.c | 2 +-
hw/uefi/var-service-policy.c | 2 +-
hw/uefi/var-service-utils.c | 2 +-
hw/uefi/var-service-vars.c | 2 +-
5 files changed, 6 insertions(+), 4 deletions(-)
create mode 100644 hw/uefi/trace.h
diff --git a/hw/uefi/trace.h b/hw/uefi/trace.h
new file mode 100644
index 0000000000..6aa1c93896
--- /dev/null
+++ b/hw/uefi/trace.h
@@ -0,0 +1,2 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+#include "trace/trace-hw_uefi.h"
diff --git a/hw/uefi/var-service-core.c b/hw/uefi/var-service-core.c
index 4836a0cb81..feec5a5958 100644
--- a/hw/uefi/var-service-core.c
+++ b/hw/uefi/var-service-core.c
@@ -12,7 +12,7 @@
#include "hw/uefi/var-service-api.h"
#include "hw/uefi/var-service-edk2.h"
-#include "trace/trace-hw_uefi.h"
+#include "trace.h"
static int uefi_vars_pre_load(void *opaque)
{
diff --git a/hw/uefi/var-service-policy.c b/hw/uefi/var-service-policy.c
index 3b1155fe4e..58da4adbeb 100644
--- a/hw/uefi/var-service-policy.c
+++ b/hw/uefi/var-service-policy.c
@@ -14,7 +14,7 @@
#include "hw/uefi/var-service-api.h"
#include "hw/uefi/var-service-edk2.h"
-#include "trace/trace-hw_uefi.h"
+#include "trace.h"
static void calc_policy(uefi_var_policy *pol);
diff --git a/hw/uefi/var-service-utils.c b/hw/uefi/var-service-utils.c
index c9ef46570f..258013f436 100644
--- a/hw/uefi/var-service-utils.c
+++ b/hw/uefi/var-service-utils.c
@@ -8,7 +8,7 @@
#include "hw/uefi/var-service.h"
-#include "trace/trace-hw_uefi.h"
+#include "trace.h"
/* ------------------------------------------------------------------ */
diff --git a/hw/uefi/var-service-vars.c b/hw/uefi/var-service-vars.c
index 7f98d77a38..37d05b71cf 100644
--- a/hw/uefi/var-service-vars.c
+++ b/hw/uefi/var-service-vars.c
@@ -12,7 +12,7 @@
#include "hw/uefi/var-service-api.h"
#include "hw/uefi/var-service-edk2.h"
-#include "trace/trace-hw_uefi.h"
+#include "trace.h"
#define EFI_VARIABLE_ATTRIBUTE_SUPPORTED \
(EFI_VARIABLE_NON_VOLATILE | \
--
2.47.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PULL 6/6] docs/devel/tracing: Update trace.h creation rune to include SPDX
2025-07-13 9:10 [PULL 0/6] Trivial patches for 2025-07-13 Michael Tokarev
` (4 preceding siblings ...)
2025-07-13 9:10 ` [PULL 5/6] hw/uefi: Create and use trace.h wrapper header Michael Tokarev
@ 2025-07-13 9:10 ` Michael Tokarev
2025-07-15 19:50 ` [PULL 0/6] Trivial patches for 2025-07-13 Stefan Hajnoczi
6 siblings, 0 replies; 8+ messages in thread
From: Michael Tokarev @ 2025-07-13 9:10 UTC (permalink / raw)
To: qemu-devel; +Cc: Peter Maydell, qemu-trivial, Michael Tokarev
From: Peter Maydell <peter.maydell@linaro.org>
checkpatch now checks that new files have an SPDX line. If you use the
shell rune in tracing.rst to create a trace.h wrapper header, this
triggers checkpatch to complain.
Although these files are tiny, it's worth having the SPDX line to
avoid having to add extra exception cases to checkpatch.
Update the rune to include creating an SPDX line.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
docs/devel/tracing.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/devel/tracing.rst b/docs/devel/tracing.rst
index 043bed7fd0..f4557ee20e 100644
--- a/docs/devel/tracing.rst
+++ b/docs/devel/tracing.rst
@@ -76,7 +76,7 @@ The "io/trace.h" file must be created manually with an #include of the
corresponding "trace/trace-<subdir>.h" file that will be generated in the
builddir::
- $ echo '#include "trace/trace-io.h"' >io/trace.h
+ $ (echo '/* SPDX-License-Identifier: GPL-2.0-or-later */' ; echo '#include "trace/trace-io.h"') >io/trace.h
While it is possible to include a trace.h file from outside a source file's own
sub-directory, this is discouraged in general. It is strongly preferred that
--
2.47.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PULL 0/6] Trivial patches for 2025-07-13
2025-07-13 9:10 [PULL 0/6] Trivial patches for 2025-07-13 Michael Tokarev
` (5 preceding siblings ...)
2025-07-13 9:10 ` [PULL 6/6] docs/devel/tracing: Update trace.h creation rune to include SPDX Michael Tokarev
@ 2025-07-15 19:50 ` Stefan Hajnoczi
6 siblings, 0 replies; 8+ messages in thread
From: Stefan Hajnoczi @ 2025-07-15 19:50 UTC (permalink / raw)
To: Michael Tokarev; +Cc: qemu-devel, Michael Tokarev, qemu-trivial
[-- Attachment #1: Type: text/plain, Size: 116 bytes --]
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/10.1 for any user-visible changes.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2025-07-15 20:01 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-13 9:10 [PULL 0/6] Trivial patches for 2025-07-13 Michael Tokarev
2025-07-13 9:10 ` [PULL 1/6] hw/usb/dev-hid: Support side and extra mouse buttons for usb-tablet Michael Tokarev
2025-07-13 9:10 ` [PULL 2/6] docs: remove repeated word Michael Tokarev
2025-07-13 9:10 ` [PULL 3/6] accel/kvm: Adjust the note about the minimum required kernel version Michael Tokarev
2025-07-13 9:10 ` [PULL 4/6] docs/system/target-i386: Remove the sentence about RHEL 7 being supported Michael Tokarev
2025-07-13 9:10 ` [PULL 5/6] hw/uefi: Create and use trace.h wrapper header Michael Tokarev
2025-07-13 9:10 ` [PULL 6/6] docs/devel/tracing: Update trace.h creation rune to include SPDX Michael Tokarev
2025-07-15 19:50 ` [PULL 0/6] Trivial patches for 2025-07-13 Stefan Hajnoczi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.