| /openbmc/qemu/qga/ |
| H A D | commands-windows-ssh.c | 118 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 D | commands-win32.c | 146 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 D | vss-win32.c | 36 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 D | channel-win32.c | 71 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 D | service-win32.c | 19 DWORD err = GetLastError(); in printf_win_error()
|
| H A D | main.c | 790 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 D | random-platform.c | 42 error_setg_win32(errp, GetLastError(), in qcrypto_random_init() 73 error_setg_win32(errp, GetLastError(), in qcrypto_random_bytes()
|
| /openbmc/qemu/block/ |
| H A D | file-win32.c | 189 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 D | win32-aio.c | 170 if(rc == 0 && GetLastError() != ERROR_IO_PENDING) { in win32_aio_attach()
|
| /openbmc/qemu/qga/vss-win32/ |
| H A D | requester.cpp | 75 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 D | install.cpp | 164 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 D | char-win.c | 50 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 D | char-pipe.c | 72 error_setg_win32(errp, GetLastError(), "Failed CreateNamedPipe"); in win_chr_pipe_init()
|
| /openbmc/qemu/util/ |
| H A D | qemu-thread-win32.c | 182 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 D | oslib-win32.c | 376 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 D | cacheflush.c | 40 if (success || GetLastError() != ERROR_INSUFFICIENT_BUFFER) { in sys_cache_info()
|
| H A D | osdep.c | 81 g_autofree gchar *emsg = g_win32_error_message(GetLastError()); in qemu_mprotect__osdep()
|
| /openbmc/qemu/net/ |
| H A D | tap-win32.c | 470 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 D | dbus-listener.c | 157 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 D | imbapi.c | 547 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 D | imbapi.h | 182 #define GetLastError() (NTstatus.Status) macro
|
| /openbmc/qemu/tcg/ |
| H A D | region.c | 544 error_setg_win32(errp, GetLastError(), in alloc_code_gen_buffer()
|
| /openbmc/qemu/tests/qtest/ |
| H A D | libqtest.c | 405 __FILE__, __LINE__, strerror(GetLastError())); in qtest_create_process()
|