From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9zgc-0008JS-Tc for qemu-devel@nongnu.org; Fri, 18 Dec 2015 13:23:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9zgZ-00072p-Pe for qemu-devel@nongnu.org; Fri, 18 Dec 2015 13:23:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9zgZ-00072k-Jm for qemu-devel@nongnu.org; Fri, 18 Dec 2015 13:23:23 -0500 References: <1447158995-21919-1-git-send-email-asmetanin@virtuozzo.com> <1447158995-21919-6-git-send-email-asmetanin@virtuozzo.com> <01cc01d139a7$7baad550$73007ff0$@samsung.com> <56742DF7.9000902@redhat.com> From: Paolo Bonzini Message-ID: <56744F17.20707@redhat.com> Date: Fri, 18 Dec 2015 19:23:19 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v4 5/5] kvm/x86: Hyper-V kvm exit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Hornyack Cc: kvm list , Gleb Natapov , Pavel Fedin , qemu-devel@nongnu.org, Roman Kagan , Andrey Smetanin , "Denis V. Lunev" On 18/12/2015 19:10, Peter Hornyack wrote: > On brief inspection of Andrey's patch (I have not been following > closely) it looks like the kvm_hyperv_exit struct that's returned to > userspace contains more data (control, evt_page, and msg_page fields) > than simply the value of the MSR, so would the desired SynIC exit fit > into a general-purpose exit for MSR emulation? This would be a special case that is used even if the hyperv MSRs are emulated in the kernel. Other exit subcodes than KVM_EXIT_(MSR_)HYPERV_SYNIC would be used for your usecase of for MSR emulation in userspace. Paolo