[root@XenServer01-ZD30 image]# virsh create /image/windows-01.xml
错误:从 /image/windows-01.xml 创建域失败
错误:未找到域: xenUnifiedDomainLookupByName
[root@XenServer01-ZD30 image]# vi /var/log/xen/xend.log
[2010-05-26 13:34:21 3970] DEBUG (XendDomainInfo:3060) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '6', 'uuid': '00000000-0000-0000-0001-000000000001', 'on_reboot': 'restart', 'start_time': '1274852061.26', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '2', 'vcpu_avail': '3', 'bootloader': '', 'image': '(hvm (kernel ) (hpet 0) (loader /usr/lib/xen/boot/hvmloader) (serial pty) (xen_platform_pci 1) (boot c) (rtc_timeoffset 0) (pae 1) (vpt_align 1) (viridian 0) (acpi 1) (localtime 1) (timer_mode 1) (apic 1) (usbdevice tablet) (device_model /usr/lib64/xen/bin/qemu-dm) (usb 1) (notes (SUSPEND_CANCEL 1)))', 'name': 'windows-01'}
[2010-05-26 13:34:21 3970] WARNING (image:493) domain windows-01: device model failure: pid 20493: exited with nonzero status 1; see /var/log/xen/qemu-dm-windows-01.log
[root@XenServer01-ZD30 image]# vi /var/log/xen/qemu-dm-windows-01.log
domid: 4
qemu: the number of cpus is 2
warning: could not open /dev/net/tun: no virtual network emulation
Could not initialize device 'tap'
#查看是否有tun模块
[root@XenServer01-ZD30 image]# modinfo tun
filename: /lib/modules/2.6.18.8-xen/kernel/drivers/net/tun.ko
alias: char-major-10-200
license: GPL
author: (C) 1999-2004 Max Krasnyansky <>
description: Universal TUN/TAP device driver
srcversion: C0FE3C11A88F4A24924EFDD
depends:
vermagic: 2.6.18.8-xen SMP mod_unload Xen gcc-4.1
#查看tun模块是否加载
[root@XenServer01-ZD30 image]# lsmod |grep tun
#手动加载tun模块
[root@XenServer01-ZD30 image]# modprobe tun
#OK#
阅读(2755) | 评论(0) | 转发(0) |