<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/hw/9pfs, 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/9pfs?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/hw/9pfs?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-10-25T15:37:17+00:00</updated>
<entry>
<title>Merge tag 'trivial-branch-for-7.2-pull-request' of https://gitlab.com/laurent_vivier/qemu into staging</title>
<updated>2022-10-25T15:37:17+00:00</updated>
<author>
<name>Stefan Hajnoczi</name>
</author>
<published>2022-10-25T15:37:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=79fc2fb685f35a5e71e23629760ef4025d6aba31'/>
<id>urn:sha1:79fc2fb685f35a5e71e23629760ef4025d6aba31</id>
<content type='text'>
Pull request

# -----BEGIN PGP SIGNATURE-----
#
# iQJGBAABCAAwFiEEzS913cjjpNwuT1Fz8ww4vT8vvjwFAmNXleQSHGxhdXJlbnRA
# dml2aWVyLmV1AAoJEPMMOL0/L748TIsP/1gulTFpYAs3Kao6IZonsuCzrjQrJWqv
# 5SD7cVb7isOWdOSNK3glE4dG54Q38PaS9GHaCvzIndjHxlWddCCUuwiw6p1Wdo70
# fjNfcCOEPoalQbkZvLejhs5n2rlfTvS5JUnLKVD9+ton7hjnTyKGDDYao5mYhtzv
# Kn9NpCD3m+K3orzG2Jj7jR1UAumg4cW4YQEpT8ItDT4Y5UAxjL6TZQ6CE220DQDq
# YwDrHEgDYr/UKlTbIC/JwlKOLr0sh+UB1VV8GZS6e6pU9u5WpDDHlQZpU8W2tLLg
# cG5m8tLG2avFxRMUFrPNZ8Lx2xKO8wL1PtgAO9w7qFK+r0soZvv+Zh4ev/t5zGLf
# ciliItqf97yPYNIc3su75jqdQHed7lmZc3m9LBHg8VXN6rAatt8vWUbG90sAZuTU
# tWBZHvQmG0s2MK4UYqeQ59tc21v9T2+VCiiv/1vjgEUr8tBhXS562jrDt/bNEqKa
# eRzT4h4ffbP6BJRnyakxkFkQ7nd2OdlLNKUAr9Tk6T2fYuarfEdbYx//0950agqD
# AAtdQ/AJm6Pq1Px0/RuMKK5WsL818BoAkfr6n7qXleunytJ1W5hjW9EmFIPZWPTR
# ce/lSFHA0+MCpg6C8zAa4iNBg/Pk0p3GRrTeWyHK1FjV+Gep1QtE/a1vk/qiPzTM
# qZVfPxa8cXXe
# =caiq
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 25 Oct 2022 03:53:08 EDT
# gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg:                issuer "laurent@vivier.eu"
# gpg: Good signature from "Laurent Vivier &lt;lvivier@redhat.com&gt;" [full]
# gpg:                 aka "Laurent Vivier &lt;laurent@vivier.eu&gt;" [full]
# gpg:                 aka "Laurent Vivier (Red Hat) &lt;lvivier@redhat.com&gt;" [full]
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C

* tag 'trivial-branch-for-7.2-pull-request' of https://gitlab.com/laurent_vivier/qemu:
  accel/tcg/tcg-accel-ops-rr: fix trivial typo
  ui: remove useless typecasts
  treewide: Remove the unnecessary space before semicolon
  include/hw/scsi/scsi.h: Remove unused scsi_legacy_handle_cmdline() prototype
  vmstate-static-checker:remove this redundant return
  tests/qtest: vhost-user-test: Fix [-Werror=format-overflow=] build warning
  tests/qtest: migration-test: Fix [-Werror=format-overflow=] build warning
  Drop useless casts from g_malloc() &amp; friends to pointer
  elf2dmp: free memory in failure
  hw/core: Tidy up unnecessary casting away of const
  .gitignore: add multiple items to .gitignore

Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>treewide: Remove the unnecessary space before semicolon</title>
<updated>2022-10-24T11:41:10+00:00</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2022-10-24T07:28:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c1dadb8462ff5021218f2c1aa015594952f441ca'/>
<id>urn:sha1:c1dadb8462ff5021218f2c1aa015594952f441ca</id>
<content type='text'>
%s/return ;/return;

Signed-off-by: Bin Meng &lt;bmeng@tinylab.org&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Christian Schoenebeck &lt;qemu_oss@crudebyte.com&gt;
Message-Id: &lt;20221024072802.457832-1-bmeng@tinylab.org&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
<entry>
<title>9pfs: use GHashTable for fid table</title>
<updated>2022-10-24T10:24:32+00:00</updated>
<author>
<name>Linus Heckemann</name>
</author>
<published>2022-10-04T10:41:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=f5265c8f917ea8c71a30e549b7e3017c1038db63'/>
<id>urn:sha1:f5265c8f917ea8c71a30e549b7e3017c1038db63</id>
<content type='text'>
The previous implementation would iterate over the fid table for
lookup operations, resulting in an operation with O(n) complexity on
the number of open files and poor cache locality -- for every open,
stat, read, write, etc operation.

This change uses a hashtable for this instead, significantly improving
the performance of the 9p filesystem. The runtime of NixOS's simple
installer test, which copies ~122k files totalling ~1.8GiB from 9p,
decreased by a factor of about 10.

Signed-off-by: Linus Heckemann &lt;git@sphalerite.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Greg Kurz &lt;groug@kaod.org&gt;
[CS: - Retain BUG_ON(f-&gt;clunked) in get_fid().
     - Add TODO comment in clunk_fid(). ]
Message-Id: &lt;20221004104121.713689-1-git@sphalerite.org&gt;
[CS: - Drop unnecessary goto and out: label. ]
Signed-off-by: Christian Schoenebeck &lt;qemu_oss@crudebyte.com&gt;
</content>
</entry>
<entry>
<title>9p: add missing coroutine_fn annotations</title>
<updated>2022-10-07T10:11:41+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2022-09-22T08:49:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9204028dbbdaf742264c5de40dfcc3dfd43a6355'/>
<id>urn:sha1:9204028dbbdaf742264c5de40dfcc3dfd43a6355</id>
<content type='text'>
Callers of coroutine_fn must be coroutine_fn themselves, or the call
must be within "if (qemu_in_coroutine())".  Apply coroutine_fn to
functions where this holds.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Acked-by: Greg Kurz &lt;groug@kaod.org&gt;
Reviewed-by: Alberto Faria &lt;afaria@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Message-Id: &lt;20220922084924.201610-25-pbonzini@redhat.com&gt;
Reviewed-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
</content>
</entry>
<entry>
<title>trivial typos: namesapce</title>
<updated>2022-06-28T09:06:44+00:00</updated>
<author>
<name>Dr. David Alan Gilbert</name>
</author>
<published>2022-06-14T10:40:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a0984714fb700683094a754a2320a2e150cf10a7'/>
<id>urn:sha1:a0984714fb700683094a754a2320a2e150cf10a7</id>
<content type='text'>
'namespace' is misspelled in a bunch of places.

Signed-off-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
Reviewed-by: Klaus Jensen &lt;k.jensen@samsung.com&gt;
Message-Id: &lt;20220614104045.85728-3-dgilbert@redhat.com&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
<entry>
<title>9pfs: fix 'Twalk' to only send error if no component walked</title>
<updated>2022-06-16T10:44:52+00:00</updated>
<author>
<name>Christian Schoenebeck</name>
</author>
<published>2022-03-15T10:08:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a93d2e89e59e67ac5796679fdcef9467e6b2cc55'/>
<id>urn:sha1:a93d2e89e59e67ac5796679fdcef9467e6b2cc55</id>
<content type='text'>
Current implementation of 'Twalk' request handling always sends an 'Rerror'
response if any error occured. The 9p2000 protocol spec says though:

  "
  If the first element cannot be walked for any reason, Rerror is returned.
  Otherwise, the walk will return an Rwalk message containing nwqid qids
  corresponding, in order, to the files that are visited by the nwqid
  successful elementwise walks; nwqid is therefore either nwname or the index
  of the first elementwise walk that failed.
  "

  http://ericvh.github.io/9p-rfc/rfc9p2000.html#anchor33

For that reason we are no longer leaving from an error path in function
v9fs_walk(), unless really no path component could be walked successfully or
if the request has been interrupted.

Local variable 'nwalked' counts and reflects the number of path components
successfully processed by background I/O thread, whereas local variable
'name_idx' subsequently counts and reflects the number of path components
eventually accepted successfully by 9p server controller portion.

New local variable 'any_err' is an aggregate variable reflecting whether any
error occurred at all, while already existing variable 'err' only reflects
the last error.

Despite QIDs being delivered to client in a more relaxed way now, it is
important to note though that fid still must remain unaffected if any error
occurred.

Signed-off-by: Christian Schoenebeck &lt;qemu_oss@crudebyte.com&gt;
Reviewed-by: Greg Kurz &lt;groug@kaod.org&gt;
Message-Id: &lt;bc73e24258a75dc29458024c7936c8a036c3eac5.1647339025.git.qemu_oss@crudebyte.com&gt;
</content>
</entry>
<entry>
<title>9pfs: refactor 'name_idx' -&gt; 'nwalked' in v9fs_walk()</title>
<updated>2022-06-16T10:44:52+00:00</updated>
<author>
<name>Christian Schoenebeck</name>
</author>
<published>2022-03-15T10:08:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=fd6c979e651a2163062b746e01adf6f267c8e874'/>
<id>urn:sha1:fd6c979e651a2163062b746e01adf6f267c8e874</id>
<content type='text'>
The local variable 'name_idx' is used in two loops in function v9fs_walk().
Let the first loop use its own variable 'nwalked' instead, which we will
use in subsequent patch as the number of (requested) path components
successfully walked by background I/O thread.

Signed-off-by: Christian Schoenebeck &lt;qemu_oss@crudebyte.com&gt;
Reviewed-by: Greg Kurz &lt;groug@kaod.org&gt;
Message-Id: &lt;d506308e7e343023c4db95d0e6053dd2627ed3c1.1647339025.git.qemu_oss@crudebyte.com&gt;
</content>
</entry>
<entry>
<title>virtio: drop name parameter for virtio_init()</title>
<updated>2022-05-16T08:38:40+00:00</updated>
<author>
<name>Jonah Palmer</name>
</author>
<published>2022-04-01T13:23:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3857cd5c7ffd0bcc49bd2b66654af0909c847d02'/>
<id>urn:sha1:3857cd5c7ffd0bcc49bd2b66654af0909c847d02</id>
<content type='text'>
This patch drops the name parameter for the virtio_init function.

The pair between the numeric device ID and the string device ID
(name) of a virtio device already exists, but not in a way that
lets us map between them.

This patch lets us do this and removes the need for the name
parameter in the virtio_init function.

Signed-off-by: Jonah Palmer &lt;jonah.palmer@oracle.com&gt;
Message-Id: &lt;1648819405-25696-2-git-send-email-jonah.palmer@oracle.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>9pfs: fix qemu_mknodat() to always return -1 on error on macOS host</title>
<updated>2022-05-01T12:07:03+00:00</updated>
<author>
<name>Christian Schoenebeck</name>
</author>
<published>2022-04-29T10:25:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=063c75db2e03938b2fadb052c4661adae36e352c'/>
<id>urn:sha1:063c75db2e03938b2fadb052c4661adae36e352c</id>
<content type='text'>
qemu_mknodat() is expected to behave according to its POSIX API, and
therefore should always return exactly -1 on any error, and errno
should be set for the actual error code.

Signed-off-by: Christian Schoenebeck &lt;qemu_oss@crudebyte.com&gt;
Reviewed-by: Greg Kurz &lt;groug@kaod.org&gt;
Reviewed-by: Akihiko Odaki &lt;akihiko.odaki@gmail.com&gt;
Message-Id: &lt;c714b5e1cae225ab7575242c45ee0fe4945eb6ad.1651228001.git.qemu_oss@crudebyte.com&gt;
</content>
</entry>
<entry>
<title>9pfs: fix removing non-existent POSIX ACL xattr on macOS host</title>
<updated>2022-05-01T12:07:03+00:00</updated>
<author>
<name>Christian Schoenebeck</name>
</author>
<published>2022-04-29T10:25:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9ea3164611a63e898a979f2da24caa1abd29d906'/>
<id>urn:sha1:9ea3164611a63e898a979f2da24caa1abd29d906</id>
<content type='text'>
When mapped POSIX ACL is used, we are ignoring errors when trying
to remove a POSIX ACL xattr that does not exist. On Linux hosts we
would get ENODATA in such cases, on macOS hosts however we get
ENOATTR instead.

As we can be sure that ENOATTR is defined as being identical on Linux
hosts (at least by qemu/xattr.h), it is safe to fix this issue by
simply comparing against ENOATTR instead of ENODATA.

This patch fixes e.g. a command on Linux guest like:

  cp --preserve=mode old new

Signed-off-by: Christian Schoenebeck &lt;qemu_oss@crudebyte.com&gt;
Link: https://lore.kernel.org/qemu-devel/2866993.yOYK24bMf6@silver/
Reviewed-by: Greg Kurz &lt;groug@kaod.org&gt;
Reviewed-by: Akihiko Odaki &lt;akihiko.odaki@gmail.com&gt;
Message-Id: &lt;34f81e9bffd7a3e65fb7aab5b56c107bd0aac960.1651228001.git.qemu_oss@crudebyte.com&gt;
</content>
</entry>
</feed>
