From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takuya Yoshikawa Subject: Re: [RFC PATCH] emulator: Fix task switch into/out of VM86 Date: Tue, 10 Jan 2012 12:08:15 +0900 Message-ID: <4F0BAB9F.9070806@oss.ntt.co.jp> References: <1326139810-5448-1-git-send-email-kwolf@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Kevin Wolf Return-path: Received: from serv2.oss.ntt.co.jp ([222.151.198.100]:50657 "EHLO serv2.oss.ntt.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755975Ab2AJDG7 (ORCPT ); Mon, 9 Jan 2012 22:06:59 -0500 In-Reply-To: <1326139810-5448-1-git-send-email-kwolf@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: (2012/01/10 5:10), Kevin Wolf wrote: > * May the emulator access the vcpu or should this go through a new > x86_emulate_ops.set_rflags function pointer? I think the latter is better. Accessing the vcpu from the emulator looks like a layer violation. Takuya