[opensuse-virtual] Anyone have a working .cfg for Win7, 64bit in OS11.1/Xen3.3.1 HVM DomU?
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
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 <scrash095124367913213465+1@gmail.com> 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
Jason, On Fri, Jan 16, 2009 at 4:37 PM, Jason Douglas <jdouglas@novell.com> wrote: ... This should be a good start! I'll monkey with it later tonite. Couple of questions 1st. I hadn't come across any of these yet:
uuid="b0c975de-ee50-5837-9f21-3da7fdb01565" extid=0 vif=[ ... model=rtl8139' ... ]
I'll read up, but are these general Xen requirements, or something specific to the Windows install? And for this,
pae=1
Do I need to zypper-install any of the *pae* packages in my Dom0? Thanks. -sc -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-virtual+help@opensuse.org
On 1/16/2009 at 6:28 PM, in message <3ff72b720901161728p25b2df15t90dee374dc864771@mail.gmail.com>, sc <scrash095124367913213465+1@gmail.com> wrote: Jason,
On Fri, Jan 16, 2009 at 4:37 PM, Jason Douglas <jdouglas@novell.com> wrote: ...
This should be a good start! I'll monkey with it later tonite.
Couple of questions 1st.
I hadn't come across any of these yet:
uuid="b0c975de-ee50-5837-9f21-3da7fdb01565" extid=0 vif=[ ... model=rtl8139' ... ]
I'll read up, but are these general Xen requirements, or something specific to the Windows install?
The uuid is an optional config file setting. If it is not specified, xen will automatically generate a new uuid each time the VM starts. The extid option is there to enable the Hyper-V adapter that was created by Novell. It allows Windows Server 2008 to use its virtualization optimizations by translating the Hyper-V hypercalls (imbedded in Win2k8) into XEN hypercalls. In this case, I have the adapter disabled. The model=rtl8139 tells the device model to emulate a Realtek 8139 network card. If a model is not specified, the device model will default to that card anyway, so it is not needed in this case. However, there are other devices that are valid depending on the version of xen that is being run (e100, e1000, etc.)
And for this,
pae=1
Do I need to zypper-install any of the *pae* packages in my Dom0?
No need to install anything else. This is telling the device model to emulate pae within the guest. Jason -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-virtual+help@opensuse.org
Jason, On Tue, Jan 20, 2009 at 8:26 AM, Jason Douglas <jdouglas@novell.com> wrote:
The uuid is ... The extid option is ... The model=rtl8139 tells ...
thanks for clarifying.
pae=1
Do I need to zypper-install any of the *pae* packages in my Dom0?
No need to install anything else. This is telling the device model to emulate pae within the guest.
thanks. p.s. just a related fyi, i'm trying to install the 64-bit guest. so, iiuc, i'd use 'pae=0', and depend on the AMD-V (smv) kernel extension ... which, i believe is missing for kernel-xen: "Bug 467177 - amd-v (svm) support missing from OS 11.1 X86_64 (in /proc/cpuinfo) for supported CPU" https://bugzilla.novell.com/show_bug.cgi?id=467177 waiting to learn more there ... thanks again. -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-virtual+help@opensuse.org
participants (3)
-
Jason Douglas
-
PGNet
-
sc