mirror of
https://github.com/microsoft/WSL.git
synced 2025-12-10 00:44:55 -06:00
wsla: add support for ARM64 (#13762)
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
This commit is contained in:
parent
e702db9d5c
commit
4017d23ac9
@ -250,7 +250,9 @@ void WSLAVirtualMachine::Start()
|
||||
auto kernelPath = std::filesystem::path(WSL_KERNEL_PATH);
|
||||
|
||||
#else
|
||||
|
||||
auto kernelPath = std::filesystem::path(basePath) / L"tools" / LXSS_VM_MODE_KERNEL_NAME;
|
||||
|
||||
#endif
|
||||
|
||||
if constexpr (!wsl::shared::Arm64)
|
||||
@ -262,11 +264,9 @@ void WSLAVirtualMachine::Start()
|
||||
}
|
||||
else
|
||||
{
|
||||
// TODO
|
||||
THROW_HR(E_NOTIMPL);
|
||||
auto bootThis = hcs::UefiBootEntry{};
|
||||
bootThis.DeviceType = hcs::UefiBootDevice::VmbFs;
|
||||
// bootThis.VmbFsRootPath = m_rootFsPath.c_str();
|
||||
bootThis.VmbFsRootPath = (basePath / L"tools").c_str();
|
||||
bootThis.DevicePath = L"\\" LXSS_VM_MODE_KERNEL_NAME;
|
||||
bootThis.OptionalData = kernelCmdLine;
|
||||
hcs::Uefi uefiSettings{};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user