You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/hw/virtio
Markus Armbruster 77f4f14e08 hw/virtio: Use error_setg_file_open() for a better error message
The error message changes from

    vhost-vsock: failed to open vhost device: REASON

to

    Could not open '/dev/vhost-vsock': REASON

I think the exact file name is more useful to know than the file's
purpose.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20251121121438.1249498-8-armbru@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
1 week ago
..
Kconfig hw/virtio: rename vhost-user-device and make user creatable 2 months ago
cbor-helpers.c device/virtio-nsm: Support for Nitro Secure Module device 1 year ago
iothread-vq-mapping.c virtio: extract iothread-vq-mapping.h API 9 months ago
meson.build hw/virtio: Compile virtio-mem.c once 1 month ago
trace-events virtio: unify virtio_notify_irqfd() and virtio_notify() 2 months ago
trace.h
vdpa-dev-pci.c qom: Have class_init() take a const data argument 7 months ago
vdpa-dev.c vdpa-dev: add get_vhost() callback for vhost-vdpa device 2 months ago
vhost-backend.c vhost-backend: implement extended features support 2 months ago
vhost-iova-tree.c vhost-iova-tree: Update documentation 10 months ago
vhost-iova-tree.h include/system: Move exec/memory.h to system/memory.h 8 months ago
vhost-scsi-pci.c qom: Have class_init() take a const data argument 7 months ago
vhost-shadow-virtqueue.c vdpa: Fix endian bugs in shadow virtqueue 10 months ago
vhost-shadow-virtqueue.h vhost-iova-tree, svq: Implement GPA->IOVA & partial IOVA->HVA trees 10 months ago
vhost-stub.c char: rename CharBackend->CharFrontend 1 month ago
vhost-user-base.c vhost-user: return failure if backend crash when live migration 7 months ago
vhost-user-blk-pci.c qom: Have class_init() take a const data argument 7 months ago
vhost-user-fs-pci.c qom: Have class_init() take a const data argument 7 months ago
vhost-user-fs.c vhost-user: return failure if backend crash when live migration 7 months ago
vhost-user-gpio-pci.c qom: Have class_init() take a const data argument 7 months ago
vhost-user-gpio.c qom: Have class_init() take a const data argument 7 months ago
vhost-user-i2c-pci.c qom: Have class_init() take a const data argument 7 months ago
vhost-user-i2c.c qom: Have class_init() take a const data argument 7 months ago
vhost-user-input-pci.c hw/virtio: derive vhost-user-input from vhost-user-base 2 years ago
vhost-user-input.c qom: Have class_init() take a const data argument 7 months ago
vhost-user-rng-pci.c qom: Have class_init() take a const data argument 7 months ago
vhost-user-rng.c qom: Have class_init() take a const data argument 7 months ago
vhost-user-scmi-pci.c qom: Have class_init() take a const data argument 7 months ago
vhost-user-scmi.c vhost-user: return failure if backend crash when live migration 7 months ago
vhost-user-scsi-pci.c qom: Have class_init() take a const data argument 7 months ago
vhost-user-snd-pci.c qom: Have class_init() take a const data argument 7 months ago
vhost-user-snd.c qom: Have class_init() take a const data argument 7 months ago
vhost-user-test-device-pci.c hw/virtio: rename vhost-user-device and make user creatable 2 months ago
vhost-user-test-device.c hw/virtio: rename vhost-user-device and make user creatable 2 months ago
vhost-user-vsock-pci.c qom: Have class_init() take a const data argument 7 months ago
vhost-user-vsock.c vhost-user: return failure if backend crash when live migration 7 months ago
vhost-user.c vhost-user: make vhost_set_vring_file() synchronous 4 weeks ago
vhost-vdpa.c vfio: return mr from vfio_get_xlat_addr 6 months ago
vhost-vsock-common.c vhost-user: return failure if backend crash when live migration 7 months ago
vhost-vsock-pci.c qom: Have class_init() take a const data argument 7 months ago
vhost-vsock.c hw/virtio: Use error_setg_file_open() for a better error message 1 week ago
vhost.c hw/virtio/vhost: Replace legacy cpu_physical_memory_*map() calls 2 months ago
virtio-9p-pci.c qom: Have class_init() take a const data argument 7 months ago
virtio-acpi.c license: Update deprecated SPDX tag GPL-2.0+ to GPL-2.0-or-later 1 year ago
virtio-balloon-pci.c qom: Have class_init() take a const data argument 7 months ago
virtio-balloon.c system/ramblock: Move ram_block_discard_*_range() declarations 2 months ago
virtio-blk-pci.c qom: Have class_init() take a const data argument 7 months ago
virtio-bus.c virtio: add support for negotiating extended features 2 months ago
virtio-config-io.c hw/virtio: Build various files once 5 months ago
virtio-crypto-pci.c qom: Have class_init() take a const data argument 7 months ago
virtio-crypto.c vhost-user: return failure if backend crash when live migration 7 months ago
virtio-hmp-cmds.c qmp: update virtio features map to support extended features 2 months ago
virtio-input-host-pci.c hw/virtio: move virtio-pci.h into shared include space 4 years ago
virtio-input-pci.c qom: Have class_init() take a const data argument 7 months ago
virtio-iommu-pci.c qom: Have class_init() take a const data argument 7 months ago
virtio-iommu.c vhost-user: return failure if backend crash when live migration 7 months ago
virtio-md-pci.c qom: Make InterfaceInfo[] uses const 7 months ago
virtio-md-stubs.c hw/virtio: move stubs out of stubs/ 2 years ago
virtio-mem-pci.c qom: Have class_init() take a const data argument 7 months ago
virtio-mem-pci.h virtio-md-pci: New parent type for virtio-mem-pci and virtio-pmem-pci 2 years ago
virtio-mem.c hw/virtio/virtio-mem: Convert VIRTIO_MEM_HAS_LEGACY_GUESTS to runtime 1 month ago
virtio-mmio.c migration: Fix regression of passing error_fatal into vmstate_load_state() 1 month ago
virtio-net-pci.c virtio-net: Implement SR-IOV VF 7 months ago
virtio-nsm-pci.c qom: Have class_init() take a const data argument 7 months ago
virtio-nsm.c qom: Have class_init() take a const data argument 7 months ago
virtio-pci.c migration: Fix regression of passing error_fatal into vmstate_load_state() 1 month ago
virtio-pmem-pci.c qom: Have class_init() take a const data argument 7 months ago
virtio-pmem-pci.h virtio-md-pci: New parent type for virtio-mem-pci and virtio-pmem-pci 2 years ago
virtio-pmem.c qom: Have class_init() take a const data argument 7 months ago
virtio-qmp.c qmp: Fix a typo for a USO feature 2 weeks ago
virtio-qmp.h qmp: update virtio features map to support extended features 2 months ago
virtio-rng-pci.c qom: Have class_init() take a const data argument 7 months ago
virtio-rng.c vhost-user: return failure if backend crash when live migration 7 months ago
virtio-scsi-pci.c qom: Have class_init() take a const data argument 7 months ago
virtio-serial-pci.c qom: Have class_init() take a const data argument 7 months ago
virtio-stub.c qmp: add QMP command x-query-virtio-queue-element 3 years ago
virtio.c migration: Fix regression of passing error_fatal into vmstate_load_state() 1 month ago