Changeset 43909 in vbox
- Timestamp:
- Nov 19, 2012 10:00:02 AM (12 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxAutostart
- Files:
-
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxAutostart/Makefile.kmk
r42527 r43909 1 1 # $Id$ 2 2 ## @file 3 # VBox BalloonCtrl - Memory balloon control.3 # VBoxAutostart - VM autostart service. 4 4 # 5 5 6 6 # 7 # Copyright (C) 201 1-2012 Oracle Corporation7 # Copyright (C) 2012 Oracle Corporation 8 8 # 9 9 # This file is part of VirtualBox Open Source Edition (OSE), as … … 19 19 include $(KBUILD_PATH)/subheader.kmk 20 20 21 PROGRAMS += VBoxAutostart 21 ifeq ($(KBUILD_TARGET),win) 22 # PROGRAMS += VBoxAutostartSvc 23 # VBoxAutostart_TEMPLATE = VBOXMAINCLIENTEXE 24 # VBoxAutostart_SOURCES = \ 25 # VBoxAutostartStart.cpp \ 26 # VBoxAutostartStop.cpp \ 27 # VBoxAutostartUtils.cpp \ 28 # VBoxAutostart-win.cpp 29 else 30 PROGRAMS += VBoxAutostart 22 31 VBoxAutostart_TEMPLATE = VBOXMAINCLIENTEXE 23 32 VBoxAutostart_SOURCES = \ 24 VBoxAutostart.cpp \25 33 VBoxAutostartCfg.cpp \ 26 34 VBoxAutostartStart.cpp \ 27 VBoxAutostartStop.cpp 35 VBoxAutostartStop.cpp \ 36 VBoxAutostartUtils.cpp \ 37 VBoxAutostart-posix.cpp 38 endif 28 39 29 40 include $(FILE_KBUILD_SUB_FOOTER) -
trunk/src/VBox/Frontends/VBoxAutostart/VBoxAutostart-posix.cpp
r43887 r43909 243 243 } 244 244 245 DECLHIDDEN(const char *) machineStateToName(MachineState_T machineState, bool fShort)246 {247 switch (machineState)248 {249 case MachineState_PoweredOff:250 return fShort ? "poweroff" : "powered off";251 case MachineState_Saved:252 return "saved";253 case MachineState_Aborted:254 return "aborted";255 case MachineState_Teleported:256 return "teleported";257 case MachineState_Running:258 return "running";259 case MachineState_Paused:260 return "paused";261 case MachineState_Stuck:262 return fShort ? "gurumeditation" : "guru meditation";263 case MachineState_LiveSnapshotting:264 return fShort ? "livesnapshotting" : "live snapshotting";265 case MachineState_Teleporting:266 return "teleporting";267 case MachineState_Starting:268 return "starting";269 case MachineState_Stopping:270 return "stopping";271 case MachineState_Saving:272 return "saving";273 case MachineState_Restoring:274 return "restoring";275 case MachineState_TeleportingPausedVM:276 return fShort ? "teleportingpausedvm" : "teleporting paused vm";277 case MachineState_TeleportingIn:278 return fShort ? "teleportingin" : "teleporting (incoming)";279 case MachineState_RestoringSnapshot:280 return fShort ? "restoringsnapshot" : "restoring snapshot";281 case MachineState_DeletingSnapshot:282 return fShort ? "deletingsnapshot" : "deleting snapshot";283 case MachineState_DeletingSnapshotOnline:284 return fShort ? "deletingsnapshotlive" : "deleting snapshot live";285 case MachineState_DeletingSnapshotPaused:286 return fShort ? "deletingsnapshotlivepaused" : "deleting snapshot live paused";287 case MachineState_SettingUp:288 return fShort ? "settingup" : "setting up";289 default:290 break;291 }292 return "unknown";293 }294 295 245 DECLHIDDEN(void) serviceLog(const char *pszFormat, ...) 296 246 { -
trunk/src/VBox/Frontends/VBoxAutostart/VBoxAutostartStop.cpp
r43656 r43909 196 196 case AutostopType_AcpiShutdown: 197 197 { 198 /** @todo: Wait for VM to change to powered off state. */199 198 BOOL fGuestEnteredACPI = false; 200 199 CHECK_ERROR_BREAK(console, GetGuestEnteredACPIMode(&fGuestEnteredACPI));
Note:
See TracChangeset
for help on using the changeset viewer.