From nobody Mon Feb 9 21:37:41 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1604747599; cv=none; d=zohomail.com; s=zohoarc; b=b81i5K/G794MlygpLxOgnvlGOp751Pisva43nG779is8H2trIGxeyrFjRrGr8igVOAP1Ns4FrEIeRSb5L7bm232AJJbX087EGjVOBvJ0t+g879f/+tneUpqW9MpAzoy3ooHpztLPTWFZXltY88y76fZGygflN5LcQQPV7FJdRFw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1604747599; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=jdMhzZg76PnY9+y/GdSAdPfqjiUTrwxbBgq5YBusWDU=; b=I4j60nvcpu0TuFy0/MvjWyb4twR7xke5TPustJe4PRrfM3REw2MATqX07fB/gADG1qbIUn25Pl3yG1XOUZS752qNrVyeFWVPoW2OCgqG304Tt/H7jtCDj8WkT7hgVB3MUadeg5DnjELKmc91dpfrPoWI/iX59zvjSdyIwq4muNw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1604747599116701.7787478693346; Sat, 7 Nov 2020 03:13:19 -0800 (PST) Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-28-1ErxF3_4Mru2Rl9voUSc_w-1; Sat, 07 Nov 2020 06:13:16 -0500 Received: by mail-wm1-f72.google.com with SMTP id g3so998931wmh.9 for ; Sat, 07 Nov 2020 03:13:16 -0800 (PST) Return-Path: Return-Path: Received: from localhost.localdomain (234.red-83-42-66.dynamicip.rima-tde.net. [83.42.66.234]) by smtp.gmail.com with ESMTPSA id e6sm5863006wrs.7.2020.11.07.03.13.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Nov 2020 03:13:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1604747597; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jdMhzZg76PnY9+y/GdSAdPfqjiUTrwxbBgq5YBusWDU=; b=jFIcka09uPyIsr42eAy6gtP4nktdEjeuIwLdu4hnD+g+MvG7g/xn9EoeIsMyDxlwy3+abF jNLlWzQMs17A7DRjTJEC1TJzg5U+agSYEs2Se8ONUnoNhXYWXeWM5XHlmp7TDgfbA8BiGz 0Gl6FqbHinUhFXZnQVl366P7+qoFyHA= X-MC-Unique: 1ErxF3_4Mru2Rl9voUSc_w-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jdMhzZg76PnY9+y/GdSAdPfqjiUTrwxbBgq5YBusWDU=; b=aUOp4YF3ud1OhCuYGHSX/fZSNOyNMqHiSU1OIIl5XMbMPJuprfOhadu9sFFHbaTZsZ cQxt2z7y0caVayCh30HGb7MZ5ngYiCTBb2nUNGxqPDHmbMTStPL3N9r7oxM81qTcemKI spWzvTY7GYxnHskvs822XPe1IjVFn6rjSFG7a22gNAJ/FJh0V0RkqmHaG55LJFwlfvxN LXuYxu/pbMfSm52RGZS6XBZFhXbUNQHwmAh+6I4RQ2wLzZsvpLkT6ImQi+fDjHJsq0+N 7pI3esHRAU6QDSR7bpvSXudLvRXUMXzOFnNs5HYY1Fcm2xjDjW4Jf6/SFXpa7x3VzD8W /kMQ== X-Gm-Message-State: AOAM5333him7FDnCxQoaiFHs5O37gx/AoRQpgIAPu2vQ26XjBo/8N4/0 pG2QUUUY+23/I3H+fJRc+NFnhmPXZzo5zIJhXfzsLbBVq6GnkQkHT+gUuiXYUFYOpxA2xlV6HG6 hm31xDFp3QXKuuA== X-Received: by 2002:a7b:c937:: with SMTP id h23mr4172033wml.19.1604747595087; Sat, 07 Nov 2020 03:13:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJxdIsa0Qb4BX9x1+b5iJnNfHBqXMYMlgqVuFAr+UW6+1U+v1i8joiTSD0vl8DlDq+sJxof/0g== X-Received: by 2002:a7b:c937:: with SMTP id h23mr4172025wml.19.1604747594954; Sat, 07 Nov 2020 03:13:14 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , Sai Pavan Boddu , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Miroslav Rezanina Subject: [PATCH-for-5.2 1/5] hw/usb/hcd-xhci: Make xhci base model abstract Date: Sat, 7 Nov 2020 12:13:03 +0100 Message-Id: <20201107111307.262263-2-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201107111307.262263-1-philmd@redhat.com> References: <20201107111307.262263-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) 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 Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Sai Pavan Boddu --- 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 =3D { .parent =3D TYPE_DEVICE, .instance_size =3D sizeof(XHCIState), .class_init =3D xhci_class_init, + .abstract =3D true, }; =20 static void xhci_register_types(void) --=20 2.26.2