func (v *VM) VmxPath() (string, error) {
	var err C.VixError = C.VIX_OK
	var path *C.char

	err = C.get_property(v.handle,
		C.VIX_PROPERTY_VM_VMX_PATHNAME,
		unsafe.Pointer(&path))

	defer C.Vix_FreeBuffer(unsafe.Pointer(path))

	if C.VIX_OK != err {
		return "", &Error{
			Operation: "vm.VmxPath",
			Code:      int(err & 0xFFFF),
			Text:      C.GoString(C.Vix_GetErrorText(err, nil)),
		}
	}

	return C.GoString(path), nil
}
func (v *VM) VmxPath() (string, error) {
	var err C.VixError = C.VIX_OK
	var path *C.char

	err = C.get_property(v.handle,
		C.VIX_PROPERTY_VM_VMX_PATHNAME,
		unsafe.Pointer(&path))

	defer C.Vix_FreeBuffer(unsafe.Pointer(path))

	if C.VIX_OK != err {
		return "", &Error{
			Operation: "vm.VmxPath",
			Code:      int(err & 0xFFFF),
			Text:      C.GoString(C.Vix_GetErrorText(err, nil)),
		}
	}

	return C.GoString(path), nil
}
// VmxPath returns path to the virtual machine configuration file.