WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Xen GPL PV Drivers, Windows 2003 unplanned shutdown
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: netz-haut e.K.
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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