Hi, I''ve got a windows HVM domU however attempts to ''restart'' windows from windows, result in the domU simply being shutdown not restarted. Windows itself is working without a problem, simply that it dosn''t reboot, and the domU has to be restarted, which is a bit of an annoyance. Config file below..... name="windowsxp-2" ostype="windowsxp" uuid="a7052f77-b1e9-d0be-c3fd-f0e5e2b44cad" memory=1024 vcpus=1 on_crash="restart" on_poweroff="destroy" on_reboot="restart" localtime=1 apic=1 acpi=1 builder="hvm" extid=0 device_model="/usr/lib/xen/bin/qemu-dm" kernel="/usr/lib/xen/boot/hvmloader" boot="c" disk=[ ''file:/root/deploy.iso,hda:cdrom,r'', ''phy:/dev/drbd1,hdc,w'', ] vif=[ ''mac=00:01:02:a5:93:0f,model=rtl8139,type=ioemu'', ] stdvga=0 vnc=1 vncunused=1 apic=0 acpi=1 pae=1 usb=1 usbdevice=''tablet'' serial="pty" Thanks Stuart _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Stuart Poulton wrote:> Windows itself is working without a problem, simply that it dosn''t > reboot, and the domU has to be restarted, which is a bit of an > annoyance.Do you have PV drivers running on the Windows guest?> > Config file below..... > > name="windowsxp-2" > ostype="windowsxp" > uuid="a7052f77-b1e9-d0be-c3fd-f0e5e2b44cad" > memory=1024 > vcpus=1 > on_crash="restart" > on_poweroff="destroy" > on_reboot="restart"My guess would be if you don''t have PV drivers that Xen is treating the reboot as a power off and destroying the guest as the config file indicates. I believe you''d need PV drivers to convey the reboot to Xen. Pat -- Patrick O''Rourke porourke@egenera.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Patrick O''Rourke wrote:> Stuart Poulton wrote: > >> Windows itself is working without a problem, simply that it dosn''t >> reboot, and the domU has to be restarted, which is a bit of an >> annoyance. > > Do you have PV drivers running on the Windows guest?I don''t have any drivers in my Windows HVM guest (SBS2K3) and it reboots fine.> >> >> Config file below..... >> >> name="windowsxp-2" >> ostype="windowsxp" >> uuid="a7052f77-b1e9-d0be-c3fd-f0e5e2b44cad" >> memory=1024 >> vcpus=1 >> on_crash="restart" >> on_poweroff="destroy" >> on_reboot="restart" > > My guess would be if you don''t have PV drivers that Xen is treating > the reboot as a power off and destroying the guest as the config file > indicates. I believe you''d need PV drivers to convey the reboot to Xen. > > Pat >I''m using the following settings also: on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Patrick O''Rourke wrote: > > Stuart Poulton wrote: > > > >> Windows itself is working without a problem, simply that it dosn''t > >> reboot, and the domU has to be restarted, which is a bit of an > >> annoyance. > > > > Do you have PV drivers running on the Windows guest? > I don''t have any drivers in my Windows HVM guest (SBS2K3) and itreboots> fine.I''ve seen this behaviour without any PV drivers too. The DomU doesn''t die, it just sits in a ''text mode'' screen with a cursor flashing. I actually had to ''xm destroy'' it and then restart it. I haven''t seen it in a while though... maybe there are some Microsoft hotfixes or service packs that fix it? James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Stuart Poulton wrote:> Hi, > > I''ve got a windows HVM domU however attempts to ''restart'' windows from > windows, result in the domU simply being shutdown not restarted. > > Windows itself is working without a problem, simply that it dosn''t > reboot, and the domU has to be restarted, which is a bit of an > annoyance. > > Config file below..... > > name="windowsxp-2" > ostype="windowsxp" > uuid="a7052f77-b1e9-d0be-c3fd-f0e5e2b44cad" > memory=1024 > vcpus=1 > on_crash="restart" > on_poweroff="destroy" > on_reboot="restart" > localtime=1 > apic=1 > acpi=1 > > builder="hvm" > extid=0 > device_model="/usr/lib/xen/bin/qemu-dm" > kernel="/usr/lib/xen/boot/hvmloader" > boot="c" > disk=[ ''file:/root/deploy.iso,hda:cdrom,r'', ''phy:/dev/drbd1,hdc,w'', ] > vif=[ ''mac=00:01:02:a5:93:0f,model=rtl8139,type=ioemu'', ] > stdvga=0 > vnc=1 > vncunused=1 > apic=0 > acpi=1 > pae=1 > > usb=1 > usbdevice=''tablet'' > > serial="pty" > > Thanks > > Stuart > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >You need to trick the Windows installer into installing the Windows ACPI drivers as described here: http://wiki.xensource.com/xenwiki/HowToXenWindowsOnCentOS5 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
----- Message from scott.xensource@noizyland.net --------- Date: Fri, 11 Apr 2008 22:01:37 +1000 From: Scott McKenzie <scott.xensource@noizyland.net> Reply-To: Scott McKenzie <scott.xensource@noizyland.net> Subject: Re: [Xen-users] Windows Reboot. To: Stuart Poulton <stuart.poulton@astro.le.ac.uk> Cc: xen-users@lists.xensource.com> Stuart Poulton wrote: >> Hi, >> >> I''ve got a windows HVM domU however attempts to ''restart'' windows from >> windows, result in the domU simply being shutdown not restarted. >> >> Windows itself is working without a problem, simply that it dosn''t >> reboot, and the domU has to be restarted, which is a bit of an >> annoyance. >> >> Config file below..... >> >> name="windowsxp-2" >> ostype="windowsxp" >> uuid="a7052f77-b1e9-d0be-c3fd-f0e5e2b44cad" >> memory=1024 >> vcpus=1 >> on_crash="restart" >> on_poweroff="destroy" >> on_reboot="restart" >> localtime=1 >> apic=1 >> acpi=1 >> >> builder="hvm" >> extid=0 >> device_model="/usr/lib/xen/bin/qemu-dm" >> kernel="/usr/lib/xen/boot/hvmloader" >> boot="c" >> disk=[ ''file:/root/deploy.iso,hda:cdrom,r'', ''phy:/dev/drbd1,hdc,w'', ] >> vif=[ ''mac=00:01:02:a5:93:0f,model=rtl8139,type=ioemu'', ] >> stdvga=0 >> vnc=1 >> vncunused=1 >> apic=0 >> acpi=1 >> pae=1 >> >> usb=1 >> usbdevice=''tablet'' >> >> serial="pty" >> >> Thanks >> >> Stuart >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users[1] >> >> > > You need to trick the Windows installer into installing the Windows ACPI > drivers as described here: > http://wiki.xensource.com/xenwiki/HowToXenWindowsOnCentOS5[2] > > > > _______________________________________________Will those instructions work for Xen3.2 as well? Cause I haven''t been very succesful in getting Windows installed on a CentOS 5.1 x64 with Xen 3.2 -- Kind Regards Rudi Ahlers SoftDux CEO Website: http://www.SoftDux.com[3] Support: http://Support.SoftDux.com[4] Links: ------ [1] http://lists.xensource.com/xen-users [2] http://wiki.xensource.com/xenwiki/HowToXenWindowsOnCentOS5 [3] http://www.softdux.com/ [4] http://support.softdux.com/ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users