summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-252.4.1.3: Remove VIRTIO_NET_F_GSOrusty
As per VIRTIO-17, approved OASIS meeting 2013-09-24. Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@37 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-09-25Remove VIRTIO_F_NOTIFY_ON_EMPTYrusty
As per http://tools.oasis-open.org/issues/browse/VIRTIO-13 (Includes le8 -> u8 fix) Approved OASIS meeting 2013-09-24. Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@36 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-09-25Any layout is allowed (deprecate VIRTIO_F_ANY_LAYOUT)rusty
As per issue virtio-10, approved OASIS meeting 2013-09-24. Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@35 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-09-18transitional: minor clarificationmstsirkin
It's useful to have a common term that includes transitional drivers running on legacy devices and legacy drivers running on transitional devices. The wording "using legacy interface" seems to describe this well, let's make this explicit. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@34 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-09-112.5 Reserve device ID 0 (zero) as invalidrusty
See minutes: https://lists.oasis-open.org/archives/virtio/201309/msg00041.html Signed-off-by: Pawel Moll <pawel.moll@arm.com> Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@33 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-09-11VIRTIO_F_VERSION_1: indentifying legacy devices.rusty
Most of this text is taken directly from Michael Tsirkin's proposal, separated from the PCI-specific parts, and given an explicit feature name. See minutes: https://lists.oasis-open.org/archives/virtio/201309/msg00041.html Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@32 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-09-042.4.2.2 Define all MMIO registers as little endianrusty
Port of draft commit 88f37f9ec178b664213b77211fec03687b87958b. Signed-off-by: Pawel Moll <pawel.moll@arm.com> Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@31 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-09-032.5.6.6.3: add configuration change eventrusty
This adds an event for changes to LUN parameters, for example capacity. These are reported in virtio-blk via configuration changes, and we want a similar functionality in virtio-scsi too. There is no list of supported parameter changes, instead we just refer to the list of sense codes in the SCSI specification. This event will usually be serviced in one of three ways: 1) call an OS service to revalidate the disk, either always or only for some specific sense codes; 2) somehow pass the sense directly to the upper-level driver; 3) inject a TEST UNIT READY command into the upper-level device, so that the OS will see the unit attention code and react. Of course a mix of the three is also possible, depending on how the driver writer prefers to have his layering violations served. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> See: https://lists.oasis-open.org/archives/virtio-comment/201308/msg00032.html Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@30 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-09-032.5.6.6.3: unify event structs From: Paolo Bonzini <pbonzini@redhat.com>rusty
All currently defined event structs have the same fields. Simplify the driver by enforcing this also for future structs. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> See: https://lists.oasis-open.org/archives/virtio-comment/201308/msg00031.html Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@29 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-30formatting: fix two xrefsmstsirkin
Fix incorrect section number in one xref, fill in actual targets for another. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@28 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-30formatting: fix xref to virtio_ring.hmstsirkin
Text simply had a stub *XREF* text, make it point at the actual section. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@27 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-30formatting: fix more xrefsmstsirkin
Text had some xrefs in the form [sub:text]. These point nowhere, find the target making most sense and make them point there. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@26 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-30add .exrcmstsirkin
set text width correctly automatically for vim users Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@25 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-29formatting: fix up section and footnote numberingmstsirkin
automatically done by script. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@24 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-29fix-numbers: perl script to fix up numberingmstsirkin
A handy script I used to fix it up the numbering. It can make mistakes, so check before you commit! Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@23 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-29formatting: fix numberingmstsirkin
Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@22 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-29format: remove trailing whitespacemstsirkin
no reason to have it Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@21 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-29minor: rename sectionmstsirkin
Section in PCI part of spec talks about interrupts, not used buffers (that's generic). Also tweak formatting. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@20 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-29formatting: put cross-references in "", fix FIXMEmstsirkin
Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@19 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-29formatting: more fixupsmstsirkin
Fix up formatting for cross-references e.g. (see X.Y.Z. Foo Bar) to match section names. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@18 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-29formatting fixesmstsirkin
for consistency, make sure the following formatting rules hold: - each subchapter number ends with dot - each subchapter title is followed by a line of dashes Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@17 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-29virtio: fix feature bit thinkomstsirkin
32 Feature bits means 0 to 31, not 32. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@16 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-19Rename to conform to OASIS Naming Directives.rusty
http://docs.oasis-open.org/specGuidelines/ndr/namingDirectives.html Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@15 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-16As submitted to virtio-comment list: ↵rusty
https://lists.oasis-open.org/archives/virtio-comment/201308/msg00009.html (Edited into plain text) From: Dmitry Fleytman <dfleytma@redhat.com> Virtio-net driver currently negotiates network offloads on startup via features mechanism and have no ability to disable and re-enable offloads later. This patch introduced a new control command that allows to configure device network offloads state dynamically. The patch also introduces a new feature flag VIRTIO_NET_F_CTRL_GUEST_OFFLOADS. Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com> Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@14 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-162.6 Reserved Feature Bits: document bit 30 as used by qemu.rusty
Partial port of draft commit 835628846cc04efe660e505552d06eb945277d3b. Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@13 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-162.1.4.2 Message Framing: Document header framing requirement.rusty
Ported from draft, commits 7e74459bb966ccbaad9e4bf361d1178b7f400b79, 8e47520c64c87473f910b55817ba95b0e4113c13 and part of 835628846cc04efe660e505552d06eb945277d3b. Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@12 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-162.5.5.6 Device Operation: VIRTIO_BALLOON_F_MUST_TELL_HOST is negotiatedrusty
Make that clear: it was not the original intention, but no implementation actually requires this feature, and making it compulsory has unintended consequences (it is unlike any other feature). Ported from draft, commit ed6dd6e5b4c4c01084ff1638b754ad823d0b80f8. Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@11 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-16Make references to "descriptor chains" explicit.rusty
Ported from draft, commit 7a3a665b778039786fade0093df7cc60ebc6cdb1. Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@10 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-162.5 Device Types: reserve 12 for virtio CAIF.rusty
Ported from draft, commit fcb1075753e285b3629301ea075ca0522e29a97b. Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@9 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-162.5.1.5 Device Operation: add missing semicolon.rusty
Ported from draft, commit 3c482cf453d36d7c7f81d6a5be260551243e01d4. Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@8 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-162.4.2.2 MMIO Device Layout: clarity enhancement.rusty
Outcome of discussion with Amos Kong. Ported from draft, commit 38c8600ef2e33d672449f517598239bc682673c9. Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@7 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-162.6 Reserved Feature Bits: fix count.rusty
Ported from draft, commit b0037d5d207dba8a66cb7616608164a3f46a8971 Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@6 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-162.7 virtio_ring.h: make it compile, update, and add avail/used helpers.rusty
Ported from draft, commit 76f5840ce1ca56b211c974f24e86a91bd8ef2d07 Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@5 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-162.5 Device Types: add reservation for rproc serial (11).rusty
Ported from draft commit 5306b0cfe750604643c157ed870b04c426924bb4. Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@4 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-162.1.4 Virtqueues: Clarify vring_size() when VIRTIO_RING_F_EVENT_INDEX.rusty
Ported from draft commit eb9fc84d0d3c46438aaab190e2401a9e5409a052. Reported-by: Stefan Fritsch <sf@sfritsch.de> Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@3 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-16Reworked spec into non-PCI order.rusty
Issue: https://tools.oasis-open.org/issues/browse/VIRTIO-1 Signed-off-by: Rusty Russell <rusty@au1.ibm.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@2 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
2013-08-16Initial conversion of 0.9.5 draft spec into text.rusty
git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@1 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652