windows: 非 aws 的 xen 机器暂时也用 aws 的驱动,因为官方驱动没了签名

This commit is contained in:
bin456789 2023-10-22 17:11:35 +08:00
parent d548cbbe21
commit 026b11ba22
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -1347,8 +1347,7 @@ install_windows() {
unzip -o -d $drv/aws/ $drv/AWSNVMe.zip
unzip -o -d $drv/aws/ $drv/AwsEnaNetworkDriver.zip
elif virt-what | grep aws &&
virt-what | grep xen &&
elif virt-what | grep xen &&
[ "$arch_wim" = x86_64 ]; then
# aws xen
# 只有 64 位驱动
@ -1367,10 +1366,12 @@ install_windows() {
mkdir -p $drv/aws/
cp -rf $drv/.Drivers/* $drv/aws/
elif virt-what | grep xen &&
elif false && virt-what | grep xen &&
[ "$arch_wim" != arm64 ]; then
# xen
# 有 x86 x64没arm64驱动
# 没签名暂时用aws的驱动代替
# https://lore.kernel.org/xen-devel/E1qKMmq-00035B-SS@xenbits.xenproject.org/
# https://xenbits.xenproject.org/pvdrivers/win/
# 在 aws t2 上测试,安装 xenbus 会蓝屏装了其他7个驱动后能进系统但没网络
# 但 aws 应该用aws官方xen驱动所以测试仅供参考