From: Paul Mackerras Date: Tue, 09 Apr 2019 06:19:16 +0000 Subject: Re: [PATCH v4 10/17] KVM: PPC: Book3S HV: XIVE: add get/set accessors for the VP XIVE state Message-Id: <20190409061916.GA3429@blackberry> List-Id: References: <20190320083751.27001-1-clg@kaod.org> <20190320083751.27001-11-clg@kaod.org> In-Reply-To: <20190320083751.27001-11-clg@kaod.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: =?iso-8859-1?Q?C=E9dric?= Le Goater Cc: kvm-ppc@vger.kernel.org, David Gibson , kvm@vger.kernel.org, Michael Ellerman , linuxppc-dev@lists.ozlabs.org On Wed, Mar 20, 2019 at 09:37:44AM +0100, C=E9dric Le Goater wrote: > The state of the thread interrupt management registers needs to be > collected for migration. These registers are cached under the > 'xive_saved_state.w01' field of the VCPU when the VPCU context is > pulled from the HW thread. An OPAL call retrieves the backup of the > IPB register in the underlying XIVE NVT structure and merges it in the > KVM state. Since you're adding a new one_reg identifier value, you need to update the list in Documentation/virtual/kvm/api.txt. Paul.