<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pm24.git/include/linux/virtio_blk.h, branch v2.6.26</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://git.kobert.dev/pm24.git/atom/include/linux/virtio_blk.h?h=v2.6.26</id>
<link rel='self' href='https://git.kobert.dev/pm24.git/atom/include/linux/virtio_blk.h?h=v2.6.26'/>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/'/>
<updated>2008-05-30T05:09:45Z</updated>
<entry>
<title>virtio_blk: fix endianess annotations</title>
<updated>2008-05-30T05:09:45Z</updated>
<author>
<name>Christian Borntraeger</name>
<email>borntraeger@de.ibm.com</email>
</author>
<published>2008-05-29T09:10:01Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=7757f09c70af87887dfc195e6d6ddd54f5cc7c39'/>
<id>urn:sha1:7757f09c70af87887dfc195e6d6ddd54f5cc7c39</id>
<content type='text'>
Since commit 72e61eb40b55dd57031ec5971e810649f82b0259 (virtio: change config
to guest endian) config space is no longer fixed endian.

Lets change the virtio_blk_config variables.

Signed-off-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>virtio_blk: allow read-only disks</title>
<updated>2008-05-30T05:09:44Z</updated>
<author>
<name>Christian Borntraeger</name>
<email>borntraeger@de.ibm.com</email>
</author>
<published>2008-05-16T09:17:03Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=3ef536095446552823fc488fec1c5451aab1260d'/>
<id>urn:sha1:3ef536095446552823fc488fec1c5451aab1260d</id>
<content type='text'>
Hello Rusty,

sometimes it is useful to share a disk (e.g. usr). To avoid file system
corruption, the disk should be mounted read-only in that case. This patch
adds a new feature flag, that allows the host to specify, if the disk should
be considered read-only.

Signed-off-by: Christian Borntraeger &lt;borntraeger@de.ibm.com&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>virtio: add virtio disk geometry feature</title>
<updated>2008-05-02T11:50:51Z</updated>
<author>
<name>Ryan Harper</name>
<email>ryanh@us.ibm.com</email>
</author>
<published>2008-04-16T18:56:37Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=48e4043d4529523cbc7fa8dd745bd8e2c45ce1d3'/>
<id>urn:sha1:48e4043d4529523cbc7fa8dd745bd8e2c45ce1d3</id>
<content type='text'>
Rather than faking up some geometry, allow the backend to push the disk
geometry via virtio pci config option.  Keep the old geo code around for
compatibility.

Signed-off-by: Ryan Harper &lt;ryanh@us.ibm.com&gt;
Reviewed-by: Anthony Liguori &lt;aliguori@us.ibm.com&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt; (modified to single struct)
</content>
</entry>
<entry>
<title>virtio: de-structify virtio_block status byte</title>
<updated>2008-05-02T11:50:45Z</updated>
<author>
<name>Rusty Russell</name>
<email>rusty@rustcorp.com.au</email>
</author>
<published>2008-05-03T02:50:45Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=cb38fa23c17519faf46a76d2f71a8430705fe474'/>
<id>urn:sha1:cb38fa23c17519faf46a76d2f71a8430705fe474</id>
<content type='text'>
Ron Minnich points out that a struct containing a char is not always
sizeof(char); simplest to remove the structure to avoid confusion.

Cc: "ron minnich" &lt;rminnich@gmail.com&gt;

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>virtio: remove unused id field from struct virtio_blk_outhdr</title>
<updated>2008-02-04T12:50:01Z</updated>
<author>
<name>Rusty Russell</name>
<email>rusty@rustcorp.com.au</email>
</author>
<published>2008-02-05T04:50:00Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=24a5ae5d0340d5a45df840b24a10d62aa9516116'/>
<id>urn:sha1:24a5ae5d0340d5a45df840b24a10d62aa9516116</id>
<content type='text'>
This field has been unused since an older version of virtio.  Remove
it now before we freeze the ABI.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au.
</content>
</entry>
<entry>
<title>virtio: simplify config mechanism.</title>
<updated>2008-02-04T12:49:57Z</updated>
<author>
<name>Rusty Russell</name>
<email>rusty@rustcorp.com.au</email>
</author>
<published>2008-02-05T04:49:56Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.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>Block driver using virtio.</title>
<updated>2007-10-23T05:49:54Z</updated>
<author>
<name>Rusty Russell</name>
<email>rusty@rustcorp.com.au</email>
</author>
<published>2007-10-22T01:03:38Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=e467cde238184d1b0923db2cd61ae1c5a6dc15aa'/>
<id>urn:sha1:e467cde238184d1b0923db2cd61ae1c5a6dc15aa</id>
<content type='text'>
The block driver uses scatter-gather lists with sg[0] being the
request information (struct virtio_blk_outhdr) with the type, sector
and inbuf id.  The next N sg entries are the bio itself, then the last
sg is the status byte.  Whether the N entries are in or out depends on
whether it's a read or a write.

We accept the normal (SCSI) ioctls: they get handed through to the other
side which can then handle it or reply that it's unsupported.  It's
not clear that this actually works in general, since I don't know
if blk_pc_request() requests have an accurate rq_data_dir().

Although we try to reply -ENOTTY on unsupported commands, ioctl(fd,
CDROMEJECT) returns success to userspace.  This needs a separate
patch.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
Cc: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
</feed>
