![在 BIOS 中启用 Intel VT-d 时出现错误“尝试在非 VT/AMDV 平台上创建 HVM 来宾”](https://linux22.com/image/158075/%E5%9C%A8%20BIOS%20%E4%B8%AD%E5%90%AF%E7%94%A8%20Intel%20VT-d%20%E6%97%B6%E5%87%BA%E7%8E%B0%E9%94%99%E8%AF%AF%E2%80%9C%E5%B0%9D%E8%AF%95%E5%9C%A8%E9%9D%9E%20VT%2FAMDV%20%E5%B9%B3%E5%8F%B0%E4%B8%8A%E5%88%9B%E5%BB%BA%20HVM%20%E6%9D%A5%E5%AE%BE%E2%80%9D.png)
我正在一台较旧的 Vernonia 服务器上安装 XENCloverdale VT-d 兼容CPU,无论是S5000XVNSATAR或者S5000XVNSASR, A2006年设计和一些文档仍然可用。 Intel 中未发现此问题社区支持论坛[替代搜索]。
model name : Intel(R) Xeon(R) CPU X5365 @ 3.00GHz
Base Board Information
Manufacturer: Intel
Product Name: S5000XVN
Version: Not Specified
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
我已经验证Intel VT-d
在enabled
BIOS 中
我已经安装xen-system-amd64
并克隆了现有(功能)XEN VM 逻辑卷,并添加了(修改后的)server.cfg 文件。
然而,当我尝试启动虚拟机时,我得到......
root@XENserver:/etc/xen# xl create server.cfg
Parsing config from server.cfg
WARNING: ignoring device_model directive.
WARNING: Use "device_model_override" instead if you really want a non-default device_model
libxl: error: libxl_create.c:478:libxl__domain_make: domain creation fail
libxl: error: libxl_create.c:745:initiate_domain_create: cannot make domain: -3
libxl: error: libxl.c:1409:libxl__destroy_domid: non-existant domain -1
libxl: error: libxl.c:1373:domain_destroy_callback: unable to destroy guest with domid 4294967295
libxl: error: libxl_create.c:1328:domcreate_destruction_cb: unable to destroy domain 4294967295 following failed creation
root@XENserver:/etc/xen# xl dmesg
(XEN) Dom0 has maximum 8 VCPUs
(XEN) Scrubbing Free RAM: .done.
(XEN) Initial low memory virq threshold set at 0x4000 pages.
(XEN) Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
(XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen)
(XEN) Freed 264kB init memory.
(XEN) hvm.c:557:d0 Attempt to create a HVM guest on a non-VT/AMDV platform.
(XEN) hvm.c:557:d0 Attempt to create a HVM guest on a non-VT/AMDV platform.
root@XENserver:/etc/xen# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 2
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 15
Model name: Intel(R) Xeon(R) CPU X5365 @ 3.00GHz
Stepping: 11
CPU MHz: 2992.548
BogoMIPS: 5985.09
Hypervisor vendor: Xen
Virtualization type: none
L1d cache: 32K
L1i cache: 32K
L2 cache: 4096K
NUMA node0 CPU(s): 0-7
服务器配置文件
device_model = '/usr/lib/xen-4.0/bin/qemu-dm'
builder = 'hvm'
memory = '8192'
vcpus = '2'
disk = [
'phy:/dev/vg-xen/server-disk,ioemu:hda,w',
'file:/mnt/share/ubuntu-14.04.1-server-amd64.iso,hdc:cdrom,r'
]
name = 'i61smbadb'
vif = [ 'mac=xx:xx:xx:xx:xx:xx' ]
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
boot = 'dc'
# For vnc connectivity
sdl=0
vnc=1
vncconsole=9
vncdisplay=9 # Sets the port to 5909
vnclisten = '141.3.88.11'
vncpasswd='match wine signature'
stdvga=0
serial='pty'
usbdevice='tablet'