[vbox-dev] Initial fixes for API changes in kernel 6.3

Vadim Galitsin vadim.galitsyn at oracle.com
Tue Mar 7 20:02:39 GMT 2023


Hi Larry,

Thank you for pointing out. We have related changes on development branch for both host and guest parts. I am attaching them as a patches. Please note, these patches are currently under testing and they might be changed by the time when kernel 6.3 will be released.

Best regards,
Vadim

________________________________________
From: vbox-dev-bounces at virtualbox.org <vbox-dev-bounces at virtualbox.org> on behalf of Larry Finger via vbox-dev <vbox-dev at virtualbox.org>
Sent: Tuesday, March 7, 2023 4:53 PM
To: vbox-dev at virtualbox.org
Subject: [vbox-dev] Initial fixes for API changes in kernel 6.3

Hi,

With release of kernel 6.3.0-rc1, module vboxdrv.ko fails to build. The errors
are because a user can no longer write directly info the vm_flags member of
struct vm_area_struct. Instead, the vm_flags_set() wrapper function must be used
as show in the attached patch.

This patch is released under the MIT license.

Larry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01-vbox-7.0.6-linux-6.3-rc0-vboxdrv.patch
Type: text/x-patch
Size: 1189 bytes
Desc: 01-vbox-7.0.6-linux-6.3-rc0-vboxdrv.patch
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20230307/4ec3bbdc/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 02-vbox-7.0.6-linux-6.3-rc0-vboxvideo.patch
Type: text/x-patch
Size: 4362 bytes
Desc: 02-vbox-7.0.6-linux-6.3-rc0-vboxvideo.patch
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20230307/4ec3bbdc/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 03-vbox-7.0.6-linux-6.3-rc0-vboxvideo.patch
Type: text/x-patch
Size: 566 bytes
Desc: 03-vbox-7.0.6-linux-6.3-rc0-vboxvideo.patch
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20230307/4ec3bbdc/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 04-vbox-7.0.6-linux-6.3-rc0-vboxsf.patch
Type: text/x-patch
Size: 6249 bytes
Desc: 04-vbox-7.0.6-linux-6.3-rc0-vboxsf.patch
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20230307/4ec3bbdc/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 05-vbox-7.0.6-linux-6.3-rc0-vboxsf.patch
Type: text/x-patch
Size: 1101 bytes
Desc: 05-vbox-7.0.6-linux-6.3-rc0-vboxsf.patch
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20230307/4ec3bbdc/attachment-0004.bin>


More information about the vbox-dev mailing list