- 论坛徽章:
- 0
|
我通过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命令的输出结果:
- [2007-10-10 13:07:55 xend.XendDomainInfo 2442] 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']]]])
- [2007-10-10 13:07:55 xend.XendDomainInfo 2442] 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']]]]
- [2007-10-10 13:07:55 xend.XendDomainInfo 2442] 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}
- [2007-10-10 13:07:55 xend.XendDomainInfo 2442] DEBUG (XendDomainInfo:1264) XendDomainInfo.construct: None
- [2007-10-10 13:07:55 xend.XendDomainInfo 2442] DEBUG (XendDomainInfo:1296) XendDomainInfo.initDomain: 9 1.0
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:329) args: boot, val: c
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:329) args: fda, val: None
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:329) args: fdb, val: None
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:329) args: soundhw, val: None
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:329) args: localtime, val: None
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:329) args: serial, val: pty
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:329) args: std-vga, val: None
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:329) args: isa, val: None
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:329) args: vcpus, val: 1
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:329) args: acpi, val: None
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:329) args: usb, val: None
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:329) args: usbdevice, val: None
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:329) args: k, val: en-us
- [2007-10-10 13:07:55 xend 2442] DEBUG (balloon:127) Balloon: 344256 KiB free; need 335600; done.
- [2007-10-10 13:07:55 xend 2442] INFO (image:136) buildDomain os=hvm dom=9 vcpus=1
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:282) dom = 9
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:283) image = /usr/lib/xen/boot/hvmloader
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:284) store_evtchn = 1
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:285) memsize = 312
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:286) vcpus = 1
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:287) pae = 1
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:288) acpi = 0
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:289) apic = 0
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:435) hvm shutdown watch registered
- [color=red][2007-10-10 13:07:55 xend 2442] DEBUG (blkif:24) exception looking up device number for hda: [Errno 2] No such file or directory: '/dev/hda'[/color]
- [2007-10-10 13:07:55 xend 2442] 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.
- [2007-10-10 13:07:55 xend 2442] 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.
- [2007-10-10 13:07:55 xend 2442] 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.
- [2007-10-10 13:07:55 xend 2442] 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.
- [2007-10-10 13:07:55 xend 2442] 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.
- [2007-10-10 13:07:55 xend 2442] 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.
- [2007-10-10 13:07:55 xend 2442] 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']
- [2007-10-10 13:07:55 xend 2442] INFO (image:420) device model pid: 7867
- [2007-10-10 13:07:55 xend.XendDomainInfo 2442] 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'}
- [2007-10-10 13:07:55 xend.XendDomainInfo 2442] 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'}
- [2007-10-10 13:07:55 xend 2442] DEBUG (image:458) hvm_shutdown fired, shutdown reason=None
- [2007-10-10 13:07:55 xend.XendDomainInfo 2442] DEBUG (XendDomainInfo:940) XendDomainInfo.handleShutdownWatch
- [2007-10-10 13:07:56 xend 2442] DEBUG (DevController:143) Waiting for devices vif.
- [2007-10-10 13:07:56 xend 2442] DEBUG (DevController:149) Waiting for 0.
- [2007-10-10 13:07:56 xend 2442] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/9/0/hotplug-status.
- [2007-10-10 13:07:56 xend 2442] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vif/9/0/hotplug-status.
- [2007-10-10 13:07:56 xend 2442] DEBUG (DevController:485) hotplugStatusCallback 1.
- [2007-10-10 13:07:56 xend 2442] DEBUG (DevController:143) Waiting for devices usb.
- [2007-10-10 13:07:56 xend 2442] DEBUG (DevController:143) Waiting for devices vbd.
- [2007-10-10 13:07:56 xend 2442] DEBUG (DevController:149) Waiting for 768.
- [2007-10-10 13:07:56 xend 2442] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vbd/9/768/hotplug-status.
- [2007-10-10 13:07:56 xend 2442] DEBUG (DevController:485) hotplugStatusCallback 1.
- [2007-10-10 13:07:56 xend 2442] DEBUG (DevController:149) Waiting for 5632.
- [2007-10-10 13:07:56 xend 2442] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vbd/9/5632/hotplug-status.
- [2007-10-10 13:07:57 xend 2442] DEBUG (DevController:471) hotplugStatusCallback /local/domain/0/backend/vbd/9/5632/hotplug-status.
- [2007-10-10 13:07:57 xend 2442] DEBUG (DevController:485) hotplugStatusCallback 1.
- [2007-10-10 13:07:57 xend 2442] DEBUG (DevController:143) Waiting for devices irq.
- [2007-10-10 13:07:57 xend 2442] DEBUG (DevController:143) Waiting for devices vkbd.
- [2007-10-10 13:07:57 xend 2442] DEBUG (DevController:143) Waiting for devices vfb.
- [2007-10-10 13:07:57 xend 2442] DEBUG (DevController:143) Waiting for devices pci.
- [2007-10-10 13:07:57 xend 2442] DEBUG (DevController:143) Waiting for devices ioports.
- [2007-10-10 13:07:57 xend 2442] DEBUG (DevController:143) Waiting for devices tap.
- [2007-10-10 13:07:57 xend 2442] DEBUG (DevController:143) Waiting for devices vtpm.
- [2007-10-10 13:07:57 xend 2442] INFO (XendDomain:370) Domain winxp (9) unpaused.
复制代码
[ 本帖最后由 sailer_sh 于 2007-10-13 17:05 编辑 ] |
|