xen下安裝windows xp的問題

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

xen下安裝windows xp的問題

我通過virt-manager 0.4.0安裝winxp,通過光碟安裝,建立新虛擬機時生成的配置文件內容:

name = "winxp"
uuid = "674c0608-e061-fb6a-9cdc-c3b51ab77524"
maxmem = 312
memory = 312
vcpus = 1
builder = "hvm"
kernel = "/usr/lib/xen/boot/hvmloader"
boot = "c"
pae = 1
acpi = 0
apic = 0
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
device_model = "/usr/lib/xen/bin/qemu-dm"
sdl = 0
vnc = 1
vncunused = 1
keymap = "en-us"
disk = [ "file:/xen/winxp.img,hda,w" ]
vif = [ "mac=00:16:3e:11:0c:6e,type=ioemu" ]
serial = "pty"


系統安裝時第一次重啟以後,虛擬終端窗口關閉,再次點擊虛擬終端窗口上的「運行」,窗口沒有任何反應,無論怎樣虛擬winxp都不會再啟動,以前都是正常的,不知道哪裡有問題。

xm log命令的輸出結果:

DEBUG (XendDomainInfo:190) XendDomainInfo.create(['vm', ['name', 'winxp'], ['memory', '312'], ['maxmem', '312'], ['vcpus', '1'], ['uuid', '674c0608e061fb6a9cdcc3b51ab77524'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/lib/xen/bin/qemu-dm'], ['vcpus', '1'], ['boot', 'c'], ['pae', '1'], ['serial', 'pty'], ['vnc', '1'], ['vncunused', '1'], ['keymap', 'en-us']]], ['device', ['vbd', ['dev', 'hda:disk'], ['uname', 'file:/xen/winxp.img'], ['mode', 'w']]], ['device', ['vbd', ['dev', 'hdc:cdrom'], ['uname', 'file:/windows/c/winxp.iso'], ['mode', 'r']]], ['device', ['vif', ['mac', '00:16:3e:11:0c:6e'], ['ip', '10.0.0.3'], ['type', 'ioemu']]]])
DEBUG (XendDomainInfo:296) parseConfig: config is ['vm', ['name', 'winxp'], ['memory', '312'], ['maxmem', '312'], ['vcpus', '1'], ['uuid', '674c0608e061fb6a9cdcc3b51ab77524'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/lib/xen/bin/qemu-dm'], ['vcpus', '1'], ['boot', 'c'], ['pae', '1'], ['serial', 'pty'], ['vnc', '1'], ['vncunused', '1'], ['keymap', 'en-us']]], ['device', ['vbd', ['dev', 'hda:disk'], ['uname', 'file:/xen/winxp.img'], ['mode', 'w']]], ['device', ['vbd', ['dev', 'hdc:cdrom'], ['uname', 'file:/windows/c/winxp.iso'], ['mode', 'r']]], ['device', ['vif', ['mac', '00:16:3e:11:0c:6e'], ['ip', '10.0.0.3'], ['type', 'ioemu']]]]
DEBUG (XendDomainInfo:397) parseConfig: result is {'shadow_memory': None, 'start_time': None, 'uuid': '674c0608e061fb6a9cdcc3b51ab77524', 'on_crash': 'restart', 'on_reboot': 'restart', 'localtime': None, 'image': ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/lib/xen/bin/qemu-dm'], ['vcpus', '1'], ['boot', 'c'], ['pae', '1'], ['serial', 'pty'], ['vnc', '1'], ['vncunused', '1'], ['keymap', 'en-us']], 'on_poweroff': 'destroy', 'bootloader_args': None, 'cpus': None, 'name': 'winxp', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 312, 'device': [('vbd', ['vbd', ['dev', 'hda:disk'], ['uname', 'file:/xen/winxp.img'], ['mode', 'w']]), ('vbd', ['vbd', ['dev', 'hdc:cdrom'], ['uname', 'file:/windows/c/winxp.iso'], ['mode', 'r']]), ('vif', ['vif', ['mac', '00:16:3e:11:0c:6e'], ['ip', '10.0.0.3'], ['type', 'ioemu']])], 'bootloader': None, 'cpu': None, 'maxmem': 312}
DEBUG (XendDomainInfo:1264) XendDomainInfo.construct: None
DEBUG (XendDomainInfo:1296) XendDomainInfo.initDomain: 9 1.0
DEBUG (image:329) args: boot, val: c
DEBUG (image:329) args: fda, val: None
DEBUG (image:329) args: fdb, val: None
DEBUG (image:329) args: soundhw, val: None
DEBUG (image:329) args: localtime, val: None
DEBUG (image:329) args: serial, val: pty
DEBUG (image:329) args: std-vga, val: None
DEBUG (image:329) args: isa, val: None
DEBUG (image:329) args: vcpus, val: 1
DEBUG (image:329) args: acpi, val: None
DEBUG (image:329) args: usb, val: None
DEBUG (image:329) args: usbdevice, val: None
DEBUG (image:329) args: k, val: en-us
DEBUG (balloon:127) Balloon: 344256 KiB free; need 335600; done.
INFO (image:136) buildDomain os=hvm dom=9 vcpus=1
DEBUG (image:282) dom            = 9
DEBUG (image:283) image          = /usr/lib/xen/boot/hvmloader
DEBUG (image:284) store_evtchn   = 1
DEBUG (image:285) memsize        = 312
DEBUG (image:286) vcpus          = 1
DEBUG (image:287) pae            = 1
DEBUG (image:288) acpi           = 0
DEBUG (image:289) apic           = 0
DEBUG (image:435) hvm shutdown watch registered
DEBUG (blkif:24) exception looking up device number for hda: No such file or directory: '/dev/hda'
DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/9/768'} to /local/domain/9/device/vbd/768.
DEBUG (DevController:112) DevController: writing {'domain': 'winxp', 'frontend': '/local/domain/9/device/vbd/768', 'dev': 'hda', 'state': '1', 'params': '/xen/winxp.img', 'mode': 'w', 'online': '1', 'frontend-id': '9', 'type': 'file'} to /local/domain/0/backend/vbd/9/768.
DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'virtual-device': '5632', 'device-type': 'cdrom', 'state': '1', 'backend': '/local/domain/0/backend/vbd/9/5632'} to /local/domain/9/device/vbd/5632.
DEBUG (DevController:112) DevController: writing {'domain': 'winxp', 'frontend': '/local/domain/9/device/vbd/5632', 'dev': 'hdc', 'state': '1', 'params': '/windows/c/winxp.iso', 'mode': 'r', 'online': '1', 'frontend-id': '9', 'type': 'file'} to /local/domain/0/backend/vbd/9/5632.
DEBUG (DevController:110) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vif/9/0'} to /local/domain/9/device/vif/0.
DEBUG (DevController:112) DevController: writing {'domain': 'winxp', 'handle': '0', 'script': '/etc/xen/scripts/vif-nat', 'ip': '10.0.0.3', 'state': '1', 'frontend': '/local/domain/9/device/vif/0', 'mac': '00:16:3e:11:0c:6e', 'online': '1', 'frontend-id': '9', 'type': 'ioemu'} to /local/domain/0/backend/vif/9/0.
INFO (image:418) spawning device models: /usr/lib/xen/bin/qemu-dm ['/usr/lib/xen/bin/qemu-dm', '-d', '9', '-m', '312', '-boot', 'c', '-serial', 'pty', '-vcpus', '1', '-k', 'en-us', '-domain-name', 'winxp', '-net', 'nic,vlan=1,macaddr=00:16:3e:11:0c:6e,model=rtl8139', '-net', 'tap,vlan=1,bridge=xenbr0', '-vncunused', '-vnclisten', '0.0.0.0']
INFO (image:420) device model pid: 7867
DEBUG (XendDomainInfo:715) Storing VM details: {'shadow_memory': '3', 'uuid': '674c0608e061fb6a9cdcc3b51ab77524', 'on_reboot': 'restart', 'start_time': '1191992875.92', 'on_poweroff': 'destroy', 'name': 'winxp', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '312', 'on_crash': 'restart', 'image': '(hvm (kernel /usr/lib/xen/boot/hvmloader) (device_model /usr/lib/xen/bin/qemu-dm) (vcpus 1) (boot c) (pae 1) (serial pty) (vnc 1) (vncunused 1) (keymap en-us))', 'maxmem': '312'}
DEBUG (XendDomainInfo:750) Storing domain details: {'console/port': '2', 'name': 'winxp', 'console/limit': '1048576', 'vm': '/vm/674c0608e061fb6a9cdcc3b51ab77524', 'domid': '9', 'cpu/0/availability': 'online', 'memory/target': '319488', 'store/ring-ref': '140593', 'store/port': '1'}
DEBUG (image:458) hvm_shutdown fired, shutdown reason=None
DEBUG (XendDomainInfo:940) XendDomainInfo.handleShutdownWatch
DEBUG (DevController:143) Waiting for devices vif.
DEBUG (DevController:149) Waiting for 0.
DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/9/0/hotplug-status.
DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/9/0/hotplug-status.
DEBUG (DevController:485) hotplugStatusCallback 1.
DEBUG (DevController:143) Waiting for devices usb.
DEBUG (DevController:143) Waiting for devices vbd.
DEBUG (DevController:149) Waiting for 768.
DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vbd/9/768/hotplug-status.
DEBUG (DevController:485) hotplugStatusCallback 1.
DEBUG (DevController:149) Waiting for 5632.
DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vbd/9/5632/hotplug-status.
DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vbd/9/5632/hotplug-status.
DEBUG (DevController:485) hotplugStatusCallback 1.
DEBUG (DevController:143) Waiting for devices irq.
DEBUG (DevController:143) Waiting for devices vkbd.
DEBUG (DevController:143) Waiting for devices vfb.
DEBUG (DevController:143) Waiting for devices pci.
DEBUG (DevController:143) Waiting for devices ioports.
DEBUG (DevController:143) Waiting for devices tap.
DEBUG (DevController:143) Waiting for devices vtpm.
INFO (XendDomain:370) Domain winxp (9) unpaused.


[ 本帖最後由 sailer_sh 於 2007-10-13 17:05 編輯 ]




[火星人 ] xen下安裝windows xp的問題已經有412次圍觀

http://coctec.com/docs/service/show-post-7994.html