Message ID | 20240710234222.2333120-2-jthoughton@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D40E158870 for <kvm@vger.kernel.org>; Wed, 10 Jul 2024 23:42:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720654961; cv=none; b=NkKclZeZSGIL/iPzs4GFa+ya2M1RtIKqiy/bt2hXLJSP7VdRU09xhABa8+8hDn4mYIVy5JGs2V+pss/HYtVujciFvyTAcbPuvNGTHku/rVluYjgmUWTPXfVWCxKemdDmo5BYPyZsUFs+Wnxb7UgfqGy0LGX7/AeODlW5kupeM6o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720654961; c=relaxed/simple; bh=xxkhVIBeGXY8pX54WQHQVUoU/lEQy1GRiLeaV2vAb5k=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=XeYlo7Tdfr88uYNlqz+1P5dsLhw8xBaNRh40tCMNolkvmakTV5Ye3tDxxT1JZwKenfmP7NpvWtRAQHksCzbKoX6HIysFZpq2HeSI/vpGQUvzaYoM603sf8PWlMbqhKO9o9E504e7jqT5JojoukCy2VIApb6Cagi3SaHHQc5IxEM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--jthoughton.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=Lyh8M3Vd; arc=none smtp.client-ip=209.85.219.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--jthoughton.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="Lyh8M3Vd" Received: by mail-yb1-f202.google.com with SMTP id 3f1490d57ef6-e03a544b9c8so403159276.2 for <kvm@vger.kernel.org>; Wed, 10 Jul 2024 16:42:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1720654958; x=1721259758; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=/kOa+bY4z73FQuKac3t3a5fniJTGUgyq//kzfHQQRXg=; b=Lyh8M3VdZs3SrnF22+yc6jjwGOAByZI/gs4WKQyaPWDQ/dZGlw7hv3Qt+tt7a8n0Ck FIsjNM39OA3GttUqKtaxtRf8ZHHimuA6Qe3rrPBKvjAk83Zyo3NTyfA+oB/941aPi1uS ifwteOT577EadUZswco3QaM87ObQzX6tq/iyn+XjuuHpWoIrz+8IlJB+mlo2XXR58G+Q 4C8dDQAHHF3ek5t4JFIQ15ymqnBw9ErC+GfACcRKLqObBQiQ8iHvF5KRkp3wMBPW15fu anfXxeZkwx56Nzjm5g2DFeQmPRY9g6J+2R9vIKDPNGu/x6BChGsjg0rZEI0EFTh9vbo0 O7Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720654958; x=1721259758; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/kOa+bY4z73FQuKac3t3a5fniJTGUgyq//kzfHQQRXg=; b=pyPfPgx2kVYSNNktMpJuTRQtIhZKhTPtehxUOnCPCqu+lXLPVj/Riz9EQChcsf7Cu9 eSsLlSZ700q5B4hlbfXziI1ZYNvT8rwxZYIM+k/3PkRJxGWwdeY5Qqpjmd7A6OE9uP8A AVgZUoyY/TStTkCUSgnWrFUnapxwG3dgJ1j/orZVoK+k/9mBhcmtBVQWg91y0FTX8YCH xvoYlSm7Tv6a4rdfIekDoAk1zpgDD4mrEZzDRgM7jp8bhtmPng6xPb7P+V4dKQ+z4D0V 5duPbCdj1nkTbNQ0x83fI3T6FcfjvhIO55sKZKaThdyRXWco7hj5lgEwTk/f47hGkkx0 zpog== X-Forwarded-Encrypted: i=1; AJvYcCUQIcG5/2f5hhQzcXQ9+AJS+Eq4yXqcelZMVGEe2dedsf+mp5NkyLFxvB8i8MBCYadXUvLuOwogCED3eo1MTLkE5z7W X-Gm-Message-State: AOJu0YxT/4IjovclqWYI3gqwYX1U/qLjfCEWrY7OJ9fxcov9PTrdSLnS HUTV4Gq9ACnEkV6tcC5EH1GdaDz4bGCc30uyEzOSjZ6U5xVLOUoDPnDqpEkBwe1YPqJH+RwRf0z BvwZoH7S0bxG8pD9HYA== X-Google-Smtp-Source: AGHT+IEQILe/Q46nVYjT6VvqMQTMH6KcT24WPu+37xvorf2J37tSktUkMizR+hLJi1VSG+Olb8BNJuoCHzqVyuyh X-Received: from jthoughton.c.googlers.com ([fda3:e722:ac3:cc00:14:4d90:c0a8:2a4f]) (user=jthoughton job=sendgmr) by 2002:a05:6902:161a:b0:e02:6dcf:e9ab with SMTP id 3f1490d57ef6-e041b0688b2mr15353276.6.1720654958570; Wed, 10 Jul 2024 16:42:38 -0700 (PDT) Date: Wed, 10 Jul 2024 23:42:05 +0000 In-Reply-To: <20240710234222.2333120-1-jthoughton@google.com> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: <kvm.vger.kernel.org> List-Subscribe: <mailto:kvm+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:kvm+unsubscribe@vger.kernel.org> Mime-Version: 1.0 References: <20240710234222.2333120-1-jthoughton@google.com> X-Mailer: git-send-email 2.45.2.993.g49e7a77208-goog Message-ID: <20240710234222.2333120-2-jthoughton@google.com> Subject: [RFC PATCH 01/18] KVM: Add KVM_USERFAULT build option From: James Houghton <jthoughton@google.com> To: Paolo Bonzini <pbonzini@redhat.com> Cc: Marc Zyngier <maz@kernel.org>, Oliver Upton <oliver.upton@linux.dev>, James Morse <james.morse@arm.com>, Suzuki K Poulose <suzuki.poulose@arm.com>, Zenghui Yu <yuzenghui@huawei.com>, Sean Christopherson <seanjc@google.com>, Shuah Khan <shuah@kernel.org>, Peter Xu <peterx@redhat.org>, Axel Rasmussen <axelrasmussen@google.com>, David Matlack <dmatlack@google.com>, James Houghton <jthoughton@google.com>, kvm@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev Content-Type: text/plain; charset="UTF-8" |
Series |
KVM: Post-copy live migration for guest_memfd
|
expand
|
diff --git a/virt/kvm/Kconfig b/virt/kvm/Kconfig index 754c6c923427..f1b660d593e4 100644 --- a/virt/kvm/Kconfig +++ b/virt/kvm/Kconfig @@ -117,3 +117,7 @@ config HAVE_KVM_GMEM_PREPARE config HAVE_KVM_GMEM_INVALIDATE bool depends on KVM_PRIVATE_MEM + +config KVM_USERFAULT + select KVM_GENERIC_MEMORY_ATTRIBUTES + bool
Some architectures will not support KVM_USERFAULT, so we need to have a build option to avoid including it for those architectures. Signed-off-by: James Houghton <jthoughton@google.com> --- virt/kvm/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)