From: Paolo Bonzini Subject: Re: [PATCH v3 4/5] KVM: Add new exit reason for dirty ring full conditions Date: Fri, 3 Feb 2017 22:45:12 -0800 Message-ID: References: <201702031949.v13JnmGH032040@dev1.sn.stratus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit To: "Cao, Lei" , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , "kvm@vger.kernel.org" Return-path: Received: from mail-pf0-f196.google.com ([209.85.192.196]:34774 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753718AbdBDGqD (ORCPT ); Sat, 4 Feb 2017 01:46:03 -0500 Received: by mail-pf0-f196.google.com with SMTP id y143so3036614pfb.1 for ; Fri, 03 Feb 2017 22:45:17 -0800 (PST) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 03/02/2017 12:05, Cao, Lei wrote: > diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h > index 2b385f2..47dcb49 100644 > --- a/arch/x86/include/asm/kvm_host.h > +++ b/arch/x86/include/asm/kvm_host.h > @@ -74,6 +74,7 @@ > #define KVM_REQ_HV_RESET 28 > #define KVM_REQ_HV_EXIT 29 > #define KVM_REQ_HV_STIMER 30 > +#define KVM_REQ_EXIT_DIRTY_LOG_FULL 31 This is an architecture-independent bit, so add it to include/linux/kvm_host.h after KVM_REQ_UNHALT. Paolo