<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/vhost/vhost.h, branch linux-4.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-12-09T10:06:33Z</updated>
<entry>
<title>vhost: remove unnecessary forward declarations in vhost.h</title>
<updated>2014-12-09T10:06:33Z</updated>
<author>
<name>Jason Wang</name>
</author>
<published>2014-11-27T06:41:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2e73c716ba22b3b3df56be25132df2774967f2b1'/>
<id>urn:sha1:2e73c716ba22b3b3df56be25132df2774967f2b1</id>
<content type='text'>
Signed-off-by: Jason Wang &lt;jasowang@redhat.com&gt;
Acked-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: add memory access wrappers</title>
<updated>2014-12-09T10:05:29Z</updated>
<author>
<name>Michael S. Tsirkin</name>
</author>
<published>2014-10-24T08:48:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e05fd12b388b1356f753ca54445551cb1de03386'/>
<id>urn:sha1:e05fd12b388b1356f753ca54445551cb1de03386</id>
<content type='text'>
Add guest memory access wrappers to handle virtio endianness
conversions.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Reviewed-by: Jason Wang &lt;jasowang@redhat.com&gt;
Reviewed-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;




</content>
</entry>
<entry>
<title>vhost: make features 64 bit</title>
<updated>2014-12-09T10:05:28Z</updated>
<author>
<name>Michael S. Tsirkin</name>
</author>
<published>2014-10-24T11:08:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bd82752a831bc3c7a66b59572f82e06154f19e27'/>
<id>urn:sha1:bd82752a831bc3c7a66b59572f82e06154f19e27</id>
<content type='text'>
We need to use bit 32 for virtio 1.0.
Make vhost_has_feature bool to avoid discarding high bits.

Cc: Sergei Shtylyov &lt;sergei.shtylyov@cogentembedded.com&gt;
Cc: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Reviewed-by: Jason Wang &lt;jasowang@redhat.com&gt;




</content>
</entry>
<entry>
<title>vhost: move memory pointer to VQs</title>
<updated>2014-06-09T13:21:07Z</updated>
<author>
<name>Michael S. Tsirkin</name>
</author>
<published>2014-06-05T12:20:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=47283bef7ed356629467d1fac61687756e48f254'/>
<id>urn:sha1:47283bef7ed356629467d1fac61687756e48f254</id>
<content type='text'>
commit 2ae76693b8bcabf370b981cd00c36cd41d33fabc
    vhost: replace rcu with mutex
replaced rcu sync for memory accesses with VQ mutex locl/unlock.
This is correct since all accesses are under VQ mutex, but incomplete:
we still do useless rcu lock/unlock operations, someone might copy this
code into some other context where this won't be right.
This use of RCU is also non standard and hard to understand.
Let's copy the pointer to each VQ structure, this way
the access rules become straight-forward, and there's
no need for RCU anymore.

Reported-by: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>vhost: move acked_features to VQs</title>
<updated>2014-06-09T13:21:06Z</updated>
<author>
<name>Michael S. Tsirkin</name>
</author>
<published>2014-06-05T12:20:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ea16c51433510f7f758382dec5b933fc0797f244'/>
<id>urn:sha1:ea16c51433510f7f758382dec5b933fc0797f244</id>
<content type='text'>
Refactor code to make sure features are only accessed
under VQ mutex. This makes everything simpler, no need
for RCU here anymore.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>vhost: remove the dead branch</title>
<updated>2013-12-06T20:22:05Z</updated>
<author>
<name>Zhi Yong Wu</name>
</author>
<published>2013-12-06T20:13:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=59566b6e8cc8f8a05022e0f01a1b90974003f092'/>
<id>urn:sha1:59566b6e8cc8f8a05022e0f01a1b90974003f092</id>
<content type='text'>
Since vhost_dev_init() forever return 0, some branches are never run,
therefore need to be removed.

Signed-off-by: Zhi Yong Wu &lt;wuzhy@linux.vnet.ibm.com&gt;
Acked-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>vhost: Remove custom vhost rcu usage</title>
<updated>2013-07-11T12:38:40Z</updated>
<author>
<name>Asias He</name>
</author>
<published>2013-05-07T06:54:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=22fa90c7fb479694d6affebc049d21f06b714be6'/>
<id>urn:sha1:22fa90c7fb479694d6affebc049d21f06b714be6</id>
<content type='text'>
Now, vq-&gt;private_data is always accessed under vq mutex. No need to play
the vhost rcu trick.

Signed-off-by: Asias He &lt;asias@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>vhost: Make vhost a separate module</title>
<updated>2013-07-07T14:33:44Z</updated>
<author>
<name>Asias He</name>
</author>
<published>2013-05-06T08:38:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6ac1afbf6132df0fcb0898f3509371305af7de16'/>
<id>urn:sha1:6ac1afbf6132df0fcb0898f3509371305af7de16</id>
<content type='text'>
Currently, vhost-net and vhost-scsi are sharing the vhost core code.
However, vhost-scsi shares the code by including the vhost.c file
directly.

Making vhost a separate module makes it is easier to share code with
other vhost devices.

Signed-off-by: Asias He &lt;asias@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>vhost: check owner before we overwrite ubuf_info</title>
<updated>2013-06-11T09:46:21Z</updated>
<author>
<name>Michael S. Tsirkin</name>
</author>
<published>2013-06-06T12:20:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=05c05351943cc03bf5c77e86953b24ae6fb21368'/>
<id>urn:sha1:05c05351943cc03bf5c77e86953b24ae6fb21368</id>
<content type='text'>
If device has an owner, we shouldn't touch ubuf_info
since it might be in use.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>vhost: Remove vhost_enable_zcopy in vhost.h</title>
<updated>2013-05-06T10:21:15Z</updated>
<author>
<name>Asias He</name>
</author>
<published>2013-05-06T08:38:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e40ab7484f8e9cc9f5e59ae53214800e50f5615e'/>
<id>urn:sha1:e40ab7484f8e9cc9f5e59ae53214800e50f5615e</id>
<content type='text'>
It is net.c specific.

Signed-off-by: Asias He &lt;asias@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
</feed>
