[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Windows 7 as guest on a physikal disk
Hallo, I have an installed Windows 7 on one partition and running Debain Squeeze on the other. Both are 64 bit. I want to use Xen to run Windows as virtual guest from a physical disk. Once I get this working the Window will never be booted directly. When I try to create the virtual machine by "xm create -c win.xen" it hangs. The versions I use Xen 4.0.1-4 Kernel 2.6.32-5-xen-amd64 Below find the relevant Files. Any help? Thanks in advance. Regards Jens win7.xen ----------------- kernel = "/usr/lib/xen-4.0/boot/hvmloader" builder='hvm' memory = 512 name = "Win7" vif = [ 'type=ioemu, bridge=eth0' ] disk = [ 'phy:sda1,hda,w' ] device_model = 'qemu-dm' boot="c" sdl=0 opengl=1 vnc=1 vncpasswd='abcd' stdvga=0 serial='pty' tsc_mode=0 full_screen=1 ----------- xend-config.sxp ----------- (network-script network-bridge) (vif-script vif-bridge) (dom0-min-mem 196) (enable-dom0-ballooning yes) (total_available_memory 0) (dom0-cpus 0) (vncpasswd '') ----------- qemu-dm-Win7.log ----------- domid: 5 -c config qemu network with xen bridge for tap5.0 eth0 Using file /dev/sda1 in read-write mode Watching /local/domain/0/device-model/5/logdirty/cmd Watching /local/domain/0/device-model/5/command char device redirected to /dev/pts/3 qemu_map_cache_init nr_buckets = 10000 size 4194304 shared page at pfn feffd buffered io page at pfn feffb Guest uuid = 9b327c62-5171-cc24-3695-63438d9dad27 Time offset set 0 populating video RAM at ff000000 mapping video RAM from ff000000 Register xen platform. Done register platform. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. xs_read(/local/domain/0/device-model/5/xen_extended_power_mgmt): read error Log-dirty: no command yet. I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 xs_read(/local/domain/5/log-throttling): read error qemu: ignoring not-understood drive `/local/domain/5/log-throttling' medium change watch on `/local/domain/5/log-throttling' - unknown device, ignored cirrus vga map change while on lfb mode mapping vram to f0000000 - f0400000 platform_fixed_ioport: changed ro/rw state of ROM memory area. now is rw state. platform_fixed_ioport: changed ro/rw state of ROM memory area. now is ro state ----------- /var/log/xen/xend.log ----------- [2012-03-20 14:14:31 2555] DEBUG (XendDomainInfo:101) XendDomainInfo.create(['vm', ['name', 'Win7'], ['memory', 512], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpus', 1], ['oos', 1], ['image', ['hvm', ['kernel', '/usr/lib/xen-4.0/boot/hvmloader'], ['videoram', 4], ['serial', 'pty'], ['acpi', 1], ['apic', 1], ['boot', 'c'], ['cpuid', []], ['cpuid_check', []], ['display', ':0.0'], ['fda', ''], ['fdb', ''], ['guest_os_type', 'default'], ['hap', 1], ['hpet', 0], ['isa', 0], ['keymap', ''], ['localtime', 0], ['nographic', 0], ['opengl', 1], ['oos', 1], ['pae', 1], ['pci', []], ['pci_msitranslate', 1], ['pci_power_mgmt', 0], ['rtc_timeoffset', 0], ['sdl', 0], ['soundhw', ''], ['stdvga', 0], ['timer_mode', 1], ['usb', 0], ['usbdevice', ''], ['vcpus', 1], ['vnc', 1], ['vncunused', 1], ['viridian', 0], ['vpt_align', 1], ['xauthority', '/tmp/libgksu-wipl1u/.Xauthority'], ['xen_platform_pci', 1], ['memory_sharing', 0], ['device_model', '/usr/lib/xen-4.0/bin/qemu-dm'], ['vncpasswd', 'XXXXXXXX'], ['tsc_mode', 0], ['nomigrate', 0]]], ['s3_integrity', 1], ['device', ['vbd', ['uname', 'phy:sda1'], ['dev', 'hda'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'eth0'], ['type', 'ioemu']]]]) [2012-03-20 14:14:31 2555] DEBUG (XendDomainInfo:2508) XendDomainInfo.constructDomain [2012-03-20 14:14:31 2555] DEBUG (balloon:220) Balloon: 1043216 KiB free; need 16384; done. [2012-03-20 14:14:31 2555] DEBUG (XendDomain:464) Adding Domain: 5 [2012-03-20 14:14:31 2555] DEBUG (XendDomainInfo:2818) XendDomainInfo.initDomain: 5 256 [2012-03-20 14:14:31 2555] DEBUG (image:337) Stored a VNC password for vfb access [2012-03-20 14:14:31 2555] DEBUG (image:891) args: boot, val: c [2012-03-20 14:14:31 2555] DEBUG (image:891) args: fda, val: None [2012-03-20 14:14:31 2555] DEBUG (image:891) args: fdb, val: None [2012-03-20 14:14:31 2555] DEBUG (image:891) args: soundhw, val: None [2012-03-20 14:14:31 2555] DEBUG (image:891) args: localtime, val: 0 [2012-03-20 14:14:31 2555] DEBUG (image:891) args: serial, val: ['pty'] [2012-03-20 14:14:31 2555] DEBUG (image:891) args: std-vga, val: 0 [2012-03-20 14:14:31 2555] DEBUG (image:891) args: isa, val: 0 [2012-03-20 14:14:31 2555] DEBUG (image:891) args: acpi, val: 1 [2012-03-20 14:14:31 2555] DEBUG (image:891) args: usb, val: 0 [2012-03-20 14:14:31 2555] DEBUG (image:891) args: usbdevice, val: None [2012-03-20 14:14:31 2555] DEBUG (image:891) args: gfx_passthru, val: None [2012-03-20 14:14:31 2555] INFO (image:822) Need to create platform device.[domid:5] [2012-03-20 14:14:31 2555] DEBUG (XendDomainInfo:2845) _initDomain:shadow_memory=0x0, memory_static_max=0x20000000, memory_static_min=0x0. [2012-03-20 14:14:31 2555] INFO (image:182) buildDomain os=hvm dom=5 vcpus=1 [2012-03-20 14:14:31 2555] DEBUG (image:949) domid = 5 [2012-03-20 14:14:31 2555] DEBUG (image:950) image = /usr/lib/xen-4.0/boot/hvmloader [2012-03-20 14:14:31 2555] DEBUG (image:951) store_evtchn = 2 [2012-03-20 14:14:31 2555] DEBUG (image:952) memsize = 512 [2012-03-20 14:14:31 2555] DEBUG (image:953) target = 512 [2012-03-20 14:14:31 2555] DEBUG (image:954) vcpus = 1 [2012-03-20 14:14:31 2555] DEBUG (image:955) vcpu_avail = 1 [2012-03-20 14:14:31 2555] DEBUG (image:956) acpi = 1 [2012-03-20 14:14:31 2555] DEBUG (image:957) apic = 1 [2012-03-20 14:14:31 2555] INFO (XendDomainInfo:2367) createDevice: vfb : {'vncpasswd': 'XXXXXXXX', 'vncunused': 1, 'other_config': {'vncunused': 1, 'vncpasswd': 'XXXXXXXX', 'vnc': '1'}, 'vnc': '1', 'uuid': '061d5418-b780-fb59-b075-a3cd71b47bf7'} [2012-03-20 14:14:31 2555] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vfb/5/0'} to /local/domain/5/device/vfb/0. [2012-03-20 14:14:31 2555] DEBUG (DevController:97) DevController: writing {'vncunused': '1', 'domain': 'Win7', 'frontend': '/local/domain/5/device/vfb/0', 'uuid': '061d5418-b780-fb59-b075-a3cd71b47bf7', 'frontend-id': '5', 'vncpasswd': 'XXXXXXXX', 'state': '1', 'online': '1', 'vnc': '1'} to /local/domain/0/backend/vfb/5/0. [2012-03-20 14:14:31 2555] INFO (XendDomainInfo:2367) createDevice: vbd : {'uuid': '901bded9-cea5-8efd-30fc-5158558c695a', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'hda', 'uname': 'phy:sda1', 'mode': 'w'} [2012-03-20 14:14:31 2555] DEBUG (DevController:95) DevController: writing {'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/5/768'} to /local/domain/5/device/vbd/768. [2012-03-20 14:14:31 2555] DEBUG (DevController:97) DevController: writing {'domain': 'Win7', 'frontend': '/local/domain/5/device/vbd/768', 'uuid': '901bded9-cea5-8efd-30fc-5158558c695a', 'bootable': '1', 'dev': 'hda', 'state': '1', 'params': 'sda1', 'mode': 'w', 'online': '1', 'frontend-id': '5', 'type': 'phy'} to /local/domain/0/backend/vbd/5/768. [2012-03-20 14:14:31 2555] INFO (XendDomainInfo:2367) createDevice: vif : {'bridge': 'eth0', 'mac': '00:16:3e:7b:41:cd', 'type': 'ioemu', 'uuid': '7abbb1b4-c265-9651-2286-4ac865e81ecf'} [2012-03-20 14:14:31 2555] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vif/5/0'} to /local/domain/5/device/vif/0. [2012-03-20 14:14:31 2555] DEBUG (DevController:97) DevController: writing {'bridge': 'eth0', 'domain': 'Win7', 'handle': '0', 'uuid': '7abbb1b4-c265-9651-2286-4ac865e81ecf', 'script': '/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:7b:41:cd', 'frontend-id': '5', 'state': '1', 'online': '1', 'frontend': '/local/domain/5/device/vif/0', 'type': 'ioemu'} to /local/domain/0/backend/vif/5/0. [2012-03-20 14:14:31 2555] INFO (image:418) spawning device models: /usr/lib/xen-4.0/bin/qemu-dm ['/usr/lib/xen-4.0/bin/qemu-dm', '-d', '5', '-domain-name', 'Win7', '-videoram', '4', '-vnc', '127.0.0.1:0,password', '-vncunused', '-vcpus', '1', '-vcpu_avail', '0x1', '-boot', 'c', '-serial', 'pty', '-acpi', '-net', 'nic,vlan=1,macaddr=00:16:3e:7b:41:cd,model=rtl8139', '-net', 'tap,vlan=1,ifname=tap5.0,bridge=eth0', '-M', 'xenfv'] [2012-03-20 14:14:31 2555] INFO (image:467) device model pid: 4700 [2012-03-20 14:14:31 2555] INFO (image:590) waiting for sentinel_fifo [2012-03-20 14:14:31 2555] DEBUG (XendDomainInfo:3400) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '5', 'uuid': '9b327c62-5171-cc24-3695-63438d9dad27', 'on_reboot': 'restart', 'start_time': '1332249271.32', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'bootloader': '', 'image': '(hvm (kernel ) (superpages 0) (tsc_mode 0) (videoram 4) (hpet 0) (boot c) (loader /usr/lib/xen-4.0/boot/hvmloader) (serial pty) (vpt_align 1) (xen_platform_pci 1) (opengl 1) (vncunused 1) (rtc_timeoffset 0) (vncpasswd XXXXXX) (pci ()) (pae 1) (stdvga 0) (hap 1) (viridian 0) (acpi 1) (localtime 0) (timer_mode 1) (vnc 1) (nographic 0) (guest_os_type default) (pci_msitranslate 1) (oos 1) (apic 1) (sdl 0) (nomigrate 0) (device_model /usr/lib/xen-4.0/bin/qemu-dm) (pci_power_mgmt 0) (usb 0) (xauthority /tmp/libgksu-wipl1u/.Xauthority) (isa 0) (display :0.0) (notes (SUSPEND_CANCEL 1)))', 'name': 'Win7'} [2012-03-20 14:14:31 2555] DEBUG (XendDomainInfo:1804) Storing domain details: {'console/port': '3', 'description': '', 'console/limit': '1048576', 'store/port': '2', 'vm': '/vm/9b327c62-5171-cc24-3695-63438d9dad27', 'domid': '5', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'memory/target': '524288', 'control/platform-feature-multiprocessor-suspend': '1', 'store/ring-ref': '1044476', 'console/type': 'ioemu', 'name': 'Win7'} [2012-03-20 14:14:31 2555] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/5/0'} to /local/domain/5/device/console/0. [2012-03-20 14:14:31 2555] DEBUG (DevController:97) DevController: writing {'domain': 'Win7', 'frontend': '/local/domain/5/device/console/0', 'uuid': 'f0acff9a-7c5c-4e73-c131-bf96b930393e', 'frontend-id': '5', 'state': '1', 'location': '3', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/5/0. [2012-03-20 14:14:31 2555] DEBUG (XendDomainInfo:1891) XendDomainInfo.handleShutdownWatch [2012-03-20 14:14:31 2555] DEBUG (DevController:139) Waiting for devices vif2. [2012-03-20 14:14:31 2555] DEBUG (DevController:139) Waiting for devices vif. [2012-03-20 14:14:31 2555] DEBUG (DevController:144) Waiting for 0. [2012-03-20 14:14:31 2555] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vif/5/0/hotplug-status. [2012-03-20 14:14:31 2555] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vif/5/0/hotplug-status. [2012-03-20 14:14:31 2555] DEBUG (DevController:642) hotplugStatusCallback 1. [2012-03-20 14:14:31 2555] DEBUG (DevController:139) Waiting for devices vscsi. [2012-03-20 14:14:31 2555] DEBUG (DevController:139) Waiting for devices vbd. [2012-03-20 14:14:31 2555] DEBUG (DevController:144) Waiting for 768. [2012-03-20 14:14:31 2555] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vbd/5/768/hotplug-status. [2012-03-20 14:14:31 2555] DEBUG (DevController:642) hotplugStatusCallback 1. [2012-03-20 14:14:31 2555] DEBUG (DevController:139) Waiting for devices ioports. [2012-03-20 14:14:31 2555] DEBUG (DevController:139) Waiting for devices irq. [2012-03-20 14:14:31 2555] DEBUG (DevController:139) Waiting for devices vkbd. [2012-03-20 14:14:31 2555] DEBUG (DevController:139) Waiting for devices vfb. [2012-03-20 14:14:31 2555] DEBUG (DevController:139) Waiting for devices console. [2012-03-20 14:14:31 2555] DEBUG (DevController:144) Waiting for 0. [2012-03-20 14:14:31 2555] DEBUG (DevController:139) Waiting for devices pci. [2012-03-20 14:14:31 2555] DEBUG (DevController:139) Waiting for devices tap2. [2012-03-20 14:14:31 2555] DEBUG (DevController:139) Waiting for devices tap. [2012-03-20 14:14:31 2555] DEBUG (DevController:139) Waiting for devices vusb. [2012-03-20 14:14:31 2555] DEBUG (DevController:139) Waiting for devices vtpm. [2012-03-20 14:14:31 2555] INFO (XendDomain:1206) Domain Win7 (5) unpaused. [2012-03-20 14:17:33 2555] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: domid=5 [2012-03-20 14:17:36 2555] DEBUG (XendDomainInfo:2411) Destroying device model [2012-03-20 14:17:36 2555] INFO (image:615) Win7 device model terminated [2012-03-20 14:17:36 2555] DEBUG (XendDomainInfo:2418) Releasing devices [2012-03-20 14:17:36 2555] DEBUG (XendDomainInfo:2424) Removing vif/0 [2012-03-20 14:17:36 2555] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0 [2012-03-20 14:17:36 2555] DEBUG (XendDomainInfo:2424) Removing vbd/768 [2012-03-20 14:17:36 2555] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768 [2012-03-20 14:17:36 2555] DEBUG (XendDomainInfo:2424) Removing vfb/0 [2012-03-20 14:17:36 2555] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0 [2012-03-20 14:17:36 2555] DEBUG (XendDomainInfo:2424) Removing console/0 [2012-03-20 14:17:36 2555] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0 [2012-03-20 14:17:36 2555] DEBUG (XendDomainInfo:2416) No device model [2012-03-20 14:17:36 2555] DEBUG (XendDomainInfo:2418) Releasing devices [2012-03-20 14:17:36 2555] DEBUG (XendDomainInfo:2424) Removing vif/0 [2012-03-20 14:17:36 2555] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0 [2012-03-20 14:17:36 2555] DEBUG (XendDomainInfo:2424) Removing vbd/768 [2012-03-20 14:17:36 2555] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768 [2012-03-21 16:29:53 2555] DEBUG (SrvServer:76) SrvServer.cleanup() [2012-03-21 16:29:53 2555] DEBUG (XMLRPCServer:241) XMLRPCServer.cleanup() [2012-03-21 16:29:53 2555] DEBUG (XMLRPCServer:241) XMLRPCServer.cleanup() [2012-03-21 16:29:53 2555] DEBUG (XendDomain:632) cleanup_domains [2012-03-21 16:29:53 2554] INFO (SrvDaemon:220) Xend exited with status 0. ----------- _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |