Search

Language:  
Search for:

Available article translations:

Locking Virtual Machine Operations

APPLIES TO:
  • Parallels Desktop 7 for Mac
  • Parallels Desktop 6 for Mac

Information

Various virtual machine's operations can be manually edited.

Please see this script for disabling snapshot operation as a sample:

Vmdirectoryfile="/Library/Preferences/Parallels/vmdirectorylist.desktop.xml"
  #Locking Snapshots
  string a="<LockedOperationsList dyn lists=\"LockedOperation\"/>"
  string b="<LockedOperationsList dyn lists=\"LockedOperation\">
  <LockedOperation>33</LockedOperation>
  <LockedOperation>34</LockedOperation>
  <LockedOperation>35</LockedOperation> </LockedOperationsList>"
  sed -i -e "s|$string a|$string b|g" $vmdirectoryfile #Locking down
  user string a="<LockedSign>0</LockedSign>"
  string b="<LockedSign>1</LockedSign>"
  sed -i -e "s|$string a|$string b|g" $vmdirectoryfile


And here is a list of operations:
START                                   = 0,
STOP                                    = 1,
PAUSE                                   = 2
RESET                                   = 3,
SUSPEND                                 = 4,
RESUME                                  = 5,
DROPSUSPENDEDSTATE                      = 6,
CLONE                                   = 7,
DELETE                                  = 8,
GET PROBLEM REPORT                        = 9,
GET CONFIG                               = 10,
GET STATISTICS                           = 11,
STATISTICS SUBSCRIPTION                 = 12,
SUBSCRIBETOGUESTSTATISTICS =  STATISTICS SUBSCRIPTION  ,
UNSUBSCRIBEFROMGUESTSTATISTICS   =  STATISTICS SUBSCRIPTION  ,
UNREG                                   = 13,
COMMIT   /* look also  BEGIN EDIT   */    = 14,
EDITING   /* Obsolete. To compatibility only. */ =  COMMIT  ,
DEVICE CONNECT                              = 15,
DEV DISCONNECT                           = 16,
DEV CREATEIMAGE                          = 17,
SEND ANSWER                             = 18,
GET VM INFO                              = 19,
INSTALL TOOLS                           = 20,
INITIATE DEV STATE NOTIFICATIONS        = 21,
UPDATE SECURITY                         = 22,
CANCEL COMPACT                          = 23,
REGISTER                                = 24,
MIGRATE                                 = 25,
START STOP VNC SERVER                        = 26,
GET SUSPENDED SCREEN                    = 27,
PERFSTAT                                = 28,
LOCK                                    = 29,
MIGRATE CANCEL                          =  MIGRATE  ,
RUN COMPRESSOR                          = 31,
CANCEL COMPRESSOR                       = 32,
CREATE SNAPSHOT                         = 33,
SWITCH TO SNAPSHOT                      = 34,
DELETE SNAPSHOT                         = 35,
START EX                                = 36,
UNLOCK                                  = 37,
RESTART GUEST                           = 38,
INSTALL UTILITY                         = 39,
UPDATE TOOLS SECTION                         = 40,
RESTORE                                 = 41,
CREATE BACKUP   /* look also  RESTORE BACKUP   */ = 42,
RESIZE DISK                     = 43,
CREATE                              = 44,
USER PROFILE BEGIN EDIT             = 45,
USER PROFILE COMMIT                = 46,
SERVER PROFILE BEGINEDIT           = 47,
SERVER PROFILE COMMIT              = 48,
GUI VIEW MODE CHANGE                = 49,
BEGIN EDIT   /* look also  COMMIT   */ = 50,
RESTORE BACKUP   /* look also  CREATE BACKUP   */ = 51,
COMPACT                         = 52,
CHANGE SID                      = 53,
RESET UPTIME                    = 54,
INTERNAL CMD                    = 55,
GET VIRT DEV INFO                    = 56,
GET TOOLS INFO                       = 57,
CONVERT DISKS                   = 58,
ENCRYPT OPERATION               = 59,
CHANGE PASSWORD                     =  ENCRYPT OPERATION  ,
ENCRYPT                             =  ENCRYPT OPERATION  ,
DECRYPT                             =  ENCRYPT OPERATION  ,
AUTHORISE                       = 60,
DEV COPY IMAGE                   = 61,
MOUNT                       = 62



b0d2afa3ea1ba6ce10dddf5df618e6f6 1e5db16426987d561060acdf56d947b4 33c4522b6fa9ca8e050f19b889fb58f1 1e0c43ccf6ca78fa6744efc9edbc0659

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No