All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 00/10] hw/misc/vmcoreinfo: Convert from QDev to plain Object
@ 2024-12-19 15:38 Philippe Mathieu-Daudé
  2024-12-19 15:38 ` [RFC PATCH 01/10] hw/misc/vmcoreinfo: Declare QOM type using DEFINE_TYPES macro Philippe Mathieu-Daudé
                   ` (10 more replies)
  0 siblings, 11 replies; 22+ messages in thread
From: Philippe Mathieu-Daudé @ 2024-12-19 15:38 UTC (permalink / raw)
  To: qemu-devel
  Cc: Ani Sinha, Marc-André Lureau, devel,
	Philippe Mathieu-Daudé

No reason for vmcoreinfo to be based on QDev, since it
doesn't use any QDev API. Demote to plain Object.

Since we can only register one type, introduce a new
one for object: 'vmcore-info' (dash separator), keeping
'vmcoreinfo' device during the deprecation period.

Philippe Mathieu-Daudé (10):
  hw/misc/vmcoreinfo: Declare QOM type using DEFINE_TYPES macro
  hw/misc/vmcoreinfo: Rename opaque pointer as 'opaque'
  hw/misc/vmcoreinfo: Un-inline vmcoreinfo_find()
  hw/misc/vmcoreinfo: Rename VMCOREINFO_DEVICE -> TYPE_VMCOREINFO_DEVICE
  hw/misc/vmcoreinfo: Convert to three-phase reset interface
  hw/misc/vmcoreinfo: Move vmstate_vmcoreinfo[] around
  hw/misc/vmcoreinfo: Factor vmcoreinfo_device_realize() out
  hw/misc/vmcoreinfo: Implement 'vmcore-info' object
  hw/misc/vmcoreinfo: Deprecate '-device vmcoreinfo'
  hw/misc/vmcoreinfo: Remove legacy '-device vmcoreinfo'

 docs/about/removed-features.rst |   5 +
 include/hw/misc/vmcoreinfo.h    |  26 ++---
 hw/misc/vmcoreinfo.c            | 167 +++++++++++++++++++-------------
 3 files changed, 116 insertions(+), 82 deletions(-)

-- 
2.47.1



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

end of thread, other threads:[~2024-12-20 10:54 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-19 15:38 [RFC PATCH 00/10] hw/misc/vmcoreinfo: Convert from QDev to plain Object Philippe Mathieu-Daudé
2024-12-19 15:38 ` [RFC PATCH 01/10] hw/misc/vmcoreinfo: Declare QOM type using DEFINE_TYPES macro Philippe Mathieu-Daudé
2024-12-19 16:54   ` Daniel P. Berrangé
2024-12-19 15:38 ` [RFC PATCH 02/10] hw/misc/vmcoreinfo: Rename opaque pointer as 'opaque' Philippe Mathieu-Daudé
2024-12-19 16:55   ` Daniel P. Berrangé
2024-12-19 15:38 ` [RFC PATCH 03/10] hw/misc/vmcoreinfo: Un-inline vmcoreinfo_find() Philippe Mathieu-Daudé
2024-12-19 16:57   ` Daniel P. Berrangé
2024-12-19 15:38 ` [RFC PATCH 04/10] hw/misc/vmcoreinfo: Rename VMCOREINFO_DEVICE -> TYPE_VMCOREINFO_DEVICE Philippe Mathieu-Daudé
2024-12-19 16:59   ` Daniel P. Berrangé
2024-12-19 17:12     ` Philippe Mathieu-Daudé
2024-12-19 15:38 ` [RFC PATCH 05/10] hw/misc/vmcoreinfo: Convert to three-phase reset interface Philippe Mathieu-Daudé
2024-12-19 17:00   ` Daniel P. Berrangé
2024-12-19 15:38 ` [RFC PATCH 06/10] hw/misc/vmcoreinfo: Move vmstate_vmcoreinfo[] around Philippe Mathieu-Daudé
2024-12-19 15:38 ` [RFC PATCH 07/10] hw/misc/vmcoreinfo: Factor vmcoreinfo_device_realize() out Philippe Mathieu-Daudé
2024-12-19 15:38 ` [RFC PATCH 08/10] hw/misc/vmcoreinfo: Implement 'vmcore-info' object Philippe Mathieu-Daudé
2024-12-20  8:50   ` Marc-André Lureau
2024-12-20 10:53     ` Philippe Mathieu-Daudé
2024-12-19 15:38 ` [RFC PATCH 09/10] hw/misc/vmcoreinfo: Deprecate '-device vmcoreinfo' Philippe Mathieu-Daudé
2024-12-19 15:38 ` [RFC PATCH-for-10.2 10/10] hw/misc/vmcoreinfo: Remove legacy " Philippe Mathieu-Daudé
2024-12-19 15:57 ` [RFC PATCH 00/10] hw/misc/vmcoreinfo: Convert from QDev to plain Object Daniel P. Berrangé
2024-12-19 16:19   ` Ani Sinha
2024-12-19 16:48   ` Philippe Mathieu-Daudé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.