qemu-cr16/backends
Zhao Liu 18f3a07b20 backends/rng-random: Get rid of qemu_open_old()
For qemu_open_old(), osdep.h said:

> Don't introduce new usage of this function, prefer the following
> qemu_open/qemu_create that take an "Error **errp".

So replace qemu_open_old() with qemu_open(). And considering
rng_random_opened() will lose its obvious error handling case after
removing error_setg_file_open(), add comment to remind here.

Cc: Laurent Vivier <lvivier@redhat.com>
Cc: Amit Shah <amit@kernel.org>
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
(mjt: drop superfluous commit as suggested by philmd)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2024-07-17 14:04:15 +03:00
..
tpm
confidential-guest-support.c
cryptodev-builtin.c
cryptodev-hmp-cmds.c
cryptodev-lkcf.c
cryptodev-vhost-user.c
cryptodev-vhost.c
cryptodev.c
dbus-vmstate.c
dbus-vmstate1.xml
host_iommu_device.c
hostmem-epc.c
hostmem-file.c
hostmem-memfd.c
hostmem-ram.c
hostmem-shm.c
hostmem.c
iommufd.c
Kconfig
meson.build
rng-builtin.c
rng-egd.c
rng-random.c backends/rng-random: Get rid of qemu_open_old() 2024-07-17 14:04:15 +03:00
rng.c
trace-events
trace.h
vhost-user.c