[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen GPL PV Drivers, Windows 2003 unplanned shutdown


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "netz-haut - stephan seitz" <s.seitz@xxxxxxxxxxxx>
  • Date: Mon, 21 Jul 2008 12:15:00 +0200
  • Date: Mon, 21 Jul 2008 12:15:00 +0200
  • Cc: James Harper <james.harper@xxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 21 Jul 2008 03:14:49 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcjrGoUD99mp6cHFQ+2HKigOZerYag==
  • Thread-topic: [Xen-users] Xen GPL PV Drivers, Windows 2003 unplanned shutdown

Hi,

even if I'm happy with the current behaviour, I did a look into a
recently cloned ShutdownMon/Program.cs

To mark a shutdown "planned", it should be sufficient to declare

ShutdownReason dwReason = SHTDN_REASON_FLAG_PLANNED;

I'm not really deep into MS C#, but Shutdownreason is already
enumerated. Just wondering if there are no pre-declared constants
available...


reference: http://msdn.microsoft.com/en-us/library/aa376885(VS.85).aspx

cheers,

Stephan



Am Montag, den 21.07.2008, 09:26 +0100 schrieb Andy Burns:
> On 21/07/2008 08:08, Gregory Orange wrote:
> 
> > When I either xm reboot or xm shutdown and subsequently restart the 
> > virtual machine, at first login I get this dialogue:
> > The system has restarted after an unplanned shutdown.
> 
> It's the shutdown tracker
> http://technet2.microsoft.com/windowsserver/en/library/f411d38f-f139-49fa-9d6f-18befa5cb1651033.mspx
>  
> 
> 
> You can disable it
> http://support.microsoft.com/kb/293814
> 
> I suppose it might be nice if eventually the GPLPV shutdown monitor 
> server could mark them as "planned",or even added a custom "xen reboot" 
> reason as shown in the KB article.
> 
> Sounds like it might be a nice easy little patch ...
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
-- 
Stephan Seitz
Senior System Administrator

*netz-haut* e.K.
multimediale kommunikation

zweierweg 22
97074 wÃrzburg

fon: +49 931 2876247
fax: +49 931 2876248

web: www.netz-haut.de <http://www.netz-haut.de/>

registriergericht: amtsgericht wÃrzburg, hra 5054

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.