public inbox for qemu-devel@nongnu.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] hw/qdev: Consolidate qdev_get_human_name() and qdev_get_printable_name()
@ 2026-03-21 10:04 Alessandro Ratti
  2026-03-21 10:04 ` [PATCH v3 1/3] hw/qdev: Clarify fallback order in qdev_get_printable_name() Alessandro Ratti
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alessandro Ratti @ 2026-03-21 10:04 UTC (permalink / raw)
  To: qemu-devel
  Cc: armbru, peter.maydell, berrange, mst, pbonzini, Alessandro Ratti

v3 addresses Markus's review of v2:

- Drop g_assert(dev) and final fallback comment
- Adopt imperative mood for doc comment (Markus's wording)
- Add "<bus-type> device <path>" prefix to bus-specific paths
  instead of deferring to a follow-up series
- Rename qdev_get_printable_name() to qdev_get_human_name()

v2: https://lore.kernel.org/qemu-devel/20260311215003.664815-1-alessandro@0x65c.net/
v1: https://lore.kernel.org/qemu-devel/20260308160040.354186-2-alessandro@0x65c.net/

Alessandro Ratti (3):
  hw/qdev: Clarify fallback order in qdev_get_printable_name()
  hw/qdev: Prefix bus type in qdev_get_printable_name() device paths
  hw/qdev: Consolidate qdev_get_printable_name() into
    qdev_get_human_name()

 hw/core/qdev.c         | 38 ++++++++++----------------------------
 hw/virtio/virtio.c     |  6 +++---
 include/hw/core/qdev.h | 28 +++++-----------------------
 3 files changed, 18 insertions(+), 54 deletions(-)

-- 
2.53.0



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-03-21 10:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-21 10:04 [PATCH v3 0/3] hw/qdev: Consolidate qdev_get_human_name() and qdev_get_printable_name() Alessandro Ratti
2026-03-21 10:04 ` [PATCH v3 1/3] hw/qdev: Clarify fallback order in qdev_get_printable_name() Alessandro Ratti
2026-03-21 10:04 ` [PATCH v3 2/3] hw/qdev: Prefix bus type in qdev_get_printable_name() device paths Alessandro Ratti
2026-03-21 10:04 ` [PATCH v3 3/3] hw/qdev: Consolidate qdev_get_printable_name() into qdev_get_human_name() Alessandro Ratti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox