From nobody Mon Feb 9 16:21:15 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=oracle.com ARC-Seal: i=1; a=rsa-sha256; t=1586167426; cv=none; d=zohomail.com; s=zohoarc; b=PbiXOsA+2dZQRrDkCWRi83fFbQJ+IMKFcfB7YtiSCAqWHFwceS8EPDZq+0BgOAZUcCUlYCevF+Zlf2cM1mVR4qS2jZXZluICbSSdmzX1zh9bufFyzzQk27JMW6cB43/ety1vwyOef92ZlmxHVA6AAy07PVyIkiALdq9PqxMjE0E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1586167426; h=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=Mp0pIOa7jmLQH3zhd/vSln1/RYrdggQWV5RgSTlLgKM=; b=RcficPrDZjtPqNgHWd+QczFH+OiwVEWY16WTyPIvXIiZhDs9OhRGu3hIq1VLYTYQIXb7aVQQx/OHPY/R7dwHG5Xpv5XtgIQQHhRhWBYj7rPO3QCv4woJXCH/Wt63drFhRJ3amvKnNQr8xssqW7pzZKiVwWaw4nLdhB4ekhrXTJA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1586167426806962.9296513620357; Mon, 6 Apr 2020 03:03:46 -0700 (PDT) Received: from localhost ([::1]:57812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLObZ-0006M7-EQ for importer@patchew.org; Mon, 06 Apr 2020 06:03:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45037) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLOJA-00070w-8q for qemu-devel@nongnu.org; Mon, 06 Apr 2020 05:44:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLOJ8-0004Dy-7n for qemu-devel@nongnu.org; Mon, 06 Apr 2020 05:44:44 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:47298) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jLOJ7-0004CL-Vq for qemu-devel@nongnu.org; Mon, 06 Apr 2020 05:44:42 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0369gvI3028669; Mon, 6 Apr 2020 09:44:20 GMT Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2120.oracle.com with ESMTP id 306jvmwrdv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 06 Apr 2020 09:44:20 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0369fN8r066116; Mon, 6 Apr 2020 09:42:19 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3020.oracle.com with ESMTP id 307419xhnc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 06 Apr 2020 09:42:19 +0000 Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 0369gHIX013753; Mon, 6 Apr 2020 09:42:17 GMT Received: from flaka.hsd1.ca.comcast.net (/67.180.143.163) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 06 Apr 2020 02:42:17 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=corp-2020-01-29; bh=Mp0pIOa7jmLQH3zhd/vSln1/RYrdggQWV5RgSTlLgKM=; b=px0BepA7t/PuoGKVeDEcN56Xr3om1YtwNAZHM6lCw/nlXvyZYXeycUnahzf1XzuLsaHC eUz0oy/AAjuRVgaJpUht83lEZ+pzRR8qdH0XDD8pfnLxPsMVPAwWHCHOJTTnaeTvELrP A2eUHCXgXHY7OnFC5iXPLT+60p3OFdXrRkQ099AIZtIWaziNvwRvyFDChqYVhL8oY/79 N90IW9yGxkICPAXFnpFK4Pg3KXVeT5Y1IccM9wUmmd8xEJ9fQOEJFC3TdCVHXHrzW31Y OuvjwUOCBg5RG02Dj4KMsyuSYpJnWOz99hxep/prp4GJJ/dYID3w6aWg3CA6/ig6spyb ew== From: elena.ufimtseva@oracle.com To: qemu-devel@nongnu.org Subject: [PATCH v6 27/36] multi-process: add support to parse device option Date: Mon, 6 Apr 2020 02:41:17 -0700 Message-Id: <3bcef025cd4ea036d5834add99b44f72076f1076.1586165556.git.elena.ufimtseva@oracle.com> X-Mailer: git-send-email 2.25.GIT In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9582 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 phishscore=0 malwarescore=0 bulkscore=0 spamscore=0 adultscore=0 mlxlogscore=999 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004060084 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9582 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 suspectscore=1 mlxlogscore=999 mlxscore=0 bulkscore=0 adultscore=0 priorityscore=1501 lowpriorityscore=0 clxscore=1015 malwarescore=0 impostorscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004060084 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 156.151.31.85 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: elena.ufimtseva@oracle.com, fam@euphon.net, swapnil.ingle@nutanix.com, john.g.johnson@oracle.com, kraxel@redhat.com, jag.raman@oracle.com, quintela@redhat.com, mst@redhat.com, armbru@redhat.com, kanth.ghatraju@oracle.com, felipe@nutanix.com, thuth@redhat.com, ehabkost@redhat.com, konrad.wilk@oracle.com, dgilbert@redhat.com, liran.alon@oracle.com, stefanha@redhat.com, thanos.makatos@nutanix.com, rth@twiddle.net, kwolf@redhat.com, berrange@redhat.com, mreitz@redhat.com, ross.lagerwall@citrix.com, marcandre.lureau@gmail.com, pbonzini@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: Elena Ufimtseva Enable remote process to parse device command line option Signed-off-by: Elena Ufimtseva Signed-off-by: Jagannathan Raman Signed-off-by: John G Johnson --- remote/remote-opts.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/remote/remote-opts.c b/remote/remote-opts.c index cb7837bf13..f077221c71 100644 --- a/remote/remote-opts.c +++ b/remote/remote-opts.c @@ -57,6 +57,13 @@ void parse_cmdline(int argc, char **argv, char **envp) exit(1); } break; + case QEMU_OPTION_device: + if (!qemu_opts_parse_noisily(qemu_find_opts("device"), + optarg, true)) { + error_report("Unable to process device command"); + exit(1); + } + break; default: break; } @@ -71,5 +78,8 @@ void parse_cmdline(int argc, char **argv, char **envp) exit(0); } =20 + qemu_opts_foreach(qemu_find_opts("device"), device_init_func, NULL, + &error_fatal); + return; } --=20 2.25.GIT