- 论坛徽章:
- 0
|
这是我的配置文件:
Dalyen:/etc/xen# cat WinXP
kernel='/usr/lib/xen-3.2-1/boot/hvmloader'
builder='hvm'
memory = 384
name = 'WinXP'
vif = ['type=ioemu, bridge=xenbr0']
disk = [ 'file:/home/lotos/WinXP/WinXP.img,ioemu:hda,w','file:/home/lotos/winxp.iso,hdc:cdrom,r' ]
device_model = 'usr/lib/xen-3.2-1/bin/qemu-dm'
boot='dca'
sdl=0
vnc=1
vncviewer=1
vncdisplay=1
vncconsole=1
vnclisten='127.0.0.1'
Dalyen:/etc/xen# xm create WinXP
Using config file "./WinXP".
VNC= 2
Started domain WinXP
Dalyen:/etc/xen# netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2460/portmap
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2855/cupsd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 3122/exim4
tcp 0 0 0.0.0.0:56537 0.0.0.0:* LISTEN 2471/rpc.statd
tcp6 0 0 ::1:631 :::* LISTEN 2855/cupsd
Dalyen:/etc/xen# xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 1519 2 r----- 670.6
WinXP 25 384 1 ------ 0.0
折腾了3个小时不知道答案,Google未果,来麻烦大家了…… |
|