virtio,vhost: last minute fixes
Subsystems (4)
Michael S. Tsirkin
maintainerchanges from v1:
drop Sean's patches as an issue was found there.
The following changes since commit 76eeb9b8de9880ca38696b2fb56ac45ac0a25c6c:
Linux 6.17-rc5 (2025-09-07 14:22:57 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus
for you to fetch changes up to 1cedefff4a75baba48b9e4cfba8a6832005f89fe:
virtio_config: clarify output parameters (2025-09-18 11:05:32 -0400)
----------------------------------------------------------------
virtio,vhost: last minute fixes
More small fixes. Most notably this reverts a virtio console change since we made it without considering compatibility sufficiently.
----------------------------------------------------------------
Alok Tiwari (1):
vhost-scsi: fix argument order in tport allocation error message
Alyssa Ross (1):
virtio_config: clarify output parameters
Ashwini Sahu (1):
uapi: vduse: fix typo in comment
Michael S. Tsirkin (1):
Revert "virtio_console: fix order of fields cols and rows"
zhang jiao (1):
vhost: vringh: Modify the return value check
drivers/char/virtio_console.c | 2 +- drivers/vhost/scsi.c | 2 +- drivers/vhost/vringh.c | 7 ++++--- include/linux/virtio_config.h | 11 ++++++----- include/uapi/linux/vduse.h | 2 +- 5 files changed, 13 insertions(+), 11 deletions(-)
Quoted 3 lines · Michael S. Tsirkin
Most notably this reverts a virtio console change since we made it without considering compatibility sufficiently.
It seems that we are not in agreement about whether it should be reverted or not. I think it should depend on whether the virtio spec maintainers are willing to change it to agree with the Linux implementation. I was under the impression that they aren't.
I will quote some conversation from the patch thread.
Quoted 7 lines · Maximilian Immanuel Brandtner
On a related note, during the initial discussion of this changing the virtio spec was proposed as well (as can be read from the commit mgs), however at the time on the viritio mailing list people were resistent to the idea of changing the virtio spec to conform to the kernel implementation.
I don't really care if this discrepancy is fixed one way or the other, but it should most definitely be fixed.
Quoted 7 lines · I wrote:
I'm of the same opinion, but if it is fixed on the kernel side, then (assuming no device implementation with the wrong order exists) I think maybe the fix should be backported to all widely used kernels. It seems that the patch hasn't been backported to the longterm kernels [1], which I think Debian kernels are based on.
Quoted 1 line · Maximilian Immanuel Brandtner
Then I guess the patch-set should be backported
After that, I sent a backport request to stable@. Maybe I should have waited some more time before doing that.
Anyway, I don't care which way this dilemma will be resolved, but the discussion is currently scattered among too many places and it's hard to determine what the consensus is.
Best regards,
Filip Hejsek
Michael S. Tsirkin
maintainerQuoted 9 lines · Filip Hejsek
Quoted 3 lines · Michael S. Tsirkin
Most notably this reverts a virtio console change since we made it without considering compatibility sufficiently.
It seems that we are not in agreement about whether it should be reverted or not. I think it should depend on whether the virtio spec maintainers are willing to change it to agree with the Linux implementation. I was under the impression that they aren't.
Ugh. OK I guess I'll drop this one too then. That leaves nothing relevant for this pull request.
Quoted 32 lines
I will quote some conversation from the patch thread.
Quoted 7 lines · Maximilian Immanuel Brandtner
On a related note, during the initial discussion of this changing the virtio spec was proposed as well (as can be read from the commit mgs), however at the time on the viritio mailing list people were resistent to the idea of changing the virtio spec to conform to the kernel implementation.
I don't really care if this discrepancy is fixed one way or the other, but it should most definitely be fixed.Quoted 7 lines · I wrote:
I'm of the same opinion, but if it is fixed on the kernel side, then (assuming no device implementation with the wrong order exists) I think maybe the fix should be backported to all widely used kernels. It seems that the patch hasn't been backported to the longterm kernels [1], which I think Debian kernels are based on.
Quoted 1 line · Maximilian Immanuel Brandtner
Then I guess the patch-set should be backported
After that, I sent a backport request to stable@. Maybe I should have waited some more time before doing that.
Anyway, I don't care which way this dilemma will be resolved, but the discussion is currently scattered among too many places and it's hard to determine what the consensus is.
Best regards,
Filip Hejsek
Michael S. Tsirkin
maintainerOK and now Filip asked me to drop this too.
I am really batting 100x.
Linus pls ignore all this.
Very sorry.
I judge rest of patches here aren't important enough for a pull, I will want for more patches to land and get tested. Thanks!
Quoted 46 lines · Michael S. Tsirkin
changes from v1:
drop Sean's patches as an issue was found there.The following changes since commit
76eeb9b8de9880ca38696b2fb56ac45ac0a25c6c:Linux 6.17-rc5 (2025-09-07 14:22:57 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus
for you to fetch changes up to
1cedefff4a75baba48b9e4cfba8a6832005f89fe:
virtio_config: clarify output parameters (2025-09-18 11:05:32 -0400)----------------------------------------------------------------
virtio,vhost: last minute fixesMore small fixes. Most notably this reverts a virtio console change since we made it without considering compatibility sufficiently.
Signed-off-by Michael S. Tsirkin <[email protected]>----------------------------------------------------------------
Alok Tiwari (1):
vhost-scsi: fix argument order in tport allocation error messageAlyssa Ross (1):
virtio_config: clarify output parametersAshwini Sahu (1):
uapi: vduse: fix typo in commentMichael S. Tsirkin (1):
Revert "virtio_console: fix order of fields cols and rows"zhang jiao (1):
vhost: vringh: Modify the return value checkdrivers/char/virtio_console.c | 2 +- drivers/vhost/scsi.c | 2 +- drivers/vhost/vringh.c | 7 ++++--- include/linux/virtio_config.h | 11 ++++++----- include/uapi/linux/vduse.h | 2 +- 5 files changed, 13 insertions(+), 11 deletions(-)
Quoted 5 lines · Michael S. Tsirkin
OK and now Filip asked me to drop this too.
I am really batting 100x.
Linus pls ignore all this.
Very sorry.
Lol, that makes it very easy for me - no need to be sorry, and thanks for just reacting fast enough that I didn't have time to do a pull and then have to revert later.
Linus