<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/contrib/vhost-user-blk, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/contrib/vhost-user-blk?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/contrib/vhost-user-blk?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-08-08T05:19:26+00:00</updated>
<entry>
<title>contrib/vhost-user-blk: Clean up deallocation of VuVirtqElement</title>
<updated>2022-08-08T05:19:26+00:00</updated>
<author>
<name>Markus Armbruster</name>
</author>
<published>2022-06-30T08:52:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a32086de4919b9affb2ab2d0112d400eaf89f607'/>
<id>urn:sha1:a32086de4919b9affb2ab2d0112d400eaf89f607</id>
<content type='text'>
We allocate VuVirtqElement with g_malloc() in
virtqueue_alloc_element(), but free it with free() in
vhost-user-blk.c.  Harmless, but use g_free() anyway.

One of the calls is guarded by a "not null" condition.  Useless,
because it cannot be null (it's dereferenced right before), and even
it it could be, free() and g_free() do the right thing.  Drop the
conditional.

Fixes: Coverity CID 1490290
Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Reviewed-by: Raphael Norwitz &lt;raphael.norwitz@nutanix.com&gt;
Acked-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Message-Id: &lt;20220630085219.1305519-1-armbru@redhat.com&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
<entry>
<title>contrib/vhost-user-blk: fix 32 bit build and enable</title>
<updated>2022-06-27T22:53:18+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2022-05-24T15:40:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=26ed501b9958cd319b75231ace8f883cd9331e9d'/>
<id>urn:sha1:26ed501b9958cd319b75231ace8f883cd9331e9d</id>
<content type='text'>
We were not building the vhost-user-blk server due to 32 bit
compilation problems. The problem was due to format string types so
fix that and then enable the build. Tweak the rule to follow the same
rules as other vhost-user daemons.

Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20220321153037.3622127-12-alex.bennee@linaro.org&gt;
Message-Id: &lt;20220524154056.2896913-2-alex.bennee@linaro.org&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Reviewed-by: Raphael Norwitz &lt;raphael.norwitz@nutanix.com&gt;
</content>
</entry>
<entry>
<title>contrib/vhost-user-blk: add missing GOptionEntry NULL terminator</title>
<updated>2022-04-21T10:01:24+00:00</updated>
<author>
<name>Stefan Hajnoczi</name>
</author>
<published>2022-04-11T15:00:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=096b778f14e7ffabe0e6404fc75dfab981149c33'/>
<id>urn:sha1:096b778f14e7ffabe0e6404fc75dfab981149c33</id>
<content type='text'>
The GLib documentation says "a NULL-terminated array of GOptionEntrys"
so we'd better make sure there is a terminator that lets
g_option_context_add_main_entries() know when the end of the array has
been reached.

Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Message-id: 20220411150057.3009667-1-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>contrib/vhost-user-blk: avoid g_return_val_if() input validation</title>
<updated>2020-12-09T18:04:17+00:00</updated>
<author>
<name>Stefan Hajnoczi</name>
</author>
<published>2020-11-18T09:16:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=acb1f3c248a83fb66d705068ed7d098b898632b1'/>
<id>urn:sha1:acb1f3c248a83fb66d705068ed7d098b898632b1</id>
<content type='text'>
Do not validate input with g_return_val_if(). This API is intended for
checking programming errors and is compiled out with -DG_DISABLE_CHECKS.

Use an explicit if statement for input validation so it cannot
accidentally be compiled out.

Suggested-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-Id: &lt;20201118091644.199527-2-stefanha@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: make it a meson subproject</title>
<updated>2020-12-08T18:48:58+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2020-11-25T10:06:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=0df750e9d3a5fea5e19f4750582121c9293a9d71'/>
<id>urn:sha1:0df750e9d3a5fea5e19f4750582121c9293a9d71</id>
<content type='text'>
By making libvhost-user a subproject, check it builds
standalone (without the global QEMU cflags etc).

Note that the library still relies on QEMU include/qemu/atomic.h and
linux_headers/.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-Id: &lt;20201125100640.366523-6-marcandre.lureau@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>vhost-user-blk/scsi: Fix broken error handling for socket call</title>
<updated>2020-11-17T09:16:55+00:00</updated>
<author>
<name>AlexChen</name>
</author>
<published>2020-10-29T06:03:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=91010f0407a07caeacb11037bb5b493bab7ce203'/>
<id>urn:sha1:91010f0407a07caeacb11037bb5b493bab7ce203</id>
<content type='text'>
When socket() fails, it returns -1, 0 is the normal return value and should not return error.

Reported-by: Euler Robot &lt;euler.robot@huawei.com&gt;
Signed-off-by: AlexChen &lt;alex.chen@huawei.com&gt;
Message-Id: &lt;5F9A5B48.9030509@huawei.com&gt;
Reviewed-by: Raphael Norwitz &lt;raphael.norwitz@nutanix.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>contrib/vhost-user-blk: fix get_config() information leak</title>
<updated>2020-11-03T21:39:05+00:00</updated>
<author>
<name>Stefan Hajnoczi</name>
</author>
<published>2020-10-27T17:35:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9f6df01d0e128c2df179789b37140d6aeddfcb92'/>
<id>urn:sha1:9f6df01d0e128c2df179789b37140d6aeddfcb92</id>
<content type='text'>
Refuse get_config() in excess of sizeof(struct virtio_blk_config).

Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-Id: &lt;20201027173528.213464-6-stefanha@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>contrib/vhost-user-blk: convert to Meson</title>
<updated>2020-08-21T10:30:09+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2019-06-10T10:18:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2d7ac0af9d05e80de9fe9ab20bb188482fbe4810'/>
<id>urn:sha1:2d7ac0af9d05e80de9fe9ab20bb188482fbe4810</id>
<content type='text'>
The GLib pkg-config information is extracted from config-host.mak and
used to link vhost-user-blk.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>libvhost-user: advertise vring features</title>
<updated>2020-06-12T14:17:06+00:00</updated>
<author>
<name>Stefan Hajnoczi</name>
</author>
<published>2020-05-29T16:13:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a9a5c473d25d83bcdad27d97e5fb451950ee894a'/>
<id>urn:sha1:a9a5c473d25d83bcdad27d97e5fb451950ee894a</id>
<content type='text'>
libvhost-user implements several vring features without advertising
them. There is no way for the vhost-user master to detect support for
these features.

Things more or less work today because QEMU assumes the vhost-user
backend always implements certain feature bits like
VIRTIO_RING_F_EVENT_IDX. This is not documented anywhere.

This patch explicitly advertises features implemented in libvhost-user
so that the vhost-user master does not need to make undocumented
assumptions.

Feature bits that libvhost-user now advertises can be removed from
vhost-user-blk.c. Devices should not be responsible for advertising
vring feature bits, that is libvhost-user's job.

Cc: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Cc: Jason Wang &lt;jasowang@redhat.com&gt;
Cc: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-Id: &lt;20200529161338.456017-1-stefanha@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Reviewed-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
</content>
</entry>
<entry>
<title>Implement backend program convention command for vhost-user-blk</title>
<updated>2020-01-05T12:03:03+00:00</updated>
<author>
<name>Micky Yun Chan</name>
</author>
<published>2019-12-09T01:53:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=6620801f39f0cd02b30ab5ad8729c92c78ce9fd3'/>
<id>urn:sha1:6620801f39f0cd02b30ab5ad8729c92c78ce9fd3</id>
<content type='text'>
This patch is to add standard commands defined in docs/interop/vhost-user.rst
For vhost-user-* program

Signed-off-by: Micky Yun Chan (michiboo) &lt;chanmickyyun@gmail.com&gt;
Message-Id: &lt;20191209015331.5455-1-chanmickyyun@gmail.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>
</feed>
