]> 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)
commitae16c8b553d1c657cb815f4847b0dfc1c92ac840
treeb2cd0b760fc8d6f33a29e19c11bc0559d490263f
parent32f6b447666ec39eeaa84a204a29217cdb2b2741
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