From patchwork Thu Apr 4 19:47:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 785833 Delivered-To: patch@linaro.org Received: by 2002:adf:f001:0:b0:33e:7753:30bd with SMTP id j1csp1006958wro; Thu, 4 Apr 2024 12:49:40 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUx5thHesT+bffJInFJvP5QoiEM8S4bcn8T7/NprlaizwTaoR//YCZttCCna400nco/odq+rjnALEtNmMkLnhNx X-Google-Smtp-Source: AGHT+IGGaJ9JHZi44BW0Y0h9dvpcIOth0Jb+BZSwumg3VWX8xckFcA8XxYMVyqpiB7uIjwTfiZ7Z X-Received: by 2002:a05:620a:4c5:b0:789:df6e:c412 with SMTP id 5-20020a05620a04c500b00789df6ec412mr3317538qks.24.1712260179966; Thu, 04 Apr 2024 12:49:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1712260179; cv=none; d=google.com; s=arc-20160816; b=f/mrUDjrMGWFPUJR9NatyQFzNDP5hp3q9sBkfS/+1IeDKeKsHMB+MRfEdMUCJFzvk6 i4hfjtimMdwnsHBmattctXkJJq3U6MHzJq+rgJnFIn4qaZHUxXb16ZSiGKciu4n1/1hQ BzjEHS2w5WqiTU/Q0DSxYF6rfsNX6fh+byqiY+Zxt5WikBZ3wtbq9RjBWx4QUrNzB67F qdp7qylidDyQSNCm5ToeEYrZwHCMwWNsnHjCP4Kc9mozeAKjftWQM7zllgTQ8sesLMxb D69Lg2qcovRMWTWmWhaR38oKM96yFpziNPALCoBmBM6I8Fkri3ZgGinKZpssIw8DIYdt WxrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=4RBM9iGLnlKBG0LPukIWmtJI1ZJZDBhgI9dJ0vdHJw0=; fh=Hg8td8PYSqLc5sVmjxXRQh3tLgG6j4ROQ6Lv3sLOFSg=; b=xxIRbN57kYDc/vEC7kWoUhI9cUS5SLEEKUl5MjODFtrGk8e41Wc2u0kh0opROOpxJi 3yOjE1716+jDbT2d8NA80YfI3HH+mODo366Abg/wryluUrnI9faiVdHl3xm9uvmfz1gI BPLZls2d2zg+mfjn9H2QyXFyVTkHQCs2SvVMAA3wcymik/b/WY0RdrvdkRE6xMNa3pIS UPPfom9/lFxfkHYG6ixBE9Zgf8lkkbphfdKjvdyQvlXrgY6KfYBDa/JJg1tg2APbgx6k WxSElEmwHhTESPoTkQVsMt2jEVsvUpHVX2RXzNWK/xOpMGHKnkMw7wdGNvKHfE9fbK06 eWrg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=r012QBM9; 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 vq4-20020a05620a558400b0078a461107d1si61553qkn.662.2024.04.04.12.49.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Apr 2024 12:49:39 -0700 (PDT) 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=r012QBM9; 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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rsT4P-0006XC-5k; Thu, 04 Apr 2024 15:48:21 -0400 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 ) id 1rsT4M-0006Wl-Gn for qemu-devel@nongnu.org; Thu, 04 Apr 2024 15:48:18 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rsT4I-0000JC-1l for qemu-devel@nongnu.org; Thu, 04 Apr 2024 15:48:15 -0400 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-4155819f710so10161265e9.2 for ; Thu, 04 Apr 2024 12:48:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712260093; x=1712864893; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4RBM9iGLnlKBG0LPukIWmtJI1ZJZDBhgI9dJ0vdHJw0=; b=r012QBM9k29iolkwC1jbAk/5PbxI+X54q3VHY1r1YkbVKQapvbMjShLAZ4MvDnPp+j U2TAyoHZDlY9e1ZxgrwsScvkzL8l/5GN/OI4Bda8y7Q/tqeSxOsVAuhfK6dhjwSCmsDa uBi0js9hiulwBz9ST5kgPMR18wLXXMxFJr+RZCWUdyz2hjt96nZdUCdKV51SPvl7me2F idc3RWNxMVjOYQg77nt753wXs/aej0VbFFeDx39XO9HZ612+3fXELUvE6+d9Gm2HdOGn NuFZuEcqVBYM0p3tBZdjFDWKsKxqKLVbVOcUuU9GXAbFFUn1jyzPjKYJvE/OFN9bR3B8 CYEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712260093; x=1712864893; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4RBM9iGLnlKBG0LPukIWmtJI1ZJZDBhgI9dJ0vdHJw0=; b=tFD9v1R9Zl5MNCsuRkWxwyfJjrypBMSjxZy+LIIIXUyboEruJMM4GvykUYP7DkQo5h 9ZUUhuHeT3LmgHopqyn9rDvgTw64ceRXoXhiUStRTfMIPxmWyiXxwWDo3PEBrXN/8BSj DHL4h23li4I+/gYjm/OYmW1lNXyVfsvEr/yhdMKz+7yHN34tQi9SkPmnvJX/YnM3yhau 0qW3eq1pWay/xvzba4dgFMlElBIjw7lTaYSTC2P6kQGP13cYYGa573pY+/TbWz93KhyF z6fy2C820JMroEz7GYzqG8gHdSHP54cch+G+/DffVYSG4UxkoteM8u4JGMjM02o3Ml4g dGzw== X-Forwarded-Encrypted: i=1; AJvYcCX0QGMw1hD1GOdeYik+F/6IqtrETk5BUxT9p/+br/cNDCNHjAT8Em5zqqKo9/Lnbvt2cCrOOjL33hdMNzRr4FyM2cjytE0= X-Gm-Message-State: AOJu0YwL+2SEcqTgSqKbzVQ6xUApqIUT9zkYyKV+UCnBtnYyXUg8x80G w6FWDgcqCphMM+XNVAT7L/f3BoS7KJiuwwulGzrHJW5f72CH3HXnat+p+GaqoX7CdEFR1ezZmnI n X-Received: by 2002:a05:600c:1c87:b0:414:63c2:23cc with SMTP id k7-20020a05600c1c8700b0041463c223ccmr539389wms.2.1712260092706; Thu, 04 Apr 2024 12:48:12 -0700 (PDT) Received: from m1x-phil.lan ([176.187.216.111]) by smtp.gmail.com with ESMTPSA id k7-20020a5d5187000000b003434c764f01sm146600wrv.107.2024.04.04.12.48.11 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 04 Apr 2024 12:48:12 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: Michael Tokarev , Laurent Vivier , qemu-devel@nongnu.org Cc: Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Thomas Huth Subject: [PATCH-for-9.1 2/7] yank: Restrict to system emulation Date: Thu, 4 Apr 2024 21:47:52 +0200 Message-ID: <20240404194757.9343-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240404194757.9343-1-philmd@linaro.org> References: <20240404194757.9343-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=philmd@linaro.org; helo=mail-wm1-x335.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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org The yank feature is not used in user emulation. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- util/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/meson.build b/util/meson.build index 0ef9886be0..247f55a80d 100644 --- a/util/meson.build +++ b/util/meson.build @@ -60,7 +60,6 @@ util_ss.add(files('stats64.c')) util_ss.add(files('systemd.c')) util_ss.add(files('transactions.c')) util_ss.add(files('guest-random.c')) -util_ss.add(files('yank.c')) util_ss.add(files('int128.c')) util_ss.add(files('memalign.c')) util_ss.add(files('interval-tree.c')) @@ -76,6 +75,7 @@ if have_system if host_os == 'linux' util_ss.add(files('userfaultfd.c')) endif + util_ss.add(files('yank.c')) endif if have_block or have_ga