<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/include/linux/virtio_config.h, branch linux-2.6.25.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-02-04T12:50:03Z</updated>
<entry>
<title>virtio: reset function</title>
<updated>2008-02-04T12:50:03Z</updated>
<author>
<name>Rusty Russell</name>
</author>
<published>2008-02-05T04:50:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6e5aa7efb27aec7e55b6463fa2c8db594c4226fa'/>
<id>urn:sha1:6e5aa7efb27aec7e55b6463fa2c8db594c4226fa</id>
<content type='text'>
A reset function solves three problems:

1) It allows us to renegotiate features, eg. if we want to upgrade a
   guest driver without rebooting the guest.

2) It gives us a clean way of shutting down virtqueues: after a reset,
   we know that the buffers won't be used by the host, and

3) It helps the guest recover from messed-up drivers.

So we remove the -&gt;shutdown hook, and the only way we now remove
feature bits is via reset.

We leave it to the driver to do the reset before it deletes queues:
the balloon driver, for example, needs to chat to the host in its
remove function.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>virtio: explicit enable_cb/disable_cb rather than callback return.</title>
<updated>2008-02-04T12:49:58Z</updated>
<author>
<name>Rusty Russell</name>
</author>
<published>2008-02-05T04:49:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=18445c4d501b9ab4336f66ef46b092661ddaf336'/>
<id>urn:sha1:18445c4d501b9ab4336f66ef46b092661ddaf336</id>
<content type='text'>
It seems that virtio_net wants to disable callbacks (interrupts) before
calling netif_rx_schedule(), so we can't use the return value to do so.

Rename "restart" to "cb_enable" and introduce "cb_disable" hook: callback
now returns void, rather than a boolean.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>virtio: simplify config mechanism.</title>
<updated>2008-02-04T12:49:57Z</updated>
<author>
<name>Rusty Russell</name>
</author>
<published>2008-02-05T04:49:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a586d4f6016f7139d8c26df0e6927131168d3b5b'/>
<id>urn:sha1:a586d4f6016f7139d8c26df0e6927131168d3b5b</id>
<content type='text'>
Previously we used a type/len pair within the config space, but this
seems overkill.  We now simply define a structure which represents the
layout in the config space: the config space can now only be extended
at the end.

The main driver-visible changes:
1) We indicate what fields are present with an explicit feature bit.
2) Virtqueues are explicitly numbered, and not in the config space.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>Virtio interface</title>
<updated>2007-10-23T05:49:54Z</updated>
<author>
<name>Rusty Russell</name>
</author>
<published>2007-10-22T01:03:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ec3d41c4db4c21164332826ea8d812f94f2f6886'/>
<id>urn:sha1:ec3d41c4db4c21164332826ea8d812f94f2f6886</id>
<content type='text'>
This attempts to implement a "virtual I/O" layer which should allow
common drivers to be efficiently used across most virtual I/O
mechanisms.  It will no-doubt need further enhancement.

The virtio drivers add buffers to virtio queues; as the buffers are consumed
the driver "interrupt" callbacks are invoked.

There is also a generic implementation of config space which drivers can query
to get setup information from the host.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
Cc: Dor Laor &lt;dor.laor@qumranet.com&gt;
Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
</feed>
