Skip to content

Commit

Permalink
Merge pull request #1638 from stgraber/main
Browse files Browse the repository at this point in the history
incusd/device/disk: Allow virtiofsd on non-x86
  • Loading branch information
hallyn authored Feb 8, 2025
2 parents 15c1874 + 7a6f507 commit 84c3ce0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions internal/server/device/device_utils_disk.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"github.com/lxc/incus/v6/internal/server/instance"
storageDrivers "github.com/lxc/incus/v6/internal/server/storage/drivers"
"github.com/lxc/incus/v6/shared/idmap"
"github.com/lxc/incus/v6/shared/osarch"
"github.com/lxc/incus/v6/shared/revert"
"github.com/lxc/incus/v6/shared/subprocess"
"github.com/lxc/incus/v6/shared/util"
Expand Down Expand Up @@ -332,12 +331,6 @@ func DiskVMVirtiofsdStart(execPath string, inst instance.Instance, socketPath st
return nil, nil, ErrMissingVirtiofsd
}

// Currently, virtiofs is broken on at least the ARM architecture.
// We therefore restrict virtiofs to 64BIT_INTEL_X86.
if inst.Architecture() != osarch.ARCH_64BIT_INTEL_X86 {
return nil, nil, UnsupportedError{msg: "Architecture unsupported"}
}

if util.IsTrue(inst.ExpandedConfig()["migration.stateful"]) {
return nil, nil, UnsupportedError{"Stateful migration unsupported"}
}
Expand Down

0 comments on commit 84c3ce0

Please sign in to comment.