Is there a way to get Windows to do an orderly shutdown (eg simulate a power button press) using the ''xm shutdown'' command? Thanks James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Look into that was well: http://forums.xensource.com/thread.jspa?messageID=2225 Seems to be a 3.2 feature.> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > James Harper > Sent: Sunday, May 27, 2007 1:17 PM > To: xen-users@lists.xensource.com > Subject: [Xen-users] Windows HVM - orderly shutdown > > Is there a way to get Windows to do an orderly shutdown (eg simulate a > power button press) using the ''xm shutdown'' command? > > Thanks > > James > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Schober Walter > Sent: 04 June 2007 12:14 > To: xen-users@lists.xensource.com > Cc: James Harper > Subject: RE: [Xen-users] Windows HVM - orderly shutdown > > Look into that was well: > http://forums.xensource.com/thread.jspa?messageID=2225 > Seems to be a 3.2 feature.That''s "Xen''s commercial product" version 3.2, which uses a different version of Xen source-code than the general 3.x releases. So don''t confuse 3.1.0 of Xen with the commercial 3.2 product - they don''t use the same version numbering system. I''m not sure if there is a comparable feature in the Xen sources - it may require a para-virtual driver that is part of the Xen commercial product. -- Mats> > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > James Harper > > Sent: Sunday, May 27, 2007 1:17 PM > > To: xen-users@lists.xensource.com > > Subject: [Xen-users] Windows HVM - orderly shutdown > > > > Is there a way to get Windows to do an orderly shutdown (eg > simulate a > > power button press) using the ''xm shutdown'' command? > > > > Thanks > > > > James > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Maybe another method would do just fine, if we would have something like xm exec <vid> <command> I will look into the sysrq thing a little bit more... at least for my linux guests.> -----Original Message----- > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > Sent: Monday, June 04, 2007 1:32 PM > To: Schober Walter; xen-users@lists.xensource.com > Cc: James Harper > Subject: RE: [Xen-users] Windows HVM - orderly shutdown > > > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > Schober Walter > > Sent: 04 June 2007 12:14 > > To: xen-users@lists.xensource.com > > Cc: James Harper > > Subject: RE: [Xen-users] Windows HVM - orderly shutdown > > > > Look into that was well: > > http://forums.xensource.com/thread.jspa?messageID=2225 > > Seems to be a 3.2 feature. > > That''s "Xen''s commercial product" version 3.2, which uses a different > version of Xen source-code than the general 3.x releases. So don''t > confuse 3.1.0 of Xen with the commercial 3.2 product - they don''t use > the same version numbering system. > > I''m not sure if there is a comparable feature in the Xen sources - it > may require a para-virtual driver that is part of the Xen commercial > product. > > -- > Mats > > > > > -----Original Message----- > > > From: xen-users-bounces@lists.xensource.com > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > > James Harper > > > Sent: Sunday, May 27, 2007 1:17 PM > > > To: xen-users@lists.xensource.com > > > Subject: [Xen-users] Windows HVM - orderly shutdown > > > > > > Is there a way to get Windows to do an orderly shutdown (eg > > simulate a > > > power button press) using the ''xm shutdown'' command? > > > > > > Thanks > > > > > > James > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > That''s "Xen''s commercial product" version 3.2, which uses a different > version of Xen source-code than the general 3.x releases. So don''t > confuse 3.1.0 of Xen with the commercial 3.2 product - they don''t use > the same version numbering system. > > I''m not sure if there is a comparable feature in the Xen sources - it > may require a para-virtual driver that is part of the Xen commercial > product. >How well is ACPI supported in the xen source 3.1.0 tree? I wonder what would be involved in sending a virtual ''power button press'' event into a HVM? James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Jun 04, 2007 at 01:32:15PM +0200, Petersson, Mats wrote:> > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > Schober Walter > > Sent: 04 June 2007 12:14 > > To: xen-users@lists.xensource.com > > Cc: James Harper > > Subject: RE: [Xen-users] Windows HVM - orderly shutdown > > > > Look into that was well: > > http://forums.xensource.com/thread.jspa?messageID=2225 > > Seems to be a 3.2 feature. > > That''s "Xen''s commercial product" version 3.2, which uses a different > version of Xen source-code than the general 3.x releases. So don''t > confuse 3.1.0 of Xen with the commercial 3.2 product - they don''t use > the same version numbering system. > > I''m not sure if there is a comparable feature in the Xen sources - it > may require a para-virtual driver that is part of the Xen commercial > product.Yes, it will require a paravirt driver in the guest. Since we''re talking windows here, there''s no open source pv drivers available anywhere :-( Basically the driver will just need to monitor the appropriate node in xenstore to see when XenD marks it as wanting to shutdown. Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > On Mon, Jun 04, 2007 at 01:32:15PM +0200, Petersson, Mats wrote: > > > > > > > -----Original Message----- > > > From: xen-users-bounces@lists.xensource.com > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > > Schober Walter > > > Sent: 04 June 2007 12:14 > > > To: xen-users@lists.xensource.com > > > Cc: James Harper > > > Subject: RE: [Xen-users] Windows HVM - orderly shutdown > > > > > > Look into that was well: > > > http://forums.xensource.com/thread.jspa?messageID=2225 > > > Seems to be a 3.2 feature. > > > > That''s "Xen''s commercial product" version 3.2, which uses adifferent> > version of Xen source-code than the general 3.x releases. So don''t > > confuse 3.1.0 of Xen with the commercial 3.2 product - they don''tuse> > the same version numbering system. > > > > I''m not sure if there is a comparable feature in the Xen sources -it> > may require a para-virtual driver that is part of the Xen commercial > > product. > > Yes, it will require a paravirt driver in the guest. Since we''retalking> windows here, there''s no open source pv drivers available anywhere :-( > Basically the driver will just need to monitor the appropriate node in > xenstore to see when XenD marks it as wanting to shutdown. >Couldn''t Xen just trigger a fake power button press via ACPI? Windows already has drivers for that. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: James Harper [mailto:james.harper@bendigoit.com.au] > Sent: 05 June 2007 13:32 > To: Daniel P. Berrange; Petersson, Mats > Cc: Schober Walter; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Windows HVM - orderly shutdown > > > > > On Mon, Jun 04, 2007 at 01:32:15PM +0200, Petersson, Mats wrote: > > > > > > > > > > -----Original Message----- > > > > From: xen-users-bounces@lists.xensource.com > > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > > > Schober Walter > > > > Sent: 04 June 2007 12:14 > > > > To: xen-users@lists.xensource.com > > > > Cc: James Harper > > > > Subject: RE: [Xen-users] Windows HVM - orderly shutdown > > > > > > > > Look into that was well: > > > > http://forums.xensource.com/thread.jspa?messageID=2225 > > > > Seems to be a 3.2 feature. > > > > > > That''s "Xen''s commercial product" version 3.2, which uses a > different > > > version of Xen source-code than the general 3.x releases. So don''t > > > confuse 3.1.0 of Xen with the commercial 3.2 product - they don''t > use > > > the same version numbering system. > > > > > > I''m not sure if there is a comparable feature in the Xen sources - > it > > > may require a para-virtual driver that is part of the Xen > commercial > > > product. > > > > Yes, it will require a paravirt driver in the guest. Since we''re > talking > > windows here, there''s no open source pv drivers available > anywhere :-( > > Basically the driver will just need to monitor the > appropriate node in > > xenstore to see when XenD marks it as wanting to shutdown. > > > > Couldn''t Xen just trigger a fake power button press via ACPI? Windows > already has drivers for that.Yes, if someone implements the interface from the XenStore/XenBus to QEMU-DM and then from there to the guest. It''s much easier to have a PV driver that listens to XenBus, I think.> > James > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Jun 05, 2007 at 10:31:43PM +1000, James Harper wrote:> > > > On Mon, Jun 04, 2007 at 01:32:15PM +0200, Petersson, Mats wrote: > > > > > > > > > > -----Original Message----- > > > > From: xen-users-bounces@lists.xensource.com > > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > > > Schober Walter > > > > Sent: 04 June 2007 12:14 > > > > To: xen-users@lists.xensource.com > > > > Cc: James Harper > > > > Subject: RE: [Xen-users] Windows HVM - orderly shutdown > > > > > > > > Look into that was well: > > > > http://forums.xensource.com/thread.jspa?messageID=2225 > > > > Seems to be a 3.2 feature. > > > > > > That''s "Xen''s commercial product" version 3.2, which uses a > different > > > version of Xen source-code than the general 3.x releases. So don''t > > > confuse 3.1.0 of Xen with the commercial 3.2 product - they don''t > use > > > the same version numbering system. > > > > > > I''m not sure if there is a comparable feature in the Xen sources - > it > > > may require a para-virtual driver that is part of the Xen commercial > > > product. > > > > Yes, it will require a paravirt driver in the guest. Since we''re > talking > > windows here, there''s no open source pv drivers available anywhere :-( > > Basically the driver will just need to monitor the appropriate node in > > xenstore to see when XenD marks it as wanting to shutdown. > > > > Couldn''t Xen just trigger a fake power button press via ACPI? Windows > already has drivers for that.Sure it could. Patches welcomed ;-) Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
suggetion: USV powerfail() variants overview: Linux Win98 WinXP W2kS BSD Solaris internal + - - - + + xm exec ... o + + + o o powerfail + supported - n/a o supported, not recommended - Exist a sample for "xm exec"? - Exist a sample for "powerfail"? regards Torsten launoc _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users