/openbmc/qemu/qga/ |
H A D | commands-win32.c | 123 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 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 | 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() 163 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 | 767 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 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() 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 D | win32-aio.c | 153 if(rc == 0 && GetLastError() != ERROR_IO_PENDING) { in win32_aio_submit()
|
/openbmc/qemu/qga/vss-win32/ |
H A D | requester.cpp | 74 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 D | install.cpp | 164 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 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() 500 error_exit(GetLastError(), __func__); in qemu_thread_create()
|
H A D | oslib-win32.c | 360 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 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 | 156 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 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 | 543 error_setg_win32(errp, GetLastError(), in alloc_code_gen_buffer()
|
/openbmc/qemu/tests/qtest/ |
H A D | libqtest.c | 385 __FILE__, __LINE__, strerror(GetLastError())); in qtest_create_process()
|