Message ID | 20241111230040.68470-1-alex.bennee@linaro.org |
---|---|
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:6307:0:b0:381:e71e:8f7b with SMTP id i7csp3288993wru; Mon, 11 Nov 2024 15:01:50 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWyUXWDqIhcHP1GAZZ/x3KAnalzA74dO/8w0umUNonmU+o0uyojr92l/DrJC9O/OU3PipkZZQ==@linaro.org X-Google-Smtp-Source: AGHT+IHWs+n8pMUtPlvY/G2g+/4yPWrD9ba+yWRoDhG58gP8s8So11kkompZ9qpQ5mgJUULdn0Rs X-Received: by 2002:a05:6102:94b:b0:4a4:97bc:c0d7 with SMTP id ada2fe7eead31-4aae138cc7dmr12413713137.8.1731366110583; Mon, 11 Nov 2024 15:01:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1731366110; cv=none; d=google.com; s=arc-20240605; b=KqJRK0TNy5sKqs4EjtZjjdjwcSq9A9/DbgPvneMeHj/qy2iii52m0HiCt2cHTzy3Fv mq5wxKzVhGpIvCRolJGwxSWWC7hkHGWD70FMM9ReHJdT5/K4nonRmM7OwGY2J3n5or+n lzZwuUYcP5+2wPmJL8cph/hHViKRpPp1nT8RNAvAY3tExqERb1R9HtDD2VskKe4/kYou p3NIW9/s+1diEYX6X1OrXKHPYfUtYwnXZNo3hJ9HPGjLzRnrERtznb+B8a39KVJhlaSz dM7tT0YhG2p2YfTQO+3fDvoUciHuQA4S7K+rDt49S7jIhKmvR0Itp3qn/bI+IjdLS0Oq d41w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=2jf5eXU7OOog4JuRVBDPTFD6Bzvpvpk+NdEpqLWLXPQ=; fh=eh2eOUL3wkt7Pgyu1tD9csqE7KtlWFIHSD2x7xKglP8=; b=ebjpq6AQirDpJcsz6G437/YZNgY2aYXH7VLeOuaT6+nYaOMnILFp3P+Zb09TnZIWwS 5WODKEe5bswaIuMx/9Utr3itfE3wLb5+bKRVMeb8BNho14pqFwQZ8gStiPZiUwaY0vr9 UlBg/QxRPPsByFwXX/UyKbUca4OrdPkHU5F6ec/VAVpRNPjCzKFJvfUh5FRZ7kBmql0l y9dpY6ZUr2UzzLRt5In/KfA1dRDhTw7ZqnyYEc9KxQO9hKoQB7QWgwl5va9IgYvaA9v0 nHC4uQEsp1J0QDUyZnFxORPEv3RgRM9Ez8OjCEvZB6rjzgTYmRg51BDPj/KHV7ecGf3o yIZw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IoE37ueu; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ada2fe7eead31-4aaa7ba1db0si3086043137.432.2024.11.11.15.01.50 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Nov 2024 15:01:50 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IoE37ueu; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1tAdP3-0000uj-Qg; Mon, 11 Nov 2024 18:01:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>) id 1tAdOp-0000tJ-8L for qemu-devel@nongnu.org; Mon, 11 Nov 2024 18:00:48 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>) id 1tAdOn-0001iw-Hc for qemu-devel@nongnu.org; Mon, 11 Nov 2024 18:00:47 -0500 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-43155abaf0bso44316705e9.0 for <qemu-devel@nongnu.org>; Mon, 11 Nov 2024 15:00:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1731366044; x=1731970844; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=2jf5eXU7OOog4JuRVBDPTFD6Bzvpvpk+NdEpqLWLXPQ=; b=IoE37ueuKqoPRlj3EYv5uN/MghZc6R+FKcmQc1RUcCDr9ZmcOBngUtLhdeD1NSx6xH UCK02Mr8aMtNExAUxyTtRrglxU1EsgJaZB1FMHoVpfLATreY0SI224SOmbR4l9w7DFKM 86gFCK3yjGvnxaVvgaS9sR0ZRBqqvaAQX2uwN6hIoIoNTYnpK04EXEUPmhn2Sp58WmpE N15v7idB3Q7tOSIwgw6m9MLpxtaCJjvPF9lcJBzShCtwL11WO3WEHvbinpyu04g9s3wr QT4AvZrUpN9k88QNGtLRVCC7lOWsgP5W66oiUotY7P09MDTQgQrc1NmuHA3puKsDtnZh eS5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731366044; x=1731970844; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2jf5eXU7OOog4JuRVBDPTFD6Bzvpvpk+NdEpqLWLXPQ=; b=WH8WliFA6+dbwfKwwkyLC9mXt7ASpozEHsm2KyOI+wFpG4v7XxpRe0HQtS8ptcRWPN pkl/wTVqz4mH7rzvY53VYN3fEyKngGqlQjT3QZAqfd+7TRoMDHyzyv1h76C1k8WgdTFI Gq9xqAEhs/fM61dDJ9shSTsFGefX7EQUzNgHyXc5PPRFU8A5+jVDeCfJDxOy7011zYit Sq8FgxG77bmokJXWbGxU0ssJU04Pmo7dPgxPRHBEJXakiYVb0bI+3gF48guZAXQrrfk4 x//X/W/+EzfBnFtGVI9L4sUO105uobudcPjwyn/nCViyT8V3e5R2wkA5EblDIRbwlZUr hlkA== X-Gm-Message-State: AOJu0YwLrg2OtTrhSW5AUa8hbxtlE9dBHxyLtfiM8TjBqQj7/H97ZHep i1+I2ENOpwMDcf4ixq2ZjZp/idryka5ZVUn7PSslZcq6KudwEaj8S+S26AF1QXk= X-Received: by 2002:a05:600c:3584:b0:432:7c08:d121 with SMTP id 5b1f17b1804b1-432b750331emr127277875e9.12.1731366043862; Mon, 11 Nov 2024 15:00:43 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432aa5b5fb1sm234004665e9.8.2024.11.11.15.00.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2024 15:00:41 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id C7B8F5FA35; Mon, 11 Nov 2024 23:00:40 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" <mst@redhat.com>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> Subject: [PATCH v2 0/2] virtio-gpu: coverity fixes Date: Mon, 11 Nov 2024 23:00:38 +0000 Message-Id: <20241111230040.68470-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x331.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
virtio-gpu: coverity fixes
|
expand
|
On Mon, Nov 11, 2024 at 11:00:38PM +0000, Alex Bennée wrote: > v2, > > Fixes after Dimitry's review. You should CC Gerd. > Alex. > > Alex Bennée (2): > hw/display: factor out the scanout blob to fb conversion > hw/display: check frame buffer can hold blob > > include/hw/virtio/virtio-gpu.h | 15 +++++++++ > hw/display/virtio-gpu-virgl.c | 22 +------------ > hw/display/virtio-gpu.c | 59 +++++++++++++++++++++------------- > 3 files changed, 52 insertions(+), 44 deletions(-) > > -- > 2.39.5