Here is the config file that I used to initially install the 32-bit version of Windows 7 on 64-bit SLES 11 RC1. However, you should be able to use vm-install to launch the install and select Windows Vista as the OS type. Jason name="windows7-32bit" uuid="b0c975de-ee50-5837-9f21-3da7fdb01565" memory=1024 maxmem=1024 vcpus=2 on_poweroff="destroy" on_reboot="destroy" on_crash="destroy" localtime=1 keymap="en-us" builder="hvm" extid=0 device_model="/usr/lib/xen/bin/qemu-dm" kernel="/usr/lib/xen/boot/hvmloader" boot="d" disk=[ 'file:/var/lib/xen/images/windows7-32bit/disk0,hda,w', 'file:/mnt/isos/windows/7-beta1/Windows-7-beta1-32bit.iso,hdc:cdrom,r', ] vif=[ 'mac=00:16:3e:23:e1:00,bridge=br0,model=rtl8139', ] stdvga=0 vnc=1 vncunused=1 apic=1 acpi=1 pae=1 usb=1 usbdevice='tablet' serial="pty"
On 1/15/2009 at 12:34 PM, in message <3ff72b720901151134m6ac2d700ncedc30bf725ea434@mail.gmail.com>, sc
wrote: I'm trying to get Win7/Beta installed in HVM. I'm using a .cfg patched together from online for older Xen & Win versions on other OS. (Good bet that something's wrong with it)
name = 'win7' kernel = '/usr/lib/xen/boot/hvmloader' builder = 'hvm' disk = [ 'file:/home/xen/win7/win7.img,hda,w', 'phy:/dev/cdrom,hdc:cdrom,r' ] boot = 'dc' vif = [ 'type=ioemu, bridge=br1' ] vfb = [ 'type=vnc, vncdisplay=1, vnclisten=127.0.0.1' ] extra = 'textmode=1 xencons=xvc0' memory = 512 shadow_memory = 8 vcpus = 1 device_model = '/usr/lib64/xen/bin/qemu-dm' netif = 'yes' acpi = 1 apic = 1 stdvga = 0 serial = 'pty' on_shutdown = 'destroy' on_reboot = 'destroy' on_crash = 'destroy'
On exec it starts but gets no further than
xm create -c win7.cfg Using config file "win7.cfg". Started domain win7
VNC from my desktop can't connect at all to the Win VNC server.
Xen log tails don't tell me very much
==> xen-hotplug.log <== Nothing to flush.
==> xend.log <== [2009-01-15 10:48:10 4525] DEBUG (XendDomainInfo:2769) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '8', 'uuid': '7facf44a-5d28-1b81-3a12-a0479879ffe4', 'on_reboot': 'destroy', 'start_time': '1232045290.0', 'on_poweroff': 'destroy', 'on_xend_start': 'ignore', 'on_crash': 'destroy', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'image': "(hvm (kernel ) (args 'textmode=1 xencons=xvc0') (timer_mode 0) (nographic 0) (hpet 0) (rtc_timeoffset 0) (guest_os_type default) (loader /usr/lib/xen/boot/hvmloader) (pci ()) (apic 1) (serial pty) (extid 0) (hap 1) (monitor 0) (device_model /usr/lib64/xen/bin/qemu-dm) (boot dc) (display localhost:10.0) (keymap en-us) (pae 1) (stdvga 0) (usb 0) (xauthority /root/.Xauthority) (isa 0) (acpi 1) (vncunused 1) (localtime 0) (notes (SUSPEND_CANCEL 1)))", 'name': 'win7'} [2009-01-15 10:48:10 4525] DEBUG (XendDomainInfo:1392) Storing domain details: {'console/port': '3', 'name': 'win7', 'console/limit': '1048576', 'store/port': '2', 'vm': '/vm/7facf44a-5d28-1b81-3a12-a0479879ffe4', 'domid': '15', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'memory/target': '524288', 'control/platform-feature-multiprocessor-suspend': '1', 'store/ring-ref': '131069', 'console/type': 'ioemu'} [2009-01-15 10:48:10 4525] DEBUG (DevController:122) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/15/0'} to /local/domain/15/device/console/0. [2009-01-15 10:48:10 4525] DEBUG (DevController:124) DevController: writing {'domain': 'win7', 'frontend': '/local/domain/15/device/console/0', 'uuid': '0241eb7f-6ae8-8cb9-9b63-8e88ef34e333', 'frontend-id': '15', 'state': '1', 'location': '3', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/15/0. [2009-01-15 10:48:14 4525] DEBUG (DevController:166) Waiting for devices vif. [2009-01-15 10:48:14 4525] DEBUG (DevController:171) Waiting for 0. [2009-01-15 10:48:14 4525] DEBUG (XendDomainInfo:1476) XendDomainInfo.handleShutdownWatch [2009-01-15 10:48:14 4525] DEBUG (DevController:681) hotplugStatusCallback /local/domain/0/backend/vif/15/0/hotplug-status. [2009-01-15 10:48:14 4525] DEBUG (DevController:695) hotplugStatusCallback 1. [2009-01-15 10:48:14 4525] DEBUG (DevController:166) Waiting for devices vkbd. [2009-01-15 10:48:14 4525] DEBUG (DevController:166) Waiting for devices ioports. [2009-01-15 10:48:14 4525] DEBUG (DevController:166) Waiting for devices tap. [2009-01-15 10:48:14 4525] DEBUG (DevController:166) Waiting for devices console. [2009-01-15 10:48:14 4525] DEBUG (DevController:171) Waiting for 0. [2009-01-15 10:48:14 4525] DEBUG (DevController:166) Waiting for devices vscsi. [2009-01-15 10:48:14 4525] DEBUG (DevController:166) Waiting for devices vbd. [2009-01-15 10:48:14 4525] DEBUG (DevController:171) Waiting for 768. [2009-01-15 10:48:14 4525] DEBUG (DevController:681) hotplugStatusCallback /local/domain/0/backend/vbd/15/768/hotplug-status. [2009-01-15 10:48:14 4525] DEBUG (DevController:695) hotplugStatusCallback 1. [2009-01-15 10:48:14 4525] DEBUG (DevController:171) Waiting for 5632. [2009-01-15 10:48:14 4525] DEBUG (DevController:681) hotplugStatusCallback /local/domain/0/backend/vbd/15/5632/hotplug-status. [2009-01-15 10:48:14 4525] DEBUG (DevController:695) hotplugStatusCallback 1. [2009-01-15 10:48:14 4525] DEBUG (DevController:166) Waiting for devices irq. [2009-01-15 10:48:14 4525] DEBUG (DevController:166) Waiting for devices vfb. [2009-01-15 10:48:14 4525] DEBUG (DevController:166) Waiting for devices pci. [2009-01-15 10:48:14 4525] DEBUG (DevController:166) Waiting for devices vtpm. [2009-01-15 10:48:14 4525] INFO (XendDomain:1175) Domain win7 (15) unpaused.
Anyone have any suggestions as to what's wrong with my cfg above, or better yet a working cfg?
-sc
-- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-virtual+help@opensuse.org