From nobody Mon Feb 9 15:10:24 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.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 216.205.24.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=1631143263; cv=none; d=zohomail.com; s=zohoarc; b=agLn5GwiLlspPXRp73TmyO9fVy7JVSRhWstz8es/DxuajAJnzLwPR0XMBPRJ7yiClv12yUXjMlev8S6ZWYSzms/WxCeUXKtXl99sM+m9qcvvOlUIINETvVPBH2pwaIPrViDA6FifuaA3qzM7zzkpYM3I9ykzsYDVp/l8Zml98w0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1631143263; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=Qceza/WB3CtMew9GJDkTkDK3S8IfTB0xLv9ykQRmWEY=; b=WSQbyPgTI5uCEc8xAmEVBljWrCPahTYVsuvYZ0RgwAVdLRyU8Njxi9Rc+KBaXa314Hv6uLjqdBElxPkkPcDofv49/nJ1396OycZn9CQw5PP1LKoThvfd9YnNMYTpr/CGrXH3bYLjKDclOIX6MvOtDkNcEOkrYGHl49epoD24zD8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1631143263238949.5349385212588; Wed, 8 Sep 2021 16:21:03 -0700 (PDT) Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-253-MyzAvPfMMdOMU9BqyhnZ4Q-1; Wed, 08 Sep 2021 19:21:01 -0400 Received: by mail-wm1-f69.google.com with SMTP id b139-20020a1c8091000000b002fb33c467c8so3099wmd.5 for ; Wed, 08 Sep 2021 16:21:01 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.. (21.red-83-52-55.dynamicip.rima-tde.net. [83.52.55.21]) by smtp.gmail.com with ESMTPSA id e8sm14000wrc.96.2021.09.08.16.20.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Sep 2021 16:20:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1631143262; 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=Qceza/WB3CtMew9GJDkTkDK3S8IfTB0xLv9ykQRmWEY=; b=BZf5flKneby/HH/TUn+2En4hcuRn0nmqUQlhObaQRtHRTS85+MH3RYybtdnDIP/nlNwvYl OqT0y4+C9/70yYBTF9ExiumHax9KbbMvWoqxYzsKno14Lq6ti5oo0k+SYsOzxIrHtDInIZ Ay6kf2TslFss/rF3NzONLuSpIgUsdmU= X-MC-Unique: MyzAvPfMMdOMU9BqyhnZ4Q-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=Qceza/WB3CtMew9GJDkTkDK3S8IfTB0xLv9ykQRmWEY=; b=ilMut2YMBJ01f3WaEJVH04RG3KPpBTHfKSlpY1lo7yRODbISMS5rjLs1uats5yz6E0 VIgprV2d0gfGFDZl7Qb+UgQqHfMCkWrBNPsBlYkymMwb0PAaRI5zma2uK5ydjiYB9YYe /xkOofDv2Zr4KHXWZE+2xjmtDdIjUraQfPLdPqYL2mw3r2NtlpnYWN0PtH4nslje51cP eN0gTcUi0WmsRWIvDcQAtNW2XpqjKpU9R1JgbDrZ0UvNkuQ2OWHLS/cOcE/LPPMYsq1h htwUHH2Ea7OBL84P7ad6M7J3kBXf8Z9dj1MJJAP7LlgXL7idHMScxs/hUyol8tJtjETM m54g== X-Gm-Message-State: AOAM5307Z5OY31Fy7sBdbk4FFTymWFSCbH1n/36D3UTeBuiN2EoLbK6f N2D2Wf8ypuXZSrGrLjR7mfRUj+29bGmJZQWuBzHId8mAlBNO+nYAGpkG90Xdvg/ygSsZZP8+I3N BvQzGw+mw1uJqag== X-Received: by 2002:adf:fd51:: with SMTP id h17mr109109wrs.178.1631143260116; Wed, 08 Sep 2021 16:21:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGCdGOUWAMH7ZAThbx+xTDgHh6zdyfVzIsc9P7NbgQbnC+meNZTqgQ/wi8QkKk51AhWel3JA== X-Received: by 2002:adf:fd51:: with SMTP id h17mr109093wrs.178.1631143259991; Wed, 08 Sep 2021 16:20:59 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Thomas Huth , Prasad J Pandit , "Michael S. Tsirkin" , Markus Armbruster , Paolo Bonzini , Eduardo Habkost , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Eric Blake , Richard Henderson , qemu-block@nongnu.org, Peter Maydell , xen-devel@lists.xenproject.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [RFC PATCH 07/10] hw/display: Mark ATI and Artist devices as unsafe Date: Thu, 9 Sep 2021 01:20:21 +0200 Message-Id: <20210908232024.2399215-8-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210908232024.2399215-1-philmd@redhat.com> References: <20210908232024.2399215-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) X-ZM-MESSAGEID: 1631143265258100003 Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/display/artist.c | 1 + hw/display/ati.c | 1 + 2 files changed, 2 insertions(+) diff --git a/hw/display/artist.c b/hw/display/artist.c index 21b7fd1b440..067a4b2cb59 100644 --- a/hw/display/artist.c +++ b/hw/display/artist.c @@ -1482,6 +1482,7 @@ static void artist_class_init(ObjectClass *klass, voi= d *data) dc->vmsd =3D &vmstate_artist; dc->reset =3D artist_reset; device_class_set_props(dc, artist_properties); + dc->taints_security_policy =3D true; } =20 static const TypeInfo artist_info =3D { diff --git a/hw/display/ati.c b/hw/display/ati.c index 31f22754dce..2f27ab69a87 100644 --- a/hw/display/ati.c +++ b/hw/display/ati.c @@ -1024,6 +1024,7 @@ static void ati_vga_class_init(ObjectClass *klass, vo= id *data) device_class_set_props(dc, ati_vga_properties); dc->hotpluggable =3D false; set_bit(DEVICE_CATEGORY_DISPLAY, dc->categories); + dc->taints_security_policy =3D true; =20 k->class_id =3D PCI_CLASS_DISPLAY_VGA; k->vendor_id =3D PCI_VENDOR_ID_ATI; --=20 2.31.1