From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] Use a table to dispatch IO requests in kvmctl Date: Wed, 10 Oct 2007 15:25:33 +0200 Message-ID: <470CD2CD.5090903@qumranet.com> References: <11919660094186-git-send-email-aliguori@us.ibm.com> <470C7BDC.7020106@qumranet.com> <470CD298.8060704@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Jerone Young , Hollis Blanchard To: Anthony Liguori Return-path: In-Reply-To: <470CD298.8060704-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Anthony Liguori wrote: > Avi Kivity wrote: >> Anthony Liguori wrote: >> >>> This patch attempts to clean up kvmctl so that it can be more easily >>> made to >>> work for multiple architectures and to support more emulation. >>> >>> It introduces a io dispatch mechanism. This mechanism supports subpage >>> granularity but is optimized to efficiently cover regions of pages >>> too. It's >>> a 64-bit address space that's structured as a 5-level table. >>> >> >> >> Why not use a simple array? >> > > For MMIO too? Yes. > > QEMU uses an array for PIO but a table for MMIO. I figured it would > be best to just use the same table. Or the same array? -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/