Skip to content

Question: block device, legacy interface, why 8-type descriptor ...... #231

@unicornx

Description

@unicornx

In "5.2.6.4 Legacy Interface: Framing Requirements", for all version of virtio specifiction.

MUST use a single 8-byte descriptor containing type, reserved and sector, followed by descriptors for data, then finally a separate 1-byte descriptor for status.

However, when checking struct virtio_blk_req, type, reserved and sector, these three fields require 16 bytes. Why here says 8-byte?

Thanks,
Chen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions