Skip to content

Commit 7a6f507

Browse files
committed
incusd/device/disk: Allow virtiofsd on non-x86
Signed-off-by: Stéphane Graber <[email protected]>
1 parent 35388a3 commit 7a6f507

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

internal/server/device/device_utils_disk.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import (
1818
"github.com/lxc/incus/v6/internal/server/instance"
1919
storageDrivers "github.com/lxc/incus/v6/internal/server/storage/drivers"
2020
"github.com/lxc/incus/v6/shared/idmap"
21-
"github.com/lxc/incus/v6/shared/osarch"
2221
"github.com/lxc/incus/v6/shared/revert"
2322
"github.com/lxc/incus/v6/shared/subprocess"
2423
"github.com/lxc/incus/v6/shared/util"
@@ -332,12 +331,6 @@ func DiskVMVirtiofsdStart(execPath string, inst instance.Instance, socketPath st
332331
return nil, nil, ErrMissingVirtiofsd
333332
}
334333

335-
// Currently, virtiofs is broken on at least the ARM architecture.
336-
// We therefore restrict virtiofs to 64BIT_INTEL_X86.
337-
if inst.Architecture() != osarch.ARCH_64BIT_INTEL_X86 {
338-
return nil, nil, UnsupportedError{msg: "Architecture unsupported"}
339-
}
340-
341334
if util.IsTrue(inst.ExpandedConfig()["migration.stateful"]) {
342335
return nil, nil, UnsupportedError{"Stateful migration unsupported"}
343336
}

0 commit comments

Comments
 (0)