File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,13 @@ package vz
11
11
import "C"
12
12
import "github.com/Code-Hex/vz/v3/internal/objc"
13
13
14
+ // ValidateSaveRestoreSupport Determines whether the framework can save or restore the VM’s current configuration.
15
+ //
16
+ // Verify that a virtual machine with this configuration is savable.
17
+ // Not all configuration options can be safely saved and restored from file.
18
+ //
19
+ // If this evaluates to false, the caller should expect future calls to `(*VirtualMachine).SaveMachineStateToPath` to fail.
20
+ // error If not nil, assigned with an error describing the unsupported configuration option.
14
21
func (v * VirtualMachineConfiguration ) ValidateSaveRestoreSupport () (bool , error ) {
15
22
nserrPtr := newNSErrorAsNil ()
16
23
ret := C .validateSaveRestoreSupportWithError (objc .Ptr (v ), & nserrPtr )
You can’t perform that action at this time.
0 commit comments