]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
vhost: return task creation error instead of NULL
authorKeith Busch <kbusch@kernel.org>
Thu, 27 Feb 2025 23:06:30 +0000 (15:06 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Mar 2025 19:54:21 +0000 (12:54 -0700)
commit061ea46c56f6d62f1a216cdeaf44e6cecb9f6de4
tree22e594369bec58bfbfcc961967e243693bcab5a5
parent7184e996107c37036c0d209ec993589513332fae
vhost: return task creation error instead of NULL

[ Upstream commit cb380909ae3b1ebf14d6a455a4f92d7916d790cb ]

Lets callers distinguish why the vhost task creation failed. No one
currently cares why it failed, so no real runtime change from this
patch, but that will not be the case for long.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Message-ID: <20250227230631.303431-2-kbusch@meta.com>
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/kvm/mmu/mmu.c
drivers/vhost/vhost.c
kernel/vhost_task.c