mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 15:02:45 +00:00
ABI: only support arm 64-bit platform
We only support running Kata Containers on AArch64. Fixes: #107 Signed-off-by: Penny Zheng <penny.zheng@arm.com>
This commit is contained in:
parent
3b6a837664
commit
9621a7f3f5
@ -16,7 +16,7 @@ pub const SYSFS_PCI_BUS_RESCAN_FILE: &str = "/sys/bus/pci/rescan";
|
|||||||
target_arch = "x86"
|
target_arch = "x86"
|
||||||
))]
|
))]
|
||||||
pub const PCI_ROOT_BUS_PATH: &str = "/devices/pci0000:00";
|
pub const PCI_ROOT_BUS_PATH: &str = "/devices/pci0000:00";
|
||||||
#[cfg(target_arch = "arm")]
|
#[cfg(target_arch = "aarch64")]
|
||||||
pub const PCI_ROOT_BUS_PATH: &str = "/devices/platform/4010000000.pcie/pci0000:00";
|
pub const PCI_ROOT_BUS_PATH: &str = "/devices/platform/4010000000.pcie/pci0000:00";
|
||||||
|
|
||||||
pub const SYSFS_CPU_ONLINE_PATH: &str = "/sys/devices/system/cpu";
|
pub const SYSFS_CPU_ONLINE_PATH: &str = "/sys/devices/system/cpu";
|
||||||
|
Loading…
Reference in New Issue
Block a user