检查是否在不重新启动Linux的情况下激活了VT-x? [英] check if VT-x is activated without having to reboot in Linux?

查看:94
本文介绍了检查是否在不重新启动Linux的情况下激活了VT-x?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一台笔记本电脑,其Intel Core i5 M 450 @ 2.40GHz显然具有VT-x,但没有VT-d.我有32位的Ubuntu 12.04,但想在其上运行基于虚拟的64位基于终端的Linux.我怎么知道BIOS是否已激活此VT-x功能而无需重新启动?

I have a laptop with Intel Core i5 M 450 @ 2.40GHz which apparently has VT-x but not VT-d. I have Ubuntu 12.04 32bit but would like to have a virtual 64bit terminal-based Linux running on it. How do I know if the BIOS has this VT-x feature activated without having to reboot?

推荐答案

您可以使用 msr-tools 中的 rdmsr 读取寄存器 IA32_FEATURE_CONTROL (地址 0x3a ).为此,必须加载内核模块 msr .

You can use rdmsr from msr-tools to read register IA32_FEATURE_CONTROL (address 0x3a). The kernel module msr has to be loaded for this.

在大多数Linux系统上:

On most Linux systems:

sudo modprobe msr
sudo rdmsr 0x3a

35表示已激活.

这篇关于检查是否在不重新启动Linux的情况下激活了VT-x?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆