From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: andrey.zhadchenko@virtuozzo.com,
Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.1 v2 0/3] drivers/vhost/blk: fix virtio-blk request header and payload parsing
Date: Thu, 29 Oct 2026 14:25:04 +0100 [thread overview]
Message-ID: <179328030474.1468467.16686609170991040291.b4-ty@b4> (raw)
In-Reply-To: <20261029125923.3352735-1-alexander.ivanov@virtuozzo.com>
On Thu, 29 Oct 2026 13:59:20 +0100, Alexander Ivanov wrote:
> drivers/vhost/blk: fix virtio-blk request header and payload parsing
>
> vhost-blk parsed guest requests from the whole descriptor chain without
> telling the device-readable part from the device-writable one, and used
> the header fields without byte order conversion.
>
> Patch 1 converts hdr->type and hdr->sector to CPU byte order.
>
> [...]
Applied to branch-rh10-6.12.0-211.52.1.22.x.vz10-ovz, will be released in rh10-6.12.0-211.52.1.22.12.vz10, thanks!
[1/3] drivers/vhost/blk: convert virtio_blk_outhdr fields to CPU byte order
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/67f3f8d1779e
[2/3] drivers/vhost/blk: take virtio_blk_outhdr only from the readable part
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/1660e62fccab
[3/3] drivers/vhost/blk: take req->len from one side of the descriptor chain
https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/06c6e4bb1aa9
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
prev parent reply other threads:[~2026-10-29 13:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-29 12:59 Alexander Ivanov
2026-10-29 12:59 ` [Devel] [PATCH hci-8.1 v2 1/3] drivers/vhost/blk: convert virtio_blk_outhdr fields to CPU byte order Alexander Ivanov
2026-10-29 13:03 ` no-reply
2026-10-29 12:59 ` [Devel] [PATCH hci-8.1 v2 2/3] drivers/vhost/blk: take virtio_blk_outhdr only from the readable part Alexander Ivanov
2026-10-29 13:02 ` no-reply
2026-10-29 12:59 ` [Devel] [PATCH hci-8.1 v2 3/3] drivers/vhost/blk: take req->len from one side of the descriptor chain Alexander Ivanov
2026-10-29 13:02 ` no-reply
2026-10-29 13:25 ` Konstantin Khorenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179328030474.1468467.16686609170991040291.b4-ty@b4 \
--to=khorenko@virtuozzo.com \
--cc=alexander.ivanov@virtuozzo.com \
--cc=andrey.zhadchenko@virtuozzo.com \
--cc=devel@openvz.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox