全虚拟化配置文件
name = “linux1″ 名称
uuid = “d071d8c3-2c92-3c53-910f-d0ea7fd5828e” UUID
maxmem = 512 最大可用内存
memory = 512 现分配内存
vcpus = 2 虚拟CPU数量
builder = “hvm” 硬件虚拟化形式
kernel = “/usr/lib/xen/boot/hvmloader” 引导内核
boot = “c” 启动模式
pae = 1 物理地址扩展
acpi = 1 高级配置和电源管理
apic = 1 可编程终端控制器
localtime = 0 本地时间
on_poweroff = “destroy” 关闭机器命令
on_reboot = “restart” 重启机器命令
on_crash = “restart” 系统崩溃处理
device_model = “/usr/lib64/xen/bin/qemu-dm” 驱动模块路径
sdl = 0 跨平台多媒体库
vnc = 1 远程控制网络
vncunused = 1 远程控制网络未使用
keymap = “en-us” 键盘映射
disk = [ "file:/var/lib/xen/p_w_picpaths/linux1-1.img,hda,w", ",hdc:cdrom,r" ] 虚拟磁盘
vif = [ "mac=00:1c:c0:28:15:a1,bridge=xenbr0,script=vif-bridge" ] 网卡及网络配置
parallel = “none” 并行
serial = “pty” 串行
半虚拟化xm配置文件
name = “CentOS”
uuid = “7f5deab6-2f67-24bb-057b-809ab9e26954″
maxmem = 512
memory = 512
vcpus = 1
bootloader = “/usr/bin/pygrub”
on_poweroff = “destroy”
on_reboot = “restart”
on_crash = “restart”
disk = [ "tap:aio:/var/lib/xen/p_w_picpaths/centos,xvda,w" ]
vif = [ "mac=00:16:36:0a:35:46,bridge=xenbr0,script=vif-bridge" ]
#vif = [ 'ip=10.5.19.49' ]
#root = “/dev/hda1 ro”