Changeset 59911 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Mar 3, 2016 4:07:14 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 105828
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
r59031 r59911 1759 1759 { 1760 1760 /* Power down after a fFatal error: */ 1761 LogRel(("GUI: Powering VM down after a fatal runtime error...\n")); 1761 1762 console1.PowerDown(); 1762 1763 } -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r59506 r59911 400 400 /* Save-state: */ 401 401 if (fSuccess) 402 { 403 LogRel(("GUI: Passing request to save VM state from machine-logic to UI session.\n")); 402 404 fSuccess = uisession()->saveState(); 405 } 403 406 404 407 /* Disable 'manual-override' finally: */ … … 430 433 /* Power-off: */ 431 434 bool fServerCrashed = false; 435 LogRel(("GUI: Passing request to power VM off from machine-logic to UI session.\n")); 432 436 fSuccess = uisession()->powerOff(fDiscardingState, fServerCrashed) || fServerCrashed; 433 437 … … 464 468 465 469 /* Asynchronously ask UISession to close Runtime UI: */ 470 LogRel(("GUI: Passing request to close Runtime UI from machine-logic to UI session.\n")); 466 471 QMetaObject::invokeMethod(uisession(), "sltCloseRuntimeUI", Qt::QueuedConnection); 467 472 } … … 492 497 493 498 /* Power VM off: */ 499 LogRel(("GUI: Request to power VM off due to VBoxSVC is unavailable.\n")); 494 500 powerOff(false); 495 501 } … … 546 552 { 547 553 if (msgCenter().remindAboutGuruMeditation(QDir::toNativeSeparators(strLogFolder))) 554 { 555 LogRel(("GUI: User request to power VM off on Guru Meditation.\n")); 548 556 powerOff(false /* do NOT restore current snapshot */); 557 } 549 558 break; 550 559 } … … 552 561 case GuruMeditationHandlerType_PowerOff: 553 562 { 563 LogRel(("GUI: Automatic request to power VM off on Guru Meditation.\n")); 554 564 powerOff(false /* do NOT restore current snapshot */); 555 565 break; … … 618 628 } 619 629 630 LogRel(("GUI: Request to close Runtime UI because VM is powered off already.\n")); 620 631 closeRuntimeUI(); 621 632 return; … … 1586 1597 } 1587 1598 1599 LogRel(("GUI: User request to power VM off.\n")); 1588 1600 powerOff(machine().GetSnapshotCount() > 0); 1589 1601 } … … 1616 1628 1617 1629 /* Try to close active machine-window: */ 1630 LogRel(("GUI: Request to close active machine-window.\n")); 1618 1631 activeMachineWindow()->close(); 1619 1632 } … … 2619 2632 2620 2633 /* Propose the user to close VM: */ 2634 LogRel(("GUI: Request to close Runtime UI due to DEK was not provided.\n")); 2621 2635 QMetaObject::invokeMethod(this, "sltClose", Qt::QueuedConnection); 2622 2636 } -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineWindow.cpp
r59819 r59911 420 420 { 421 421 /* Just close Runtime UI: */ 422 LogRel(("GUI: Request for close-action to detach GUI.\n")); 422 423 machineLogic()->closeRuntimeUI(); 423 424 break; … … 426 427 { 427 428 /* Save VM state: */ 429 LogRel(("GUI: Request for close-action to save VM state.\n")); 428 430 machineLogic()->saveState(); 429 431 break; … … 432 434 { 433 435 /* Shutdown VM: */ 436 LogRel(("GUI: Request for close-action to shutdown VM.\n")); 434 437 machineLogic()->shutdown(); 435 438 break; … … 439 442 { 440 443 /* Power VM off: */ 444 LogRel(("GUI: Request for close-action to power VM off.\n")); 441 445 machineLogic()->powerOff(closeAction == MachineCloseAction_PowerOff_RestoringSnapshot); 442 446 break; -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r59889 r59911 371 371 { 372 372 /* Prepare the power-off progress: */ 373 LogRel(("GUI: Powering VM down on UI session power off request...\n")); 373 374 CProgress progress = console().PowerDown(); 374 375 if (console().isOk()) … … 1918 1919 /* Power off VM: */ 1919 1920 bool fServerCrashed = false; 1921 LogRel(("GUI: Aborting startup due to postprocess initialization issue detected...\n")); 1920 1922 powerOff(false, fServerCrashed); 1921 LogRel(("GUI: Aborting startup due to postprocess initialization issue detected...\n"));1922 1923 return false; 1923 1924 }
Note:
See TracChangeset
for help on using the changeset viewer.