From nobody Tue Dec 16 07:41:27 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@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 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1650874991; cv=none; d=zohomail.com; s=zohoarc; b=YTsM80x+4VLl7fojrK/oKfF8suqy7sVlpzlvsli8yd559SQMJ7hhKJkdfXAMrZ/yMQKbek+/Pc4obDCFOq2eHtVcGLJ0i8p03xWlZQYrP2KeHXiJst1JgrBKG96iLmDmcZa7JsrJEw3dLLmbBm/ow7wYk/LDfi2Kyh9kFM3G57c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1650874991; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=gedXaEU9mdSzLcQUY6OVe9Xoeu9dbw5uLfUiFLxMZHc=; b=S8CeNsVDECanDKEnDD4tSM81Mwkl8FyBpdLj6iRZ+A2zz1d8v60Whp1TfJ7WpNiR9WJX8AXcENRddYwtpb2RqWr4OxwE2RLOWyh/cuXOuUr3qeXH2uUzHSt5FFI5/VQI9S0c4e/iaMK1poTdysBpIBtAUpGbaq5QH+qq0roXYNE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1650874991101786.055129259373; Mon, 25 Apr 2022 01:23:11 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-202-i_YB8Bu4Mpa9AWOqnVwREw-1; Mon, 25 Apr 2022 04:22:26 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 79805185A7A4; Mon, 25 Apr 2022 08:22:17 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 65109404E4AF; Mon, 25 Apr 2022 08:22:17 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 9D7B9194037A; Mon, 25 Apr 2022 08:22:15 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id B71541940355 for ; Mon, 25 Apr 2022 08:22:10 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id A85C440D0188; Mon, 25 Apr 2022 08:22:10 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast07.extmail.prod.ext.rdu2.redhat.com [10.11.55.23]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A450D40D0187 for ; Mon, 25 Apr 2022 08:22:10 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 825C13C021B3 for ; Mon, 25 Apr 2022 08:22:10 +0000 (UTC) Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-613-bxYsG-KWMrOD6iWZy5p19w-1; Mon, 25 Apr 2022 04:22:06 -0400 Received: by mail-wr1-f71.google.com with SMTP id y13-20020adfc7cd000000b0020ac7c7bf2eso1724711wrg.9 for ; Mon, 25 Apr 2022 01:22:06 -0700 (PDT) Received: from wheatley.localdomain (nat-pool-brq-t.redhat.com. [213.175.37.10]) by smtp.gmail.com with ESMTPSA id e9-20020a056000178900b0020a9f995a3csm8466324wrg.24.2022.04.25.01.22.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Apr 2022 01:22:04 -0700 (PDT) Received: from wheatley.redhat.com (wheatley.k8r.cz [127.0.0.1]) by wheatley.localdomain (Postfix) with ESMTP id 4D44467B1B5E; Mon, 25 Apr 2022 10:22:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1650874990; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=gedXaEU9mdSzLcQUY6OVe9Xoeu9dbw5uLfUiFLxMZHc=; b=IM78PEvHInAfGcjl2daisN4HU2GOQxkL0+4g+rg7uAdGRCsVX8NVTxuIkUOu1i053xWVsY FoJtoTh8WaOP59L6hdcuvMNAR3pmRDGL/fO3K7hfJx73hjpSOZbWplz8Kzd9cCm0AmaA1C RR9/BrShipdeSa/CuqovCuUb6njeYXw= X-MC-Unique: i_YB8Bu4Mpa9AWOqnVwREw-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: bxYsG-KWMrOD6iWZy5p19w-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gedXaEU9mdSzLcQUY6OVe9Xoeu9dbw5uLfUiFLxMZHc=; b=OMplnFr2UVgnKkCxK5TH6h4Fs/2LZeCxugKVOjma6kxnmL6Nb0j2IYvxuDmBn+xk22 usia8XovsFg6f+UhxWpT4cMWMOSYW54dUzPm2MexrG6IPkIo2QULFZavq+XpZoLW75wP eRTuUSMTOeA4k0vP0QeFADm8iUICbjiRTcrxkLkEX0L7q+N4WmK4M2kFc56R38seC/aI p9X3+Q2V8ZTZynLv/n2CcMxAAizUCNRDRpcpPtIy52fZJ3Hpbj5BciUWHABH/d0AhDFf yXgNaO43ALQgg8QrpxSHlFLhKgB5T6XNyLKAXMZx8sBaa5qT8BJLmVlOU15gRnpDeEjn DQng== X-Gm-Message-State: AOAM5303JkIymTy/g2beYIWUJ73H2DoJ09aZRHwqUPGpGMw8IcXnrV2i zsfGMrO581n65w5QQb1tLLsgUroJlMZ9aoBD2sNR4s7zctBK6k4DoVMqIsZhlvaVmDGPIplYWgm IwzA63fwPihwE13ZfB/o= X-Received: by 2002:a5d:64e4:0:b0:20a:e005:cc96 with SMTP id g4-20020a5d64e4000000b0020ae005cc96mr708553wri.402.1650874925645; Mon, 25 Apr 2022 01:22:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvgkO0CivWwDJyQNO38wTOSZhz/sNkJZgmhGnuOhQaqju/u9/FUPpSUw0KbbYEt3haVP9WCA== X-Received: by 2002:a5d:64e4:0:b0:20a:e005:cc96 with SMTP id g4-20020a5d64e4000000b0020ae005cc96mr708518wri.402.1650874925442; Mon, 25 Apr 2022 01:22:05 -0700 (PDT) From: Martin Kletzander To: qemu-devel@nongnu.org Subject: [PATCH 09/18] hw/display/xlnx_dp.c: Add audiodev property Date: Mon, 25 Apr 2022 10:21:52 +0200 Message-Id: <16963256573fcbfa7720aa2fd000ba74a4055222.1650874791.git.mkletzan@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Stefan Hajnoczi , libvir-list@redhat.com, Christian Schoenebeck , Yanan Wang , Gerd Hoffmann , "Edgar E. Iglesias" , Qiuhao Li , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , Marcel Apfelbaum , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Laurent Vivier , Thomas Huth , Alistair Francis , Alexander Bulekov , Bandan Das , qemu-arm@nongnu.org, Jan Kiszka , Pavel Dovgalyuk , Eduardo Habkost , Darren Kenny , Thomas Huth , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-ppc@nongnu.org, Paolo Bonzini Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.84 on 10.11.54.2 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1650874992520100015 Content-Type: text/plain; charset="utf-8"; x-default="true" There was no way to set this and we need that for it to be able to properly initialise. Signed-off-by: Martin Kletzander --- hw/display/xlnx_dp.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hw/display/xlnx_dp.c b/hw/display/xlnx_dp.c index 9bb781e31254..b16d6be2b5cc 100644 --- a/hw/display/xlnx_dp.c +++ b/hw/display/xlnx_dp.c @@ -1357,6 +1357,11 @@ static void xlnx_dp_reset(DeviceState *dev) xlnx_dp_update_irq(s); } =20 +static Property xlnx_dp_device_properties[] =3D { + DEFINE_AUDIO_PROPERTIES(XlnxDPState, aud_card), + DEFINE_PROP_END_OF_LIST(), +}; + static void xlnx_dp_class_init(ObjectClass *oc, void *data) { DeviceClass *dc =3D DEVICE_CLASS(oc); @@ -1364,6 +1369,7 @@ static void xlnx_dp_class_init(ObjectClass *oc, void = *data) dc->realize =3D xlnx_dp_realize; dc->vmsd =3D &vmstate_dp; dc->reset =3D xlnx_dp_reset; + device_class_set_props(dc, xlnx_dp_device_properties); } =20 static const TypeInfo xlnx_dp_info =3D { --=20 2.35.1