VirtualBox

Changeset 2543 in vbox for trunk/src/VBox/Devices/PC


Ignore:
Timestamp:
May 8, 2007 4:18:21 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
20985
Message:

Fixed boch shutdown (write 'Shutdown' to 9800h).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevPcBios.cpp

    r1735 r2543  
    543543            if (pData->iShutdown == 8)
    544544            {
    545 #if 0
    546                 PVM pVM = PDMDevHlpGetVM(pDevIns);
    547                 AssertRelease(pVM);
    548                 VM_FF_SET(pVM, VM_FF_TERMINATE);
    549 #endif
    550545                pData->iShutdown = 0;
    551                 return VINF_EM_TERMINATE;
     546                LogRel(("8900h shutdown request.\n"));
     547                return PDMDevHlpVMPowerOff(pDevIns);
    552548            }
    553549        }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette