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

Zhao Liu posted 7 patches 4 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240715082155.28771-1-zhao1.liu@intel.com
Maintainers: David Hildenbrand <david@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Yi Liu <yi.l.liu@intel.com>, Eric Auger <eric.auger@redhat.com>, Zhenzhong Duan <zhenzhong.duan@intel.com>, Laurent Vivier <lvivier@redhat.com>, Amit Shah <amit@kernel.org>, "Michael S. Tsirkin" <mst@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Eduardo Habkost <eduardo@habkost.net>, Alex Williamson <alex.williamson@redhat.com>, "Cédric Le Goater" <clg@redhat.com>
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(-)
[PATCH 0/7] trivial: Replace some qemu_open_old() with qemu_open()
Posted by Zhao Liu 4 months, 1 week ago
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(-)

-- 
2.34.1