Looks good. Reviewed-by: Sai Pavan Boddu <sai.pavan.bo...@xilinx.com>
Thanks, Sai Pavan > -----Original Message----- > From: Philippe Mathieu-Daudé <phi...@redhat.com> > Sent: Saturday, November 7, 2020 4:43 PM > To: qemu-devel@nongnu.org > Cc: Gerd Hoffmann <kra...@redhat.com>; Sai Pavan Boddu > <saip...@xilinx.com>; Philippe Mathieu-Daudé <phi...@redhat.com>; > Miroslav Rezanina <mreza...@redhat.com> > Subject: [PATCH-for-5.2 1/5] hw/usb/hcd-xhci: Make xhci base model abstract > > The TYPE_XHCI model is abstract and can not be used as it. > It is meant to be overloaded by children classes. Restore it as abstract type. > > Fixes: 8ddab8dd3d8 ("usb/hcd-xhci: Split pci wrapper for xhci base model") > Reported-by: Miroslav Rezanina <mreza...@redhat.com> > Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> > --- > hw/usb/hcd-xhci.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/hw/usb/hcd-xhci.c b/hw/usb/hcd-xhci.c index > 79ce5c4be6c..57b692ad849 100644 > --- a/hw/usb/hcd-xhci.c > +++ b/hw/usb/hcd-xhci.c > @@ -3595,6 +3595,7 @@ static const TypeInfo xhci_info = { > .parent = TYPE_DEVICE, > .instance_size = sizeof(XHCIState), > .class_init = xhci_class_init, > + .abstract = true, > }; > > static void xhci_register_types(void) > -- > 2.26.2