ubuntu 安装完xen虚拟机,进入xen内核模式下的ubuntu后,terminal下输入命令 sudo xm list检查xen是否安装成功时,显示错误ERROR:  A different toolstack (xl) have been selected!

terminal输入“ vi  /etc/default/xen”打开xen系统配置,发现如下描述


# Configuration for Xen system
# ----------------------------


# There exists several tool stacks to configure a Xen system.
# xm: This is the old, deprecated toolstack (xend)
# xl: This is the new toolstack using libxenlight/libxl
#
# Attention: You need to reboot after changing this!
TOOLSTACK=xl


意思是xm是老版本的,xl是新版本的工具栈,通过修改最后一行 TOOLSTACK=可以进行切换,生效需要重启。

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐