From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] slow_map: minor improvements to ROM BAR handling Date: Wed, 23 Dec 2009 11:25:10 +0200 Message-ID: <4B31E1F6.3090207@redhat.com> References: <20091222111044.GA16000@redhat.com> <4B30B603.8080707@suse.de> <20091222124311.GD16165@redhat.com> <4B30CAF2.4040409@suse.de> <20091222151911.GC18541@redhat.com> <4B30E470.2030001@redhat.com> <4B30E4BB.8000507@suse.de> <20091222152806.GA18676@redhat.com> <4B30E783.7080903@suse.de> <4B30E82A.5030702@redhat.com> <20091223091524.GB3192@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Alexander Graf , kvm@vger.kernel.org To: "Michael S. Tsirkin" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:27204 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751049AbZLWJZO (ORCPT ); Wed, 23 Dec 2009 04:25:14 -0500 In-Reply-To: <20091223091524.GB3192@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 12/23/2009 11:15 AM, Michael S. Tsirkin wrote: > >> We could certainly extend emulate.c to fetch instruction bytes from >> userspace. It uses ->read_std() now, so we'd need to switch to >> ->read_emulated() and add appropriate buffering. >> > You mean run with KVM, and TCG will kick in when there's > an instruction we can't support natively? > No. Read the instruction bytes from qemu and emulate them using emulate.c. -- error compiling committee.c: too many arguments to function