<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/subprojects/libvhost-user, branch master</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/subprojects/libvhost-user?h=master</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/subprojects/libvhost-user?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-11-27T18:33:58+00:00</updated>
<entry>
<title>libvhost-user: Add format attribute to local function vu_panic</title>
<updated>2022-11-27T18:33:58+00:00</updated>
<author>
<name>Stefan Weil via</name>
</author>
<published>2022-11-26T15:25:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=52a57d8d1fbaf1942cce94e41521b7b564dd37ee'/>
<id>urn:sha1:52a57d8d1fbaf1942cce94e41521b7b564dd37ee</id>
<content type='text'>
Signed-off-by: Stefan Weil &lt;sw@weilnetz.de&gt;
Reviewed-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-Id: &lt;20220422070144.1043697-4-sw@weilnetz.de&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-Id: &lt;20221126152507.283271-5-sw@weilnetz.de&gt;
</content>
</entry>
<entry>
<title>libvhost-user: Fix two more format strings</title>
<updated>2022-11-27T18:33:58+00:00</updated>
<author>
<name>Stefan Weil via</name>
</author>
<published>2022-11-26T15:25:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=7d4774e681d2cea5569ee42a8a485647acf3cf7d'/>
<id>urn:sha1:7d4774e681d2cea5569ee42a8a485647acf3cf7d</id>
<content type='text'>
This fix is required for 32 bit hosts. The bug was detected by CI
for arm-linux, but is also relevant for i386-linux.

Reported-by: Stefan Hajnoczi &lt;stefanha@gmail.com&gt;
Signed-off-by: Stefan Weil &lt;sw@weilnetz.de&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-Id: &lt;20221126152507.283271-4-sw@weilnetz.de&gt;
</content>
</entry>
<entry>
<title>libvhost-user: Fix format strings</title>
<updated>2022-11-27T18:33:58+00:00</updated>
<author>
<name>Stefan Weil via</name>
</author>
<published>2022-11-26T15:25:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=8541bf452d8b083beb79cd496b73f2ebd852c369'/>
<id>urn:sha1:8541bf452d8b083beb79cd496b73f2ebd852c369</id>
<content type='text'>
Signed-off-by: Stefan Weil &lt;sw@weilnetz.de&gt;
Reviewed-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-Id: &lt;20220422070144.1043697-3-sw@weilnetz.de&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-Id: &lt;20221126152507.283271-3-sw@weilnetz.de&gt;
</content>
</entry>
<entry>
<title>libvhost-user: Fix wrong type of argument to formatting function (reported by LGTM)</title>
<updated>2022-11-27T18:33:57+00:00</updated>
<author>
<name>Stefan Weil via</name>
</author>
<published>2022-11-26T15:25:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=266aaedc37d1e18af6c62f7f67c7e29887e32061'/>
<id>urn:sha1:266aaedc37d1e18af6c62f7f67c7e29887e32061</id>
<content type='text'>
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Signed-off-by: Stefan Weil &lt;sw@weilnetz.de&gt;
Message-Id: &lt;20220422070144.1043697-2-sw@weilnetz.de&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-Id: &lt;20221126152507.283271-2-sw@weilnetz.de&gt;
</content>
</entry>
<entry>
<title>libvhost-user: Fix VHOST_USER_ADD_MEM_REG reply</title>
<updated>2022-06-27T22:53:18+00:00</updated>
<author>
<name>Kevin Wolf</name>
</author>
<published>2022-06-27T13:45:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=7f27d20ded2f480f3e66d03f90ea71507b834276'/>
<id>urn:sha1:7f27d20ded2f480f3e66d03f90ea71507b834276</id>
<content type='text'>
With REPLY_NEEDED, libvhost-user sends both the acutal result and an
additional ACK reply for VHOST_USER_ADD_MEM_REG. This is incorrect, the
spec mandates that it behave the same with and without REPLY_NEEDED
because it always sends a reply.

Fixes: ec94c8e621de96c50c2d381c8c9ec94f5beec7c1
Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
Message-Id: &lt;20220627134500.94842-4-kwolf@redhat.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>libvhost-user: Fix VHOST_USER_GET_MAX_MEM_SLOTS reply</title>
<updated>2022-06-27T22:53:18+00:00</updated>
<author>
<name>Kevin Wolf</name>
</author>
<published>2022-06-27T13:44:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=69a5daec06f423843ce1bb9be5fb049314996f78'/>
<id>urn:sha1:69a5daec06f423843ce1bb9be5fb049314996f78</id>
<content type='text'>
With REPLY_NEEDED, libvhost-user sends both the acutal result and an
additional ACK reply for VHOST_USER_GET_MAX_MEM_SLOTS. This is
incorrect, the spec mandates that it behave the same with and without
REPLY_NEEDED because it always sends a reply.

Fixes: 6fb2e173d20c9bbb5466183d33a3ad7dcd0375fa
Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
Message-Id: &lt;20220627134500.94842-3-kwolf@redhat.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>libvhost-user: expose vu_request_to_string</title>
<updated>2022-05-16T08:38:40+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2022-03-21T15:30:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=467eeb0f80798457ba83040f7adb1e6b29c7c6a9'/>
<id>urn:sha1:467eeb0f80798457ba83040f7adb1e6b29c7c6a9</id>
<content type='text'>
This is useful for more human readable debug messages in vhost-user
programs.

Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20220321153037.3622127-9-alex.bennee@linaro.org&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&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>vhost-user: Don't pass file descriptor for VHOST_USER_REM_MEM_REG</title>
<updated>2022-05-04T13:55:23+00:00</updated>
<author>
<name>Kevin Wolf</name>
</author>
<published>2022-04-07T13:36:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a81d8d4a7203e4be392f9ad37af104759b7cbda5'/>
<id>urn:sha1:a81d8d4a7203e4be392f9ad37af104759b7cbda5</id>
<content type='text'>
The spec clarifies now that QEMU should not send a file descriptor in a
request to remove a memory region. Change it accordingly.

For libvhost-user, this is a bug fix that makes it compatible with
rust-vmm's implementation that doesn't send a file descriptor. Keep
accepting, but ignoring a file descriptor for compatibility with older
QEMU versions.

Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
Message-Id: &lt;20220407133657.155281-4-kwolf@redhat.com&gt;
Reviewed-by: Raphael Norwitz &lt;raphael.norwitz@nutanix.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
</content>
</entry>
<entry>
<title>libvhost-user: Fix extra vu_add/rem_mem_reg reply</title>
<updated>2022-05-04T13:55:23+00:00</updated>
<author>
<name>Kevin Wolf</name>
</author>
<published>2022-04-07T13:36:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=5ebfdeb21223e0406a711decbb2baceb5ec8c416'/>
<id>urn:sha1:5ebfdeb21223e0406a711decbb2baceb5ec8c416</id>
<content type='text'>
Outside of postcopy mode, neither VHOST_USER_ADD_MEM_REG nor
VHOST_USER_REM_MEM_REG are supposed to send a reply unless explicitly
requested with the need_reply flag. Their current implementation always
sends a reply, even if it isn't requested. This confuses the master
because it will interpret the reply as a reply for the next message for
which it actually expects a reply.

need_reply is already handled correctly by vu_dispatch(), so just don't
send a reply in the non-postcopy part of the message handler for these
two commands.

Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
Message-Id: &lt;20220407133657.155281-3-kwolf@redhat.com&gt;
Reviewed-by: Raphael Norwitz &lt;raphael.norwitz@nutanix.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
</content>
</entry>
<entry>
<title>Use QEMU_SANITIZE_THREAD</title>
<updated>2022-05-03T11:16:21+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2022-04-20T13:16:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ef0f4bda2e369418cdbe0c02584ae75015fb97c1'/>
<id>urn:sha1:ef0f4bda2e369418cdbe0c02584ae75015fb97c1</id>
<content type='text'>
Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
</feed>
