mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-12 05:24:12 +08:00
0532a1b0d0
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>
19 lines
559 B
C
19 lines
559 B
C
/* SPDX-License-Identifier: (GPL-2.0 OR CDDL-1.0) */
|
|
/*
|
|
* VBox Guest additions version info, this is used by the host to determine
|
|
* supported guest-addition features in some cases. So this will need to be
|
|
* synced with vbox upstreams versioning scheme when we implement / port
|
|
* new features from the upstream out-of-tree vboxguest driver.
|
|
*/
|
|
|
|
#ifndef __VBOX_VERSION_H__
|
|
#define __VBOX_VERSION_H__
|
|
|
|
#define VBG_VERSION_MAJOR 6
|
|
#define VBG_VERSION_MINOR 0
|
|
#define VBG_VERSION_BUILD 0
|
|
#define VBG_SVN_REV 127566
|
|
#define VBG_VERSION_STRING "6.0.0"
|
|
|
|
#endif
|