All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] hw/(pci/scsi/virtio-mem): Avoid call to target_info() in class_init
@ 2026-10-13 20:05 Yonggang Luo
  2026-10-13 20:05 ` [PATCH 1/3] hw/pci: Avoid guard loadparm with target_s390x() for s390x " Yonggang Luo
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Yonggang Luo @ 2026-10-13 20:05 UTC (permalink / raw)
  To: qemu-devel
  Cc: David Hildenbrand, Philippe Mathieu-Daude, Matthew Rosato,
	Paolo Bonzini, Pierrick Bouvier, Cornelia Huck, Fam Zheng,
	qemu-s390x, Michael S. Tsirkin, Eric Farman

Now we are going to delay the target select to machine select.
So that avoid call to target_info() in class_init so that we wont
face a NULL target_info() error when do class_init. This is because
class_init is called under object_class_get_list(TYPE_MACHINE, false)

Yonggang Luo (3):
  hw/pci: Avoid guard loadparm with target_s390x() for s390x in
    class_init
  hw/scsi: Avoid guard loadparm with target_s390x() for s390x in
    class_init
  hw/virtio/virtio-mem: Avoid call to target_info() in class_init

 hw/pci/pci.c           | 18 ++++++++++--------
 hw/scsi/scsi-disk.c    | 18 ++++++++++--------
 hw/virtio/virtio-mem.c | 12 +++++-------
 3 files changed, 25 insertions(+), 23 deletions(-)

-- 
2.55.0.windows.3



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

end of thread, other threads:[~2026-11-05 11:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-13 20:05 [PATCH 0/3] hw/(pci/scsi/virtio-mem): Avoid call to target_info() in class_init Yonggang Luo
2026-10-13 20:05 ` [PATCH 1/3] hw/pci: Avoid guard loadparm with target_s390x() for s390x " Yonggang Luo
2026-11-05 11:31   ` Daniel P. Berrangé
2026-10-13 20:05 ` [PATCH 2/3] hw/scsi: " Yonggang Luo
2026-10-13 20:05 ` [PATCH 3/3] hw/virtio/virtio-mem: Avoid call to target_info() " Yonggang Luo
2026-11-05 11:33 ` [PATCH 0/3] hw/(pci/scsi/virtio-mem): " Daniel P. Berrangé

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.