From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Gregory Haskins" Subject: Re: [PATCH 1/4] KVM: Adds support for in-kernel mmio handlers Date: Mon, 07 May 2007 10:37:24 -0400 Message-ID: <463F0143.BA47.005A.0@novell.com> References: <20070502212713.16738.8133.stgit@novell1.haskins.net> <20070502214315.16738.68984.stgit@novell1.haskins.net> <463EF198.1050303@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: "Avi Kivity" Return-path: In-Reply-To: <463EF198.1050303-atKUWr5tajBWk0Htik3J/w@public.gmane.org> Content-Disposition: inline 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 >>> On Mon, May 7, 2007 at 5:30 AM, in message <463EF198.1050303-atKUWr5tajBWk0Htik3J/w@public.gmane.org>, Avi Kivity wrote: > Gregory Haskins wrote: >> >> + >> +void kvm_io_bus_register_dev(struct kvm_io_bus *bus, struct kvm_io_device > *dev) >> +{ >> + BUG_ON(bus- >dev_count >= (NR_IOBUS_DEVS- 1)); >> + >> + bus- >devs[bus- >dev_count++] = dev; >> +} >> + >> > > Off by one? > > > Otherwise ok. > Good eyes. Fixed ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/