Now that VirtualBox is able to run as a host on arm64 (e.g. the Apple M3 
processors) we can enable VBOXSF_FS (and in turn VBOXGUEST) for this 
architecture. Tested with various runs of bonnie++ and dbench on an Apple 
MacBook Pro with the latest Virtualbox 7.1.4 r165100 installed.

Signed-off-by: Christian Kujau <li...@nerdbynature.de>
Reviewed-by: Hans de Goede <hdego...@redhat.com>

---
v3: version history added, along with Hans' Reviewed-by

v2: vboxvideo change removed, see:
    
https://lore.kernel.org/lkml/7384d96c-2a77-39b0-2306-90129bae9...@nerdbynature.de/

v1: initial version, see:
    
https://lore.kernel.org/lkml/a969298e-0986-470c-9711-703af784d...@redhat.com/

 drivers/virt/vboxguest/Kconfig | 2 +-
 fs/vboxsf/Kconfig              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/virt/vboxguest/Kconfig b/drivers/virt/vboxguest/Kconfig
index cc329887bfae..11b153e7454e 100644
--- a/drivers/virt/vboxguest/Kconfig
+++ b/drivers/virt/vboxguest/Kconfig
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config VBOXGUEST
        tristate "Virtual Box Guest integration support"
-       depends on X86 && PCI && INPUT
+       depends on (ARM64 || X86) && PCI && INPUT
        help
          This is a driver for the Virtual Box Guest PCI device used in
          Virtual Box virtual machines. Enabling this driver will add
diff --git a/fs/vboxsf/Kconfig b/fs/vboxsf/Kconfig
index b84586ae08b3..d4694026db8b 100644
--- a/fs/vboxsf/Kconfig
+++ b/fs/vboxsf/Kconfig
@@ -1,6 +1,6 @@
 config VBOXSF_FS
        tristate "VirtualBox guest shared folder (vboxsf) support"
-       depends on X86 && VBOXGUEST
+       depends on (ARM64 || X86) && VBOXGUEST
        select NLS
        help
          VirtualBox hosts can share folders with guests, this driver

-- 
BOFH excuse #76:

Unoptimized hard drive

Reply via email to