<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/tools/virtiofsd, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/tools/virtiofsd?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/tools/virtiofsd?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-11-25T18:56:05+00:00</updated>
<entry>
<title>virtiofsd: Add `sigreturn` to the seccomp whitelist</title>
<updated>2022-11-25T18:56:05+00:00</updated>
<author>
<name>Marc Hartmayer</name>
</author>
<published>2022-11-25T14:39:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c23a95636622a32352b55a2f164a1fdf4ed34f60'/>
<id>urn:sha1:c23a95636622a32352b55a2f164a1fdf4ed34f60</id>
<content type='text'>
The virtiofsd currently crashes on s390x. This is because of a
`sigreturn` system call. See audit log below:

type=SECCOMP msg=audit(1669382477.611:459): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 pid=6649 comm="virtiofsd" exe="/usr/libexec/virtiofsd" sig=31 arch=80000016 syscall=119 compat=0 ip=0x3fff15f748a code=0x80000000AUID="unset" UID="root" GID="root" ARCH=s390x SYSCALL=sigreturn

Signed-off-by: Marc Hartmayer &lt;mhartmay@linux.ibm.com&gt;
Reviewed-by: German Maglione &lt;gmaglione@redhat.com&gt;
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-Id: &lt;20221125143946.27717-1-mhartmay@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>virtiofsd: use g_date_time_get_microsecond to get subsecond</title>
<updated>2022-09-22T17:13:47+00:00</updated>
<author>
<name>Yusuke Okada</name>
</author>
<published>2022-08-18T18:46:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=f16d15c9276bd8f501f861c39cbd4adc812d0c1d'/>
<id>urn:sha1:f16d15c9276bd8f501f861c39cbd4adc812d0c1d</id>
<content type='text'>
The "%f" specifier in g_date_time_format() is only available in glib
2.65.2 or later. If combined with older glib, the function returns null
and the timestamp displayed as "(null)".

For backward compatibility, g_date_time_get_microsecond should be used
to retrieve subsecond.

In this patch the g_date_time_format() leaves subsecond field as "%06d"
and let next snprintf to format with g_date_time_get_microsecond.

Signed-off-by: Yusuke Okada &lt;okada.yusuke@jp.fujitsu.com&gt;
Reviewed-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
Message-id: 20220818184618.2205172-1-yokada.996@gmail.com
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>virtiofsd: Fix format strings</title>
<updated>2022-08-04T18:44:25+00:00</updated>
<author>
<name>Stefan Weil</name>
</author>
<published>2022-08-04T07:48:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=7b0ca313647532a2c7007379ff800c9a2415c95d'/>
<id>urn:sha1:7b0ca313647532a2c7007379ff800c9a2415c95d</id>
<content type='text'>
Signed-off-by: Stefan Weil &lt;sw@weilnetz.de&gt;
Message-Id: &lt;20220804074833.892604-1-sw@weilnetz.de&gt;
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>virtiofsd: Disable killpriv_v2 by default</title>
<updated>2022-08-02T15:46:52+00:00</updated>
<author>
<name>Vivek Goyal</name>
</author>
<published>2022-07-29T13:17:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a21ba54dd5ca38cd05da9035fc65374d7af54f13'/>
<id>urn:sha1:a21ba54dd5ca38cd05da9035fc65374d7af54f13</id>
<content type='text'>
We are having bunch of issues with killpriv_v2 enabled by default. First
of all it relies on clearing suid/sgid bits as needed by dropping
capability CAP_FSETID. This does not work for remote filesystems like
NFS (and possibly others).

Secondly, we are noticing other issues related to clearing of SGID
which leads to failures for xfstests generic/355 and generic/193.

Thirdly, there are other issues w.r.t caching of metadata (suid/sgid)
bits in fuse client with killpriv_v2 enabled. Guest can cache that
data for sometime even if cleared on server.

Second and Third issue are fixable. Just that it might take a little
while to get it fixed in kernel. First one will probably not see
any movement for a long time.

Given these issues, killpriv_v2 does not seem to be a good candidate
for enabling by default. We have already disabled it by default in
rust version of virtiofsd.

Hence this patch disabled killpriv_v2 by default. User can choose to
enable it by passing option "-o killpriv_v2".

Signed-off-by: Vivek Goyal &lt;vgoyal@redhat.com&gt;
Message-Id: &lt;YuPd0itNIAz4tQRt@redhat.com&gt;
Reviewed-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
Signed-off-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
</content>
</entry>
<entry>
<title>misc: fix commonly doubled up words</title>
<updated>2022-08-01T09:58:02+00:00</updated>
<author>
<name>Daniel P. Berrangé</name>
</author>
<published>2022-07-07T16:37:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=7a21bee2aa52fc95b25e38372678986ee94f05f1'/>
<id>urn:sha1:7a21bee2aa52fc95b25e38372678986ee94f05f1</id>
<content type='text'>
Signed-off-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Message-Id: &lt;20220707163720.1421716-5-berrange@redhat.com&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>Trivial: 3 char repeat typos</title>
<updated>2022-06-28T09:06:02+00:00</updated>
<author>
<name>Dr. David Alan Gilbert</name>
</author>
<published>2022-06-14T10:40:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=118d4ed0453c325828e3678608cf32fd9c4a8c49'/>
<id>urn:sha1:118d4ed0453c325828e3678608cf32fd9c4a8c49</id>
<content type='text'>
Inspired by Julia Lawall's fixing of Linux
kernel comments, I looked at qemu, although I did it manually.

Signed-off-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
Reviewed-by: Daniel Henrique Barboza &lt;danielhb413@gmail.com&gt;
Reviewed-by: Klaus Jensen &lt;k.jensen@samsung.com&gt;
Message-Id: &lt;20220614104045.85728-2-dgilbert@redhat.com&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
<entry>
<title>Clean up header guards that don't match their file name</title>
<updated>2022-05-11T14:49:06+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2022-05-06T13:49:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=52581c718c5cd55595ca032a56f1e194c5716456'/>
<id>urn:sha1:52581c718c5cd55595ca032a56f1e194c5716456</id>
<content type='text'>
Header guard symbols should match their file name to make guard
collisions less likely.

Cleaned up with scripts/clean-header-guards.pl, followed by some
renaming of new guard symbols picked by the script to better ones.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Message-Id: &lt;20220506134911.2856099-2-armbru@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
[Change to generated file ebpf/rss.bpf.skeleton.h backed out]
</content>
</entry>
<entry>
<title>virtiofsd: replace pipe() with g_unix_open_pipe(CLOEXEC)</title>
<updated>2022-05-03T11:47:08+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2022-04-22T10:51:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=bd2142c353c683a26a968dafca14be02c07d6f96'/>
<id>urn:sha1:bd2142c353c683a26a968dafca14be02c07d6f96</id>
<content type='text'>
Suggested-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'block-pull-request' of https://gitlab.com/stefanha/qemu into staging</title>
<updated>2022-04-25T17:21:56+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2022-04-25T17:21:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c49abc8406086398de4062ce9b58f67a23b0ca1f'/>
<id>urn:sha1:c49abc8406086398de4062ce9b58f67a23b0ca1f</id>
<content type='text'>
Pull request

Small contrib/vhost-user-blk, contrib/vhost-user-scsi, and tools/virtiofsd
improvements.

# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmJmYGYACgkQnKSrs4Gr
# c8gNIAgAgCEeBMP61cdT8DGBBw26abmrNmCCjXYL3rNcR2GNsn0x9VbedBhSPt9O
# z+/nej9UkRKHgQ/+V1LqWD2D/TU327nLQ74z1JJvGtjWhvM18XTTAeh1BQbVywKU
# z+o6WSyP22Xx87cUIuOGGMgNDDfIY2j/t5sU8eR+lxXxDuKXx3tulTV65QlNSw9z
# 19rb8eJkaau5YWhN5gPEI65O/YVgGUtA+c5z39AoBG85XAAhm+6+mTFfuy8J8gp/
# wqr61+xB7bB3AxIOv1/0PWCl3F/+kPs7ybJRGkHMNtKyJtp34Y86kwsVEBtOMGVO
# wm/ht7FMy2GhnaKGjNMtvJm29ZArqA==
# =zZcV
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 25 Apr 2022 01:48:38 AM PDT
# gpg:                using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8
# gpg: Good signature from "Stefan Hajnoczi &lt;stefanha@redhat.com&gt;" [full]
# gpg:                 aka "Stefan Hajnoczi &lt;stefanha@gmail.com&gt;" [full]

* tag 'block-pull-request' of https://gitlab.com/stefanha/qemu:
  virtiofsd: Add docs/helper for killpriv_v2/no_killpriv_v2 option
  contrib/vhost-user-blk: add missing GOptionEntry NULL terminator
  Implements Backend Program conventions for vhost-user-scsi

Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>util: replace qemu_get_local_state_pathname()</title>
<updated>2022-04-21T13:09:09+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2022-04-20T13:26:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=1fbf2665e6773d87657c2a1654d9bf272a4f1ec0'/>
<id>urn:sha1:1fbf2665e6773d87657c2a1654d9bf272a4f1ec0</id>
<content type='text'>
Simplify the function to only return the directory path. Callers are
adjusted to use the GLib function to build paths, g_build_filename().

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Message-Id: &lt;20220420132624.2439741-39-marcandre.lureau@redhat.com&gt;
</content>
</entry>
</feed>
