Home
last modified time | relevance | path

Searched refs:GetLastError (Results 1 – 23 of 23) sorted by relevance

/openbmc/qemu/qga/
H A Dcommands-win32.c123 char *suffix = g_win32_error_message(GetLastError()); \
230 error_setg_win32(errp, GetLastError(), "failed to open file '%s'", in qmp_guest_file_open()
264 error_setg_win32(errp, GetLastError(), "failed close handle"); in qmp_guest_file_close()
340 g_autofree gchar *emsg = g_win32_error_message(GetLastError()); in qmp_guest_shutdown()
342 error_setg_win32(errp, GetLastError(), "guest-shutdown failed"); in qmp_guest_shutdown()
358 error_setg_win32(errp, GetLastError(), "failed to read file"); in guest_file_read_unsafe()
405 error_setg_win32(errp, GetLastError(), "failed to write to file"); in qmp_guest_file_write()
445 error_setg_win32(errp, GetLastError(), "failed to seek file"); in qmp_guest_file_seek()
463 error_setg_win32(errp, GetLastError(), "failed to flush file"); in qmp_guest_file_flush()
611 error_setg_win32(errp, GetLastError(), "failed to get devices tree"); in get_pci_info()
[all …]
H A Dcommands-windows-ssh.c118 error_setg_win32(errp, GetLastError(), in get_ssh_folder()
147 error_setg_win32(errp, GetLastError(), "failed to retrieve user %s SID", in create_acl_user()
174 error_setg_win32(errp, GetLastError(), in create_acl_user()
209 error_setg_win32(errp, GetLastError(), "failed to retrieve system SID"); in create_acl_base()
225 error_setg_win32(errp, GetLastError(), "failed to retrieve Admin SID"); in create_acl_base()
252 error_setg_win32(errp, GetLastError(), in create_acl_base()
336 error_setg_win32(errp, GetLastError(), in create_ssh_directory()
343 error_setg_win32(errp, GetLastError(), in create_ssh_directory()
357 error_setg_win32(errp, GetLastError(), "failed to create directory %s", in create_ssh_directory()
390 error_setg_win32(errp, GetLastError(), "failed to retrieve user %s SID", in set_file_permissions()
[all …]
H A Dvss-win32.c36 FORMAT_MESSAGE_FROM_SYSTEM, NULL, GetLastError(), in call_vss_provider_func()
62 GetLastError()); in vss_check_os_version()
88 FORMAT_MESSAGE_FROM_SYSTEM, NULL, GetLastError(), in vss_init()
163 error_setg_win32(errp, GetLastError(), "failed to load %s from %s", in qga_vss_fsfreeze()
H A Dchannel-win32.c71 if (GetLastError() == ERROR_IO_PENDING) { in ga_channel_prepare()
121 error = GetLastError(); in ga_channel_check()
235 if (GetLastError() == ERROR_IO_PENDING) { in ga_channel_write()
239 if (!GetLastError()) { in ga_channel_write()
305 g_autofree gchar *emsg = g_win32_error_message(GetLastError()); in ga_channel_open()
312 g_autofree gchar *emsg = g_win32_error_message(GetLastError()); in ga_channel_open()
H A Dservice-win32.c19 DWORD err = GetLastError(); in printf_win_error()
H A Dmain.c767 ret = GetLastError(); in handle_serial_device_events()
776 ret = GetLastError(); in handle_serial_device_events()
1407 g_autofree gchar *errmsg = g_win32_error_message(GetLastError()); in initialize_agent()
/openbmc/qemu/crypto/
H A Drandom-platform.c42 error_setg_win32(errp, GetLastError(), in qcrypto_random_init()
73 error_setg_win32(errp, GetLastError(), in qcrypto_random_bytes()
/openbmc/qemu/block/
H A Dfile-win32.c189 if (li.LowPart == INVALID_SET_FILE_POINTER && GetLastError() != NO_ERROR) { in qemu_ftruncate64()
195 if (dw == INVALID_SET_FILE_POINTER && GetLastError() != NO_ERROR) { in qemu_ftruncate64()
401 int err = GetLastError(); in raw_open()
516 if (dwPtrLow == INVALID_SET_FILE_POINTER && GetLastError() != NO_ERROR) { in raw_co_truncate()
517 error_setg_win32(errp, GetLastError(), "SetFilePointer error"); in raw_co_truncate()
521 error_setg_win32(errp, GetLastError(), "SetEndOfFile error"); in raw_co_truncate()
539 if (l.LowPart == 0xffffffffUL && GetLastError() != NO_ERROR) in raw_co_getlength()
574 if (low != 0xFFFFFFFFlu || GetLastError() == NO_ERROR) { in raw_co_get_allocated_file_size()
668 int err = GetLastError(); in raw_reopen_prepare()
900 int err = GetLastError(); in hdev_open()
H A Dwin32-aio.c153 if(rc == 0 && GetLastError() != ERROR_IO_PENDING) { in win32_aio_submit()
/openbmc/qemu/qga/vss-win32/
H A Drequester.cpp74 return HRESULT_FROM_WIN32(GetLastError()); in requester_init()
87 return HRESULT_FROM_WIN32(GetLastError()); in requester_init()
94 return HRESULT_FROM_WIN32(GetLastError()); in requester_init()
333 err_set(errset, GetLastError(), "failed to create event %s", in requester_freeze()
339 err_set(errset, GetLastError(), "failed to create event %s", in requester_freeze()
345 err_set(errset, GetLastError(), "failed to create event %s", in requester_freeze()
H A Dinstall.cpp164 hr = HRESULT_FROM_WIN32(GetLastError()); in getNameByStringSID()
169 hr = HRESULT_FROM_WIN32(GetLastError()); in getNameByStringSID()
320 hr = HRESULT_FROM_WIN32(GetLastError()); in COMRegister()
454 errmsg_dialog(GetLastError(), "GetModuleFileName failed"); in DllRegisterServer()
/openbmc/qemu/chardev/
H A Dchar-win.c50 err = GetLastError(); in win_chr_read()
99 error_setg_win32(errp, GetLastError(), "Failed CreateFile"); in win_chr_serial_init()
172 err = GetLastError(); in win_chr_write()
H A Dchar-pipe.c72 error_setg_win32(errp, GetLastError(), "Failed CreateNamedPipe"); in win_chr_pipe_init()
/openbmc/qemu/util/
H A Dqemu-thread-win32.c182 rc = GetLastError(); in qemu_cond_timedwait_impl()
221 error_exit(GetLastError(), __func__); in qemu_sem_timedwait()
230 error_exit(GetLastError(), __func__); in qemu_sem_wait()
500 error_exit(GetLastError(), __func__); in qemu_thread_create()
H A Doslib-win32.c360 if (DeleteFile(path) == 0 && GetLastError() != ERROR_FILE_NOT_FOUND) { in qemu_socketpair()
857 error_setg_win32(errp, GetLastError(), "Failed to CreateFileMapping"); in qemu_win32_map_alloc()
863 error_setg_win32(errp, GetLastError(), "Failed to MapViewOfFile"); in qemu_win32_map_alloc()
876 error_setg_win32(errp, GetLastError(), "Failed to UnmapViewOfFile"); in qemu_win32_map_free()
H A Dcacheflush.c40 if (success || GetLastError() != ERROR_INSUFFICIENT_BUFFER) { in sys_cache_info()
H A Dosdep.c81 g_autofree gchar *emsg = g_win32_error_message(GetLastError()); in qemu_mprotect__osdep()
/openbmc/qemu/net/
H A Dtap-win32.c470 if (!result && GetLastError() == ERROR_IO_INCOMPLETE) in tap_win32_write()
487 error = GetLastError(); in tap_win32_write()
499 error = GetLastError(); in tap_win32_write()
528 dwError = GetLastError(); in tap_win32_thread_entry()
536 dwError = GetLastError(); in tap_win32_thread_entry()
/openbmc/qemu/ui/
H A Ddbus-listener.c156 error_setg_win32(errp, GetLastError(), "failed to create shared handle"); in d3d_texture2d_share()
181 error_setg_win32(errp, GetLastError(), "failed to acquire texture mutex"); in d3d_texture2d_acquire0()
206 error_setg_win32(errp, GetLastError(), "failed to release texture mutex"); in d3d_texture2d_release0()
351 g_autofree char *msg = g_win32_error_message(GetLastError()); in dbus_scanout_map()
414 g_autofree char *msg = g_win32_error_message(GetLastError()); in dbus_scanout_share_d3d_texture()
991 g_autofree char *msg = g_win32_error_message(GetLastError()); in dbus_display_listener_setup_peer_process()
/openbmc/ipmitool/src/plugins/imb/
H A Dimbapi.c547 error = GetLastError(); in SendTimedI2cRequest()
1136 error = GetLastError(); in SendTimedImbpRequest()
1213 error = GetLastError(); in SendAsyncImbpRequest()
1289 DWORD error = GetLastError(); in GetAsyncImbpMessage()
1433 DWORD error = GetLastError(); in GetAsyncImbpMessage_Ex()
1640 DWORD error = GetLastError();
H A Dimbapi.h182 #define GetLastError() (NTstatus.Status) macro
/openbmc/qemu/tcg/
H A Dregion.c543 error_setg_win32(errp, GetLastError(), in alloc_code_gen_buffer()
/openbmc/qemu/tests/qtest/
H A Dlibqtest.c385 __FILE__, __LINE__, strerror(GetLastError())); in qtest_create_process()