Home
last modified time | relevance | path

Searched refs:error_setg_errno (Results 1 – 25 of 183) sorted by relevance

12345678

/openbmc/qemu/net/
H A Dtap-bsd.c71 error_setg_errno(errp, errno, "could not open %s", dname); in tap_open()
77 error_setg_errno(errp, errno, "could not get tap name"); in tap_open()
83 error_setg_errno(errp, errno, "could not stat %s", dname); in tap_open()
116 error_setg_errno(errp, errno, "could not open %s", PATH_NET_TAP); in tap_open_clone()
124 error_setg_errno(errp, errno, "could not get tap interface name"); in tap_open_clone()
133 error_setg_errno(errp, errno, in tap_open_clone()
164 error_setg_errno(errp, errno, "could not open %s", dname); in tap_open()
H A Ddgram.c167 error_setg_errno(errp, errno, "can't create datagram socket"); in net_dgram_mcast_create()
180 error_setg_errno(errp, errno, "can't set socket option SO_REUSEADDR"); in net_dgram_mcast_create()
186 error_setg_errno(errp, errno, "can't bind ip=%s to socket", in net_dgram_mcast_create()
202 error_setg_errno(errp, errno, in net_dgram_mcast_create()
213 error_setg_errno(errp, errno, in net_dgram_mcast_create()
223 error_setg_errno(errp, errno, in net_dgram_mcast_create()
338 error_setg_errno(errp, -ret, "%s: Can't use file descriptor %d", in net_dgram_mcast_init()
489 error_setg_errno(errp, errno, "can't create datagram socket"); in net_init_dgram()
495 error_setg_errno(errp, errno, in net_init_dgram()
502 error_setg_errno(errp, errno, "can't bind ip=%s to socket", in net_init_dgram()
[all …]
H A Dsocket.c236 error_setg_errno(errp, errno, "can't create datagram socket"); in net_socket_mcast_create()
248 error_setg_errno(errp, errno, in net_socket_mcast_create()
255 error_setg_errno(errp, errno, "can't bind ip=%s to socket", in net_socket_mcast_create()
271 error_setg_errno(errp, errno, in net_socket_mcast_create()
282 error_setg_errno(errp, errno, in net_socket_mcast_create()
292 error_setg_errno(errp, errno, in net_socket_mcast_create()
508 error_setg_errno(errp, errno, "can't create stream socket"); in net_socket_listen_init()
517 error_setg_errno(errp, errno, "can't bind ip=%s to socket", in net_socket_listen_init()
524 error_setg_errno(errp, errno, "can't listen on socket"); in net_socket_listen_init()
556 error_setg_errno(errp, errno, "can't create stream socket"); in net_socket_connect_init()
[all …]
H A Dtap-linux.c50 error_setg_errno(errp, errno, "could not open %s", PATH_NET_TUN); in tap_open()
106 error_setg_errno(errp, errno, "could not configure %s (%s)", in tap_open()
109 error_setg_errno(errp, errno, "could not configure %s", in tap_open()
145 error_setg_errno(errp, errno, "TUNSETSNDBUF ioctl failed"); in tap_set_sndbuf()
156 error_setg_errno(errp, errno, in tap_probe_vnet_hdr()
/openbmc/qemu/io/
H A Dchannel-file.c54 error_setg_errno(errp, errno, "Could not dup FD %d", fd); in qio_channel_file_new_dupfd()
128 error_setg_errno(errp, errno, in qio_channel_file_readv()
156 error_setg_errno(errp, errno, in qio_channel_file_writev()
183 error_setg_errno(errp, errno, "Unable to read from file"); in qio_channel_file_preadv()
208 error_setg_errno(errp, errno, "Unable to write to file"); in qio_channel_file_pwritev()
221 error_setg_errno(errp, errno, "Failed to set FD nonblocking"); in qio_channel_file_set_blocking()
227 error_setg_errno(errp, errno, "Failed to set FD nonblocking"); in qio_channel_file_set_blocking()
245 error_setg_errno(errp, errno, in qio_channel_file_seek()
260 error_setg_errno(errp, errno, in qio_channel_file_close()
H A Dchannel-socket.c103 error_setg_errno(errp, errno, in qio_channel_socket_set_fd()
111 error_setg_errno(errp, errno, in qio_channel_socket_set_fd()
394 error_setg_errno(errp, errno, "Unable to accept connection"); in qio_channel_socket_accept()
401 error_setg_errno(errp, errno, in qio_channel_socket_accept()
542 error_setg_errno(errp, errno, in qio_channel_socket_readv()
577 error_setg_errno(errp, EINVAL, in qio_channel_socket_writev()
615 error_setg_errno(errp, errno, in qio_channel_socket_writev()
622 error_setg_errno(errp, errno, in qio_channel_socket_writev()
668 error_setg_errno(errp, errno, in qio_channel_socket_readv()
711 error_setg_errno(errp, errno, in qio_channel_socket_writev()
[all …]
H A Dchannel-command.c117 error_setg_errno(errp, errno, in qio_channel_command_abort()
229 error_setg_errno(errp, errno, in qio_channel_command_readv()
263 error_setg_errno(errp, errno, "%s", in qio_channel_command_writev()
282 error_setg_errno(errp, errno, "Failed to set FD nonblocking"); in qio_channel_command_set_blocking()
318 error_setg_errno(errp, errno, "Failed to wait for pid %llu", in qio_channel_command_close()
327 error_setg_errno(errp, errno, "%s", in qio_channel_command_close()
/openbmc/qemu/block/
H A Dblkio.c620 error_setg_errno(errp, -ret, "failed to set path: %s", in blkio_io_uring_connect()
628 error_setg_errno(errp, -ret, "failed to set direct: %s", in blkio_io_uring_connect()
636 error_setg_errno(errp, -ret, "blkio_connect failed: %s", in blkio_io_uring_connect()
659 error_setg_errno(errp, -ret, "failed to set path: %s", in blkio_nvme_io_uring_connect()
671 error_setg_errno(errp, -ret, "blkio_connect failed: %s", in blkio_nvme_io_uring_connect()
740 error_setg_errno(errp, -ret, "failed to set path: %s", in blkio_virtio_blk_connect()
768 error_setg_errno(errp, -ret, "failed to set fd: %s", in blkio_virtio_blk_connect()
775 error_setg_errno(errp, -ret, "failed to set path: %s", in blkio_virtio_blk_connect()
784 error_setg_errno(errp, -ret, "blkio_connect failed: %s", in blkio_virtio_blk_connect()
803 error_setg_errno(errp, -ret, "blkio_create failed: %s", in blkio_open()
[all …]
H A Drbd.c276 error_setg_errno(errp, -r, "Could not set 'key'"); in qemu_rbd_set_auth()
293 error_setg_errno(errp, -r, in qemu_rbd_set_auth()
329 error_setg_errno(errp, -ret, "invalid conf option %s", key); in qemu_rbd_set_keypairs()
380 error_setg_errno(errp, -r, "unknown encryption algorithm: %u", in qemu_rbd_convert_luks_create_options()
408 error_setg_errno(errp, -r, "cannot get raw image size"); in qemu_rbd_encryption_format()
446 error_setg_errno( in qemu_rbd_encryption_format()
455 error_setg_errno(errp, -r, "encryption format fail"); in qemu_rbd_encryption_format()
461 error_setg_errno(errp, -r, "cannot get effective image size"); in qemu_rbd_encryption_format()
467 error_setg_errno(errp, -r, "cannot resize image after format"); in qemu_rbd_encryption_format()
536 error_setg_errno( in qemu_rbd_encryption_load()
[all …]
H A Dqcow2.c115 error_setg_errno(errp, -ret, "Could not read encryption header"); in qcow2_crypto_hdr_read_func()
133 error_setg_errno(errp, -ret, in qcow2_crypto_hdr_init_func()
151 error_setg_errno(errp, -ret, "Could not zero fill encryption header"); in qcow2_crypto_hdr_init_func()
177 error_setg_errno(errp, -ret, "Could not read encryption header"); in qcow2_crypto_hdr_write_func()
235 error_setg_errno(errp, -ret, "qcow2_read_extension: ERROR: " in qcow2_read_extensions()
263 error_setg_errno(errp, -ret, "ERROR: ext_backing_format: " in qcow2_read_extensions()
279 error_setg_errno(errp, -ret, "ERROR: ext_feature_table: " in qcow2_read_extensions()
305 error_setg_errno(errp, -ret, in qcow2_read_extensions()
332 error_setg_errno(errp, -ret, "bitmaps_ext: " in qcow2_read_extensions()
361 error_setg_errno(errp, -ret, "bitmaps_ext: " in qcow2_read_extensions()
[all …]
/openbmc/qemu/hw/scsi/
H A Dvhost-scsi-common.c45 error_setg_errno(errp, -ret, "Error enabling host notifiers"); in vhost_scsi_common_start()
51 error_setg_errno(errp, -ret, "Error binding guest notifier"); in vhost_scsi_common_start()
59 error_setg_errno(errp, -ret, "Error setting inflight format"); in vhost_scsi_common_start()
69 error_setg_errno(errp, -ret, "Error getting inflight"); in vhost_scsi_common_start()
76 error_setg_errno(errp, -ret, "Error setting inflight"); in vhost_scsi_common_start()
83 error_setg_errno(errp, -ret, "Error starting vhost dev"); in vhost_scsi_common_start()
/openbmc/qemu/util/
H A Dmemfd.c75 error_setg_errno(errp, errno, in qemu_memfd_create()
81 error_setg_errno(errp, errno, "failed to resize memfd to %zu", size); in qemu_memfd_create()
86 error_setg_errno(errp, errno, "failed to add seals 0x%x", seals); in qemu_memfd_create()
97 error_setg_errno(errp, ENOSYS, "failed to create memfd"); in qemu_memfd_create()
143 error_setg_errno(errp, errno, "failed to allocate shared memory"); in qemu_memfd_alloc()
H A Dqemu-sockets.c302 error_setg_errno(errp, errno, in inet_listen_saddr()
312 error_setg_errno(errp, errno, "Failed to bind socket"); in inet_listen_saddr()
320 error_setg_errno(errp, errno, "Failed to listen on socket"); in inet_listen_saddr()
333 error_setg_errno(errp, errno, in inet_listen_saddr()
366 error_setg_errno(errp, errno, "Failed to create socket family %d", in inet_connect_addr()
380 error_setg_errno(errp, errno, "Failed to connect to '%s:%s'", in inet_connect_addr()
484 error_setg_errno(errp, errno, "Unable to set KEEPALIVE"); in inet_connect_saddr()
557 error_setg_errno(errp, errno, "Failed to create socket family %d", in inet_dgram_saddr()
565 error_setg_errno(errp, errno, "Failed to bind socket"); in inet_dgram_saddr()
571 error_setg_errno(errp, errno, "Failed to connect to '%s:%s'", in inet_dgram_saddr()
[all …]
H A Dvfio-helpers.c149 error_setg_errno(errp, errno, "Failed to get BAR region info"); in qemu_vfio_pci_init_bar()
176 error_setg_errno(errp, errno, "Failed to map BAR region"); in qemu_vfio_pci_map_bar()
206 error_setg_errno(errp, errno, "Failed to get device interrupt info"); in qemu_vfio_pci_init_irq()
230 error_setg_errno(errp, errno, "Failed to setup device interrupt"); in qemu_vfio_pci_init_irq()
312 error_setg_errno(errp, errno, "Failed to open /dev/vfio/vfio"); in qemu_vfio_init_pci()
322 error_setg_errno(errp, errno, "VFIO IOMMU Type1 is not supported"); in qemu_vfio_init_pci()
336 error_setg_errno(errp, errno, "Failed to open VFIO group file: %s", in qemu_vfio_init_pci()
346 error_setg_errno(errp, errno, "Failed to get VFIO group status"); in qemu_vfio_init_pci()
359 error_setg_errno(errp, errno, "Failed to add group to VFIO container"); in qemu_vfio_init_pci()
366 error_setg_errno(errp, errno, "Failed to set VFIO IOMMU type"); in qemu_vfio_init_pci()
[all …]
/openbmc/qemu/qga/
H A Dcommands-posix.c59 error_setg_errno(errp, errno, "failed to wait for child (pid: %d)", in ga_wait_child()
146 error_setg_errno(errp, errno, "failed to create child process"); in ga_run_command()
155 error_setg_errno(errp, errno, "%s: cannot write to stdin pipe", in ga_run_command()
165 error_setg_errno(errp, -len, "%s: cannot read from stdout/stderr pipe", in ga_run_command()
288 error_setg_errno(errp, errno, "Invalid time"); in qmp_guest_set_time()
294 error_setg_errno(errp, errno, "Failed to set time to guest"); in qmp_guest_set_time()
456 error_setg_errno(errp, errno, in safe_open_or_create()
463 error_setg_errno(errp, errno, "failed to set permission " in safe_open_or_create()
471 error_setg_errno(errp, errno, "failed to associate stdio stream with " in safe_open_or_create()
508 error_setg_errno(errp, errno, "Failed to set FD nonblocking"); in qmp_guest_file_open()
[all …]
H A Dcommands-bsd.c41 error_setg_errno(errp, errno, "getmntinfo failed"); in build_fs_mount_list()
49 error_setg_errno(errp, errno, "stat failed on %s", in build_fs_mount_list()
123 error_setg_errno(errp, errno, "failed to freeze %s", in qmp_guest_fsfreeze_do_freeze_list()
H A Dchannel-posix.c141 error_setg_errno(errp, errno, "error opening channel '%s'", path); in ga_channel_open()
147 error_setg_errno(errp, errno, "error setting event mask for channel"); in ga_channel_open()
160 error_setg_errno(errp, errno, "error getting channel termios attrs"); in ga_channel_open()
166 error_setg_errno(errp, errno, "error setting channel termios attrs"); in ga_channel_open()
185 error_setg_errno(errp, errno, "error opening channel '%s'", path); in ga_channel_open()
/openbmc/qemu/hw/xen/
H A Dxen-bus-helper.c57 error_setg_errno(errp, errno, "failed to create node '%s'", node); in xs_node_create()
67 error_setg_errno(errp, errno, "failed to destroy node '%s'", node); in xs_node_destroy()
85 error_setg_errno(errp, errno, "failed to write '%s' to '%s'", in xs_node_vprintf()
120 error_setg_errno(errp, errno, "failed to read from '%s'", in xs_node_vscanf()
159 error_setg_errno(errp, errno, "failed to watch node '%s'", path); in xs_node_watch()
H A Dxen-bus.c69 error_setg_errno(errp, errno, "failed xs_transaction_start"); in xen_device_unplug()
90 error_setg_errno(errp, errno, "failed xs_transaction_end"); in xen_device_unplug()
138 error_setg_errno(errp, errno, "failed xs_transaction_end"); in xen_bus_backend_create()
175 error_setg_errno(errp, errno, "failed xs_transaction_end"); in xen_bus_backend_create()
329 error_setg_errno(errp, errno, "failed xs_open"); in xen_bus_realize()
786 error_setg_errno(errp, errno, "xengnttab_set_max_grants failed"); in xen_device_set_max_grant_refs()
798 error_setg_errno(errp, errno, in xen_device_map_grant_refs()
809 error_setg_errno(errp, errno, "xengnttab_unmap failed"); in xen_device_unmap_grant_refs()
881 error_setg_errno(errp, errno, "failed xenevtchn_open"); in xen_device_bind_event_channel()
889 error_setg_errno(errp, errno, "xenevtchn_bind_interdomain failed"); in xen_device_bind_event_channel()
[all …]
/openbmc/qemu/crypto/
H A Drandom-platform.c60 error_setg_errno(errp, errno, "No /dev/urandom or /dev/random"); in qcrypto_random_init()
89 error_setg_errno(errp, errno, "getrandom"); in qcrypto_random_bytes()
108 error_setg_errno(errp, errno, "Unable to read random bytes"); in qcrypto_random_bytes()
H A Dafalg.c56 error_setg_errno(errp, errno, "Failed to create socket"); in qcrypto_afalg_socket_bind()
61 error_setg_errno(errp, errno, "Failed to bind socket"); in qcrypto_afalg_socket_bind()
85 error_setg_errno(errp, errno, "Failed to accept socket"); in qcrypto_afalg_comm_alloc()
/openbmc/qemu/hw/pci-host/
H A Dxen_igd_pt.c58 error_setg_errno(errp, errno, "Failed to open: %s", path); in host_pci_config_read()
63 error_setg_errno(errp, errno, "Failed to seek: %s", path); in host_pci_config_read()
71 error_setg_errno(errp, errno, "Failed to read: %s", path); in host_pci_config_read()
/openbmc/qemu/hw/intc/
H A Dxics_kvm.c127 error_setg_errno(errp, -ret, in icp_set_kvm_state()
372 error_setg_errno(&local_err, -rc, in xics_kvm_connect()
379 error_setg_errno(&local_err, -rc, in xics_kvm_connect()
386 error_setg_errno(&local_err, -rc, in xics_kvm_connect()
393 error_setg_errno(&local_err, -rc, in xics_kvm_connect()
401 error_setg_errno(&local_err, -rc, "Error on KVM_CREATE_DEVICE for XICS"); in xics_kvm_connect()
/openbmc/qemu/hw/virtio/
H A Dvhost-vsock.c150 error_setg_errno(errp, errno, in vhost_vsock_device_realize()
157 error_setg_errno(errp, errno, in vhost_vsock_device_realize()
163 error_setg_errno(errp, errno, in vhost_vsock_device_realize()
183 error_setg_errno(errp, -ret, "vhost-vsock: unable to set guest cid"); in vhost_vsock_device_realize()
/openbmc/qemu/migration/
H A Dchannel-block.c66 error_setg_errno(errp, -ret, "bdrv_readv_vmstate failed"); in qio_channel_block_readv()
91 error_setg_errno(errp, -ret, "bdrv_writev_vmstate failed"); in qio_channel_block_writev()
147 error_setg_errno(errp, -rv, in qio_channel_block_close()

12345678