vm.go
func (v *VM) GuestOS() (string, error) {
	var err C.VixError = C.VIX_OK
	var os *C.char

	err = C.get_property(v.handle,
		C.VIX_PROPERTY_VM_GUESTOS,
		unsafe.Pointer(&os))

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

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

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

	err = C.get_property(v.handle,
		C.VIX_PROPERTY_VM_GUESTOS,
		unsafe.Pointer(&os))

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

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

	return C.GoString(os), nil
}
// GuestOS returns the guest os.