Skip to content

trivial: Replace some qemu_open_old() with qemu_open()

Zhao Liu qemu-devel qemu-trivial 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7hw/i386/sgx: Get rid of qemu_open_old()hw/i386/sgx.c+4 -20 replies
2/7hw/usb/host-libusb: Get rid of qemu_open_old()hw/usb/host-libusb.c+1 -21 reply
3/7hw/usb/u2f-passthru: Get rid of qemu_open_old()hw/usb/u2f-passthru.c+1 -31 reply
4/7hw/vfio/container: Get rid of qemu_open_old()hw/vfio/container.c+2 -42 replies
5/7backends/hostmem-epc: Get rid of qemu_open_old()backends/hostmem-epc.c+1 -32 replies
6/7backends/iommufd: Get rid of qemu_open_old()backends/iommufd.c+1 -22 replies
7/7backends/rng-random: Get rid of qemu_open_old()backends/rng-random.c+5 -44 replies

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéIgor MammedovYi LiuCédric Le Goater
1/7
2/7R-b
3/7R-b
4/7R-b R-b
5/7R-b R-b
6/7R-b R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/7] trivial: Replace some qemu_open_old() with qemu_open()

Hi list,

After Daniel's renaming (448058aa99aa "util: rename qemu_open() to qemu_open_old()"), I find some qemu_open_old() can be directly replaced by the new qemu_open().

This series considers the case where @errp exists, for which @errp can be passed directly to qemu_open().

There would be more cleanup to help qemu_open_old() retire as early as possible.

Thanks and Best Regards,
Zhao
---
Zhao Liu (7):
hw/i386/sgx: Get rid of qemu_open_old() hw/usb/host-libusb: Get rid of qemu_open_old() hw/usb/u2f-passthru: Get rid of qemu_open_old() hw/vfio/container: Get rid of qemu_open_old() backends/hostmem-epc: Get rid of qemu_open_old() backends/iommufd: Get rid of qemu_open_old() backends/rng-random: Get rid of qemu_open_old()

 backends/hostmem-epc.c | 4 +---
 backends/iommufd.c     | 3 +--
 backends/rng-random.c  | 9 +++++----
 hw/i386/sgx.c          | 6 ++++--
 hw/usb/host-libusb.c   | 3 +--
 hw/usb/u2f-passthru.c  | 4 +---
 hw/vfio/container.c    | 6 ++----
 7 files changed, 15 insertions(+), 20 deletions(-)
Signature · 1 line
2.34.1