From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cornelia Huck Date: Thu, 19 Dec 2019 19:51:32 +0000 Subject: Re: [PATCH v2 29/45] KVM: Introduce kvm_vcpu_destroy() Message-Id: <20191219205132.32d401f6.cohuck@redhat.com> List-Id: References: <20191218215530.2280-1-sean.j.christopherson@intel.com> <20191218215530.2280-30-sean.j.christopherson@intel.com> In-Reply-To: <20191218215530.2280-30-sean.j.christopherson@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Sean Christopherson Cc: Marc Zyngier , James Hogan , Paul Mackerras , Christian Borntraeger , Janosch Frank , Paolo Bonzini , James Morse , Julien Thierry , Suzuki K Poulose , David Hildenbrand , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-mips@vger.kernel.org, kvm-ppc@vger.kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kurz On Wed, 18 Dec 2019 13:55:14 -0800 Sean Christopherson wrote: > Add kvm_vcpu_destroy() and wire up all architectures to call the common > function instead of their arch specific implementation. The common > destruction function will be used by future patches to move allocation > and initialization of vCPUs to common KVM code, i.e. to free resources > that are allocated by arch agnostic code. > > No functional change intended. > > Acked-by: Christoffer Dall > Signed-off-by: Sean Christopherson > --- > arch/mips/kvm/mips.c | 2 +- > arch/powerpc/kvm/powerpc.c | 2 +- > arch/s390/kvm/kvm-s390.c | 2 +- > arch/x86/kvm/x86.c | 2 +- > include/linux/kvm_host.h | 1 + > virt/kvm/arm/arm.c | 2 +- > virt/kvm/kvm_main.c | 6 ++++++ > 7 files changed, 12 insertions(+), 5 deletions(-) Reviewed-by: Cornelia Huck