]> git.baikalelectronics.ru Git - kernel.git/commit
virt: vbox: Implement passing requestor info to the host for VirtualBox 6.0.x
authorHans de Goede <hdegoede@redhat.com>
Fri, 22 Mar 2019 08:19:34 +0000 (09:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Mar 2019 16:55:18 +0000 (01:55 +0900)
commit4bfea4592f824571b938734d91675a27b94cea0f
treeb2cd0b760fc8d6f33a29e19c11bc0559d490263f
parent0618aef9b2819d2d7171e95cb5e022561066762a
virt: vbox: Implement passing requestor info to the host for VirtualBox 6.0.x

VirtualBox 6.0.x has a new feature where the guest kernel driver passes
info about the origin of the request (e.g. userspace or kernelspace) to
the hypervisor.

If we do not pass this information then when running the 6.0.x userspace
guest-additions tools on a 6.0.x host, some requests will get denied
with a VERR_VERSION_MISMATCH error, breaking vboxservice.service and
the mounting of shared folders marked to be auto-mounted.

This commit implements passing the requestor info to the host, fixing this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/virt/vboxguest/vboxguest_core.c
drivers/virt/vboxguest/vboxguest_core.h
drivers/virt/vboxguest/vboxguest_linux.c
drivers/virt/vboxguest/vboxguest_utils.c
drivers/virt/vboxguest/vboxguest_version.h
drivers/virt/vboxguest/vmmdev.h
include/linux/vbox_utils.h
include/uapi/linux/vbox_vmmdev_types.h