qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 00/14] hw: Use QOM macros and remove DO_UPCAST() uses


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v3 00/14] hw: Use QOM macros and remove DO_UPCAST() uses
Date: Tue, 28 Feb 2023 14:44:05 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

(meanwhile, forgot to Cc Alex)

On 28/2/23 14:43, Philippe Mathieu-Daudé wrote:
On 13/2/23 19:43, Philippe Mathieu-Daudé wrote:

QOM housekeeping series which replace the DO_UPCAST() macro
uses by equivalent QOM ones. Also:
- Use DEVICE() macro
- Define some TYPE_xxx
- Define some type arrays using DEFINE_TYPES() macro
- Introduce abstract QOM (QDev) parent when relevant.

Philippe Mathieu-Daudé (14):
   hw/char/serial-pci: Replace DO_UPCAST(PCISerialState) by PCI_SERIAL()
   hw/char/serial-pci-multi: Batch register types using DEFINE_TYPES
     macro
   hw/char/serial-pci-multi: Introduce PCI_MULTISERIAL QOM abstract
     parent
   hw/char/serial-pci-multi: Factor multi_serial_class_initfn() out
   hw/char/serial-pci-multi: Replace DO_UPCAST() by PCI_MULTISERIAL()

   hw/ide/qdev: Replace DO_UPCAST(IDEDevice) by IDE_DEVICE()
   hw/ide/qdev: Replace DO_UPCAST(IDEBus) by IDE_BUS()

   hw/net/ne2000-pci: Replace DO_UPCAST(PCINE2000State) by PCI_NE2000()
   hw/net/tulip: Finish QOM conversion

   hw/pci/pci: Replace DO_UPCAST(PCIBus) by PCI_BUS()

   hw/scsi/scsi-bus: Replace DO_UPCAST(SCSIBus) by SCSI_BUS()
   hw/scsi/scsi-bus: Inline two uses of scsi_bus_from_device()

   hw/usb/dev-hub: Use QOM USB_HUB() macro instead of casting
   hw/usb: Replace DO_UPCAST(USBBus) by USB_BUS()

I'll respin as tiny series to help maintainers catch which patches
belong to their areas.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]