Skip to contentSkip to conversation

Misc fixes for 7.0

GIT PULL Applied Thomas Huth 2 participants 8 messages Apr 1, 2022 – Apr 2, 2022 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

The following changes since commit 9b617b1bb4056e60b39be4c33be20c10928a6a5c:

Merge tag 'trivial-branch-for-7.0-pull-request' of https://gitlab.com/laurent_vivier/qemu into staging (2022-04-01 10:23:27 +0100)

are available in the Git repository at:

https://gitlab.com/thuth/qemu.git tags/pull-request-2022-04-01

for you to fetch changes up to e32aaa5a19e24233180042f84a0235a209de71cc:

trace: fix compilation with lttng-ust >= 2.13 (2022-04-01 13:06:07 +0200)

----------------------------------------------------------------
* Fix some compilation issues
* Fix overflow calculation in s390x emulation
* Update location of lockdown.yml in MAINTAINERS file

----------------------------------------------------------------
Bruno Haible (2):

      target/s390x: Fix determination of overflow condition code after addition
      target/s390x: Fix determination of overflow condition code after subtraction

Marc-André Lureau (1):
trace: fix compilation with lttng-ust >= 2.13

Thomas Huth (1):
meson.build: Fix dependency of page-vary-common.c to config-poison.h

Will Cohen (1):
9p: move P9_XATTR_SIZE_MAX from 9p.h to 9p.c

Yonggang Luo (1):
misc: Fixes MAINTAINERS's path .github/workflows/lockdown.yml

 meson.build                              |  6 +++---
 hw/9pfs/9p.h                             | 18 ------------------
 hw/9pfs/9p.c                             | 28 +++++++++++++++++++++++-----
 target/s390x/tcg/cc_helper.c             |  8 ++++----
 MAINTAINERS                              |  2 +-
 scripts/tracetool/format/ust_events_h.py |  4 ++--
 6 files changed, 33 insertions(+), 33 deletions(-)
#1 lore raw

[PULL 1/6] misc: Fixes MAINTAINERS's path .github/workflows/lockdown.yml

From: Yonggang Luo <[email protected]>

Message-Id: <[email protected]>

---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index cc364afef7..d8b2601981 100644
@@ -3615,7 +3615,7 @@ M: Thomas Huth <[email protected]>
 R: Wainer dos Santos Moschetta <[email protected]>
 R: Beraldo Leal <[email protected]>
 S: Maintained
-F: .github/lockdown.yml
+F: .github/workflows/lockdown.yml
 F: .gitlab-ci.yml
 F: .gitlab-ci.d/
 F: .travis.yml
Signature · 1 line
2.27.0
#3 lore raw

[PULL 6/6] trace: fix compilation with lttng-ust >= 2.13

In reply to Thomas Huth

From: Marc-André Lureau <[email protected]>

On Fedora 36, with lttng-ust 2.13.1, compilation fails with:

In file included from trace/trace-ust-all.h:49085,

                 from trace/trace-ust-all.c:13:
/usr/include/lttng/tracepoint-event.h:67:10: error: #include expects "FILENAME" or <FILENAME>
   67 | #include LTTNG_UST_TRACEPOINT_INCLUDE
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

In lttng-ust commit 41858e2b6e8 ("Fix: don't do macro expansion in tracepoint file name") from 2012, starting from lttng-ust 2.1, the API was changed to expect TRACEPOINT_INCLUDE to be defined as a string.

In lttng-ust commit d2966b4b0b2 ("Remove TRACEPOINT_INCLUDE_FILE macro"), in 2021, the compatibility macro was removed.

Use the "new" API from 2012, and bump the version requirement to 2.1 to fix compilation with >= 2.13.

According to repology, all distributions we support have >= 2.1 (centos 8 has oldest with 2.8.1 afaict)

Message-Id: <[email protected]>

---
 meson.build                              | 4 ++--
 scripts/tracetool/format/ust_events_h.py | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
meson.build +2 -2
index 04ce33fef1..861de93c4f 100644
@@ -455,8 +455,8 @@ if 'CONFIG_GIO' in config_host
 endif
 lttng = not_found
 if 'ust' in get_option('trace_backends')
-  lttng = dependency('lttng-ust', required: true, method: 'pkg-config',
-                     kwargs: static_kwargs)
+  lttng = dependency('lttng-ust', required: true, version: '>= 2.1',
+                     method: 'pkg-config', kwargs: static_kwargs)
 endif
 pixman = not_found
 if have_system or have_tools
scripts/tracetool/format/ust_events_h.py +2 -2
index 6ce559f6cc..b99fe6896b 100644
@@ -29,8 +29,8 @@ def generate(events, backend, group):
         '#undef TRACEPOINT_PROVIDER',
         '#define TRACEPOINT_PROVIDER qemu',
         '',
-        '#undef TRACEPOINT_INCLUDE_FILE',
-        '#define TRACEPOINT_INCLUDE_FILE ./%s' % include,
+        '#undef TRACEPOINT_INCLUDE',
+        '#define TRACEPOINT_INCLUDE "./%s"' % include,
         '',
         '#if !defined (TRACE_%s_GENERATED_UST_H) || \\'  % group.upper(),
         '     defined(TRACEPOINT_HEADER_MULTI_READ)',
Signature · 1 line
2.27.0
#7 lore raw
In reply to Thomas Huth
Quoted 11 lines · Thomas Huth

The following changes since commit 9b617b1bb4056e60b39be4c33be20c10928a6a5c:

Merge tag 'trivial-branch-for-7.0-pull-request' of https://gitlab.com/laurent_vivier/qemu into staging (2022-04-01 10:23:27 +0100)

are available in the Git repository at:

https://gitlab.com/thuth/qemu.git tags/pull-request-2022-04-01

for you to fetch changes up to e32aaa5a19e24233180042f84a0235a209de71cc:

Quoted 8 lines

trace: fix compilation with lttng-ust >= 2.13 (2022-04-01 13:06:07 +0200)

----------------------------------------------------------------
* Fix some compilation issues
* Fix overflow calculation in s390x emulation
* Update location of lockdown.yml in MAINTAINERS file

----------------------------------------------------------------

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/7.0
for any user-visible changes.

-- PMM