[Top] [All Lists]

Re: [PATCH v3 14/16] KVM: Move vcpu_load to arch-specific kvm_arch_vcpu_

To: Christoffer Dall <>, Cornelia Huck <>
Subject: Re: [PATCH v3 14/16] KVM: Move vcpu_load to arch-specific kvm_arch_vcpu_ioctl
From: Paolo Bonzini <>
Date: Tue, 12 Dec 2017 17:47:21 +0100
Cc: Christoffer Dall <>, Christian Borntraeger <>,, Andrew Jones <>, Radim Krčmář <>, Marc Zyngier <>,,, James Hogan <>,, Paul Mackerras <>,,
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=1tZhXIdBiK+/A9SzT0dCj8/InryiDXoncXLPhbikw4E=; b=s7HG9HhUA2LT5plZLYIPLZkle5W+xPhnII2pIRvCPv/RywAiNM47ZzUcGAv5dt+9zI gYi8HzjOoN5jU739mKQ+IoFLxJMMCMGOKaAJf0G7/bM07gGfygaN0n7c/3hxB4aSxVdP YB9lqdutjYa289gblIj1LMlfRxAnVHvIPIylBr+eVFprGFM7OYD5ycQHK3srTIVN1Fhb zKmo4G8vKw8Q7pYjMKY/WPFwzPoKNG1q+khxhCXACRL/dv1qLrIT845taOcUY5/hkpdb yDD2pYrjo1nP448Z0BgIaJeZKH/XRU65FETWkB9oiTAz8mV+he7Xjc/bmsmay3VRz64S JRbw==
In-reply-to: <20171211152226.GJ910@cbox>
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
Original-recipient: rfc822;
References: <> <> <> <20171211152226.GJ910@cbox>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0
On 11/12/2017 16:22, Christoffer Dall wrote:
> I find the special casing with the immediate return a bit ugly. Maybe
> introduce a helper async_vcpu_ioctl() or so that sets -ENOIOCTLCMD in
> its default case and return here if ret != -ENOIOCTLCMD? Christian,
> what do you think?

I'll post my attempt at it shortly.



<Prev in Thread] Current Thread [Next in Thread>