Home
last modified time | relevance | path

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

/openbmc/qemu/qga/
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 Dcommands-win32.c146 char *suffix = g_win32_error_message(GetLastError()); \
253 error_setg_win32(errp, GetLastError(), "failed to open file '%s'", in qmp_guest_file_open()
287 error_setg_win32(errp, GetLastError(), "failed close handle"); in qmp_guest_file_close()
363 g_autofree gchar *emsg = g_win32_error_message(GetLastError()); in qmp_guest_shutdown()
365 error_setg_win32(errp, GetLastError(), "guest-shutdown failed"); in qmp_guest_shutdown()
381 error_setg_win32(errp, GetLastError(), "failed to read file"); in guest_file_read_unsafe()
428 error_setg_win32(errp, GetLastError(), "failed to write to file"); in qmp_guest_file_write()
468 error_setg_win32(errp, GetLastError(), "failed to seek file"); in qmp_guest_file_seek()
486 error_setg_win32(errp, GetLastError(), "failed to flush file"); in qmp_guest_file_flush()
634 error_setg_win32(errp, GetLastError(), "faile in get_pci_info()
[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()
165 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.c790 ret = GetLastError(); in handle_serial_device_events()
799 ret = GetLastError(); in handle_serial_device_events()
1434 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()
513 * and GetLastError doesn't return NO_ERROR. in raw_co_truncate()
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()
[all...]
H A Dwin32-aio.c170 if(rc == 0 && GetLastError() != ERROR_IO_PENDING) { in win32_aio_attach()
/openbmc/qemu/qga/vss-win32/
H A Drequester.cpp75 return HRESULT_FROM_WIN32(GetLastError()); in requester_init()
88 return HRESULT_FROM_WIN32(GetLastError()); in requester_init()
95 return HRESULT_FROM_WIN32(GetLastError()); in requester_init()
334 err_set(errset, GetLastError(), "failed to create event %s", in requester_freeze()
340 err_set(errset, GetLastError(), "failed to create event %s", in requester_freeze()
346 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()
324 hr = HRESULT_FROM_WIN32(GetLastError()); in COMRegister()
461 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()
371 error_exit(GetLastError(), __func__); in qemu_thread_create()
H A Doslib-win32.c376 if (DeleteFile(path) == 0 && GetLastError() != ERROR_FILE_NOT_FOUND) { in qemu_socketpair()
873 error_setg_win32(errp, GetLastError(), "Failed to CreateFileMapping"); in qemu_win32_map_free()
879 error_setg_win32(errp, GetLastError(), "Failed to MapViewOfFile"); in qemu_win32_map_free()
892 error_setg_win32(errp, GetLastError(), "Failed to UnmapViewOfFile");
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.c157 error_setg_win32(errp, GetLastError(), "failed to create shared handle"); in d3d_texture2d_share()
182 error_setg_win32(errp, GetLastError(), "failed to acquire texture mutex"); in d3d_texture2d_acquire0()
207 error_setg_win32(errp, GetLastError(), "failed to release texture mutex"); in d3d_texture2d_release0()
440 g_autofree char *msg = g_win32_error_message(GetLastError()); in dbus_scanout_map()
503 g_autofree char *msg = g_win32_error_message(GetLastError()); in dbus_scanout_share_d3d_texture()
1081 g_autofree char *msg = g_win32_error_message(GetLastError());
/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.c544 error_setg_win32(errp, GetLastError(), in alloc_code_gen_buffer()
/openbmc/qemu/tests/qtest/
H A Dlibqtest.c405 __FILE__, __LINE__, strerror(GetLastError())); in qtest_create_process()