<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/hw/tpm/trace-events, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/hw/tpm/trace-events?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/hw/tpm/trace-events?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2021-06-02T04:51:09+00:00</updated>
<entry>
<title>docs: fix references to docs/devel/tracing.rst</title>
<updated>2021-06-02T04:51:09+00:00</updated>
<author>
<name>Stefano Garzarella</name>
</author>
<published>2021-05-17T15:16:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d0fb9657a33dd3d1db1b492c4dcc7c778e40e5c0'/>
<id>urn:sha1:d0fb9657a33dd3d1db1b492c4dcc7c778e40e5c0</id>
<content type='text'>
Commit e50caf4a5c ("tracing: convert documentation to rST")
converted docs/devel/tracing.txt to docs/devel/tracing.rst.

We still have several references to the old file, so let's fix them
with the following command:

  sed -i s/tracing.txt/tracing.rst/ $(git grep -l docs/devel/tracing.txt)

Signed-off-by: Stefano Garzarella &lt;sgarzare@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Message-Id: &lt;20210517151702.109066-2-sgarzare@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>tpm: tpm_spapr: Remove unused tracepoint</title>
<updated>2021-01-26T01:56:38+00:00</updated>
<author>
<name>Roman Bolshakov</name>
</author>
<published>2020-12-07T06:43:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=68a5b02a4684e6f9bbe5113499f88c0018469d08'/>
<id>urn:sha1:68a5b02a4684e6f9bbe5113499f88c0018469d08</id>
<content type='text'>
Linking of qemu-system-ppc64 fails on macOS with dtrace enabled:

  error: probe tpm_spapr_show_buffer doesn't exist
  error: Could not register probes
  ld: error creating dtrace DOF section for architecture x86_64

The failure is explained in 8c8ed03850208e4 ("net/colo: Match is-enabled
probe to tracepoint"). In short, is-enabled probe can't be used without
a matching trace probe. And for this particular case
tpm_util_show_buffer probe should be enabled to print TPM buffer.

Signed-off-by: Roman Bolshakov &lt;r.bolshakov@yadro.com&gt;
Reviewed-by: Stefan Berger &lt;stefanb@linux.ibm.com&gt;
Signed-off-by: Stefan Berger &lt;stefanb@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>trace-events: Fix attribution of trace points to source</title>
<updated>2020-09-09T16:17:58+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2020-08-06T14:13:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b15e402fc8861adb65d168d380f39b310599a533'/>
<id>urn:sha1:b15e402fc8861adb65d168d380f39b310599a533</id>
<content type='text'>
Some trace points are attributed to the wrong source file.  Happens
when we neglect to update trace-events for code motion, or add events
in the wrong place, or misspell the file name.

Clean up with help of scripts/cleanup-trace-events.pl.  Funnies
requiring manual post-processing:

* accel/tcg/cputlb.c trace points are in trace-events.

* block.c and blockdev.c trace points are in block/trace-events.

* hw/block/nvme.c uses the preprocessor to hide its trace point use
  from cleanup-trace-events.pl.

* hw/tpm/tpm_spapr.c uses pseudo trace point tpm_spapr_show_buffer to
  guard debug code.

* include/hw/xen/xen_common.h trace points are in hw/xen/trace-events.

* linux-user/trace-events abbreviates a tedious list of filenames to
  */signal.c.

* net/colo-compare and net/filter-rewriter.c use pseudo trace points
  colo_compare_miscompare and colo_filter_rewriter_debug to guard
  debug code.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Message-id: 20200806141334.3646302-5-armbru@redhat.com
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>tpm: Move backend code under the 'backends/' directory</title>
<updated>2020-06-19T11:25:55+00:00</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
</author>
<published>2020-06-12T08:54:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ca64b08638e259c313a3e7c3da106116b59be8e9'/>
<id>urn:sha1:ca64b08638e259c313a3e7c3da106116b59be8e9</id>
<content type='text'>
TPM subsytem is split into backends (see commit f4ede81eed2)
and frontends (see i.e. 3676bc69b35). Keep the emulated
hardware 'frontends' under hw/tpm/, but move the backends
in the backends/tpm/ directory.

Suggested-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Message-id: 20200612085444.8362-13-philmd@redhat.com
Signed-off-by: Stefan Berger &lt;stefanb@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>tpm_spapr: Support suspend and resume</title>
<updated>2020-02-02T03:07:57+00:00</updated>
<author>
<name>Stefan Berger</name>
</author>
<published>2020-01-21T15:29:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ee9a8129d3d975271d4efed1b37b7dac956e7bf5'/>
<id>urn:sha1:ee9a8129d3d975271d4efed1b37b7dac956e7bf5</id>
<content type='text'>
Extend the tpm_spapr frontend with VM suspend and resume support.

Signed-off-by: Stefan Berger &lt;stefanb@linux.vnet.ibm.com&gt;
Message-Id: &lt;20200121152935.649898-5-stefanb@linux.ibm.com&gt;
Reviewed-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>tpm_spapr: Support TPM for ppc64 using CRQ based interface</title>
<updated>2020-02-02T03:07:57+00:00</updated>
<author>
<name>Stefan Berger</name>
</author>
<published>2020-01-21T15:29:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3676bc69b358d84a6b32d9cd44325048659a32a2'/>
<id>urn:sha1:3676bc69b358d84a6b32d9cd44325048659a32a2</id>
<content type='text'>
Implement support for TPM on ppc64 by implementing the vTPM CRQ interface
as a frontend. It can use the tpm_emulator driver backend with the external
swtpm.

The Linux vTPM driver for ppc64 works with this emulation.

This TPM emulator also handles the TPM 2 case.

Signed-off-by: Stefan Berger &lt;stefanb@linux.vnet.ibm.com&gt;
Reviewed-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
Message-Id: &lt;20200121152935.649898-4-stefanb@linux.ibm.com&gt;
[dwg: Use device_class_set_props(), tweak Kconfig]
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>tpm: Move tpm_tis_show_buffer to tpm_util.c</title>
<updated>2020-02-02T03:07:57+00:00</updated>
<author>
<name>Stefan Berger</name>
</author>
<published>2020-01-21T15:29:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3688d73b6e2b7b3fb71ed9fb6e38fd05d39de05b'/>
<id>urn:sha1:3688d73b6e2b7b3fb71ed9fb6e38fd05d39de05b</id>
<content type='text'>
Signed-off-by: Stefan Berger &lt;stefanb@linux.ibm.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Reviewed-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
Message-Id: &lt;20200121152935.649898-2-stefanb@linux.ibm.com&gt;
Signed-off-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
</content>
</entry>
<entry>
<title>trace: Eliminate use of TARGET_FMT_plx</title>
<updated>2019-08-16T11:31:51+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2019-08-12T05:23:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=988fa1030401b9cec82d26ec7a01f2df7326dde5'/>
<id>urn:sha1:988fa1030401b9cec82d26ec7a01f2df7326dde5</id>
<content type='text'>
hw/tpm/trace-events uses TARGET_FMT_plx formats with uint64_t
arguments.  That's wrong, TARGET_FMT_plx takes hwaddr.  Since hwaddr
happens to be uint64_t, it works anyway.  Messed up in commit
ec427498da5, v2.12.0.  Clean up by replacing TARGET_FMT_plx with its
macro expansion.

scripts/tracetool/format/log_stap.py (commit 62dd1048c0b, v4.0.0) has
a special case for TARGET_FMT_plx.  Delete it.

Cc: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Tested-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-Id: &lt;20190812052359.30071-7-armbru@redhat.com&gt;
</content>
</entry>
<entry>
<title>trace-events: Shorten file names in comments</title>
<updated>2019-03-22T16:18:07+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2019-03-14T18:09:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=500016e5db5826fbcc5db17f9992b22d936acb83'/>
<id>urn:sha1:500016e5db5826fbcc5db17f9992b22d936acb83</id>
<content type='text'>
We spell out sub/dir/ in sub/dir/trace-events' comments pointing to
source files.  That's because when trace-events got split up, the
comments were moved verbatim.

Delete the sub/dir/ part from these comments.  Gets rid of several
misspellings.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Message-id: 20190314180929.27722-3-armbru@redhat.com
Message-Id: &lt;20190314180929.27722-3-armbru@redhat.com&gt;
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>tpm_tis: convert tpm_tis_show_buffer() to use trace event</title>
<updated>2019-02-24T19:46:14+00:00</updated>
<author>
<name>Liam Merwick</name>
</author>
<published>2019-02-15T13:35:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=cd38cc519b60bbe5dd8d85f6aaa72b2d7902930b'/>
<id>urn:sha1:cd38cc519b60bbe5dd8d85f6aaa72b2d7902930b</id>
<content type='text'>
cppcheck reports:

[hw/tpm/tpm_tis.c:113]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'

Rather than just converting the format specifier to use '%u", the
tpm_tis_show_buffer() function is converted to use trace points and
the two debug callers use the trace event infrastructure so that it's
available in production cases also and not just when DEBUG_TIS is enabled.

Signed-off-by: Liam Merwick &lt;liam.merwick@oracle.com&gt;
Reviewed-by: Stefan Berger &lt;stefanb@linux.ibm.com&gt;
Signed-off-by: Stefan Berger &lt;stefanb@linux.ibm.com&gt;
</content>
</entry>
</feed>
