hw/virtio: Replace type_register() with type_register_static()
authorZhao Liu <zhao1.liu@intel.com>
Tue, 29 Oct 2024 08:59:27 +0000 (16:59 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 Dec 2024 17:49:25 +0000 (18:49 +0100)
commit3b5f3070386e5b2a48e0e96ff96ef2251131eeb8
tree8b7464f2219fd85336a0ef38d35cf06278b338bb
parent220a81eb2f08c33eeb91deab4fd43bd2853313b9
hw/virtio: Replace type_register() with type_register_static()

Replace type_register() with type_register_static() because
type_register() will be deprecated.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Link: https://lore.kernel.org/r/20241029085934.2799066-10-zhao1.liu@intel.com
hw/virtio/virtio-pci.c