From patchwork Thu Jan 9 02:17:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 182759 Delivered-To: patch@linaro.org Received: by 2002:ac9:44c4:0:0:0:0:0 with SMTP id t4csp3322551och; Sun, 12 Jan 2020 08:10:54 -0800 (PST) X-Google-Smtp-Source: APXvYqwEkGtR+9gI3xNtgF06MDBdtmX0bXsIOPxLx+SxxPWY/+m6ywD5IaCkUTI7N5LTI+PaQTsO X-Received: by 2002:a50:f012:: with SMTP id r18mr12943635edl.97.1578845096503; Sun, 12 Jan 2020 08:04:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578845096; cv=none; d=google.com; s=arc-20160816; b=LB80hqo8zKzcO5AviA/VKLpYbsjodoJMJT84N1Ri9LNpYHiPdYJ0gZ6qwMmMKgHSkr B3FLCAwD+d8cXRmcgk92DDzFmVT65M1s85ZW3Wt2A7s7gJp+Vqi/jU/pIwxx2cnCRPpG 5ynbnaasna3dgLsapjVbp9a2OVAdWT/W4OrRoSyUKNFWA2c40Nf6HrkMkRUIlv0iRxHH co2Z0gTRyjdyv+dFu9/JKP3/EZSzt5ysCw2J7QTYjpT84d9B24zP5mEoLqLdbgfYHjxb 2sE7UUTzbwyfCpENX62lGXqAdklXp+6bmD3a6OsipT6O1RY+u4jprFsyoHXMJIbIiSf7 Feig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=uY7Lt5g9YurdfmHwmcMrcFnNWqbcQeorv2ToloQVRY8=; b=QiuS5UPPwpZQ1dDFXj7Ik7tAWvmG6pHz6WyctJpYZd6e/3dtZCqn8hA8xdCSgDVpnv dJBn0ujsE/syN9JbBYKP8FK96FH5kwpf4ZQ3KByGTcASbvFRFD0CsPP8R3slzKOnh0qr zH/f8LDWo35WAnxpelYidb32PGA5R9qZiGe/nWKcizxg2sBwLp9jsozQqSPH+h3d4LAB gaCrRbRexN1Ilf9N3WFt5hGL9uuf+0vDyWq5yaDc24uTV6gLmSG62/GTs+9fheSakIiO 9CCKoZqKvID2uO/nZOkR3LKhVEjhpX262/IqvRgyDPLTx5OIlYcGM6OSOtMQVQoGjCwF 7gsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wlNVyIAg; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a21si5554205edv.438.2020.01.12.08.04.56 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 12 Jan 2020 08:04:56 -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=wlNVyIAg; 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 Received: from localhost ([::1]:53432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipNR7-0002s3-B9 for patch@linaro.org; Wed, 08 Jan 2020 21:20:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34430) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipNNz-0007FT-Rv for qemu-devel@nongnu.org; Wed, 08 Jan 2020 21:17:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipNNw-00084V-9N for qemu-devel@nongnu.org; Wed, 08 Jan 2020 21:17:23 -0500 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]:42506) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ipNNu-00080Q-5b for qemu-devel@nongnu.org; Wed, 08 Jan 2020 21:17:18 -0500 Received: by mail-pf1-x444.google.com with SMTP id 4so2561472pfz.9 for ; Wed, 08 Jan 2020 18:17:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uY7Lt5g9YurdfmHwmcMrcFnNWqbcQeorv2ToloQVRY8=; b=wlNVyIAgumKS1Us9ZsgKoRUE+syA1Kd9TJaVwALoxoWAAkE2qaRqjs9iUcQNbU+kGI GOX9KH419cztuRCBp4d+r7Hpvt8SBCbFIsMfph6dLEuXGfs2noG73UEZGYdsms4LY5IP E4lAmSRH+o1Lz28ruRtCLIfAb4dhZmeQqlohgEwQkQw2OyzPy4KL7gPvMuQyd3U1BXc6 5gt1w0NjNSS6Mw8pDolPK13m9ZnVmD0OlH71tj/Y8tFiUKtDd5VpWwdPr1vP5/Q2JQcT cbKLQuQOZkcyAkeMWfkSWpVfwkZhkeCFvCgeAET0iDWf/lf2zJlMhrp47v3k2SwFMIue 7wCw== 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:mime-version :content-transfer-encoding; bh=uY7Lt5g9YurdfmHwmcMrcFnNWqbcQeorv2ToloQVRY8=; b=gSW/cKVeBoRBb3Ytaph0ugmgVZpcXRC0g5eA/izBMRZaQvntcj4ADj7btYLuAcPg5p xWXPjskHZvw52CEFt8gee6zvBOh8CnsoqY7o0YNMM7o1Q51D+ovNQd57v3SMdX56pfuz jhaPCqtnL+MM8cM4QTkl96lblJ6Jv7siP3DNn3PxB+hvydC4EFoTeaiKK5KKHPhYFe58 NIcQ6OGPtJd2WVDgGIWG3gTqhwrHfIyIyLRBS8gWmehNsbxShSaaAdLsrB/qMmEgtJ0m QPenTUCkoKfByaF7kJPF/9iYVPlBt1DnwdIRddvVgTYv8l+bDsrabjljdqrqLFmBYq04 xH8g== X-Gm-Message-State: APjAAAUNwI9DXJr2VZ64dEkgcxwzk8F1DQS7CN0PebHh4/wBmcys1Ytz KLasVbjnKHY81J1UoOdg++MYYC9G+fBxQg== X-Received: by 2002:aa7:85d3:: with SMTP id z19mr8676875pfn.62.1578536236088; Wed, 08 Jan 2020 18:17:16 -0800 (PST) Received: from localhost.localdomain (alanje.lnk.telstra.net. [120.151.179.201]) by smtp.gmail.com with ESMTPSA id n26sm5166715pgd.46.2020.01.08.18.17.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jan 2020 18:17:15 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 0/4] vl: Fixes for cleanups to -accel Date: Thu, 9 Jan 2020 13:17:06 +1100 Message-Id: <20200109021710.1219-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::444 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pbonzini@redhat.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Running qemu-system-foo with no options should not generate a warning for "invalid accelerator bar". Also, fix some mistakes made while moving the code from accel/accel.c. r~ Richard Henderson (4): vl: Remove unused variable in configure_accelerators vl: Free accel_list in configure_accelerators vl: Remove useless test in configure_accelerators vl: Only choose enabled accelerators in configure_accelerators vl.c | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) -- 2.20.1