Received: from eggs.gnu.org ([140.186.70.92]:55782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qw9rv-0006h6-0o for qemu-devel@nongnu.org; Wed, 24 Aug 2011 05:35:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qw9rt-0005lC-KM for qemu-devel@nongnu.org; Wed, 24 Aug 2011 05:35:30 -0400 Received: from fe01x03-cgp.akado.ru ([77.232.31.164]:64730 helo=akado.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qw9rt-0005ky-B5 for qemu-devel@nongnu.org; Wed, 24 Aug 2011 05:35:29 -0400 Date: Wed, 24 Aug 2011 13:35:18 +0400 (MSD) From: malc In-Reply-To: <1314144835-29098-1-git-send-email-rth@twiddle.net> Message-ID: References: <1314144835-29098-1-git-send-email-rth@twiddle.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [Qemu-devel] [PATCH 00/16] isa_register_portio_list, v2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: qemu-devel@nongnu.org, avi@redhat.com On Tue, 23 Aug 2011, Richard Henderson wrote: > The problem that malc saw with sb16 was a major think-o on my part > with the whole interface. We can't re-use the const sub-arrays of > the original MemoryRegionPortio array because they have the wrong > offset for the MemoryRegion to which it is attached -- the lookup > in find_portio fails. We must adjust the offsets of the old_portio > array to be based against the MemoryRegion. > > Which means we can easily eliminate the major complaint that came > with the previous round of comments -- the double PORTIO_END_OF_LIST > and the explicit marking of the ranges. All we require of users > is that the array be sorted by offset. > > The entire patch set is at > > git://repo.or.cz/qemu/rth.git mem-api-isa > > and is of course based on > > git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git memory/master > > Avi, the first two patches are fixes for compile errors in your > tree. They probably ought to be squashed when next you rebase. > > Malc, I tested sb16 vs the xtc-play you provided. However I failed > to test the gus changes; the xtc-play program could not recognize > the device with "--device gus" before or after the patch set. > Should I be using another set of command-line options for that? > I guess xtc can't live without environment variable which tells it where gus is located `set ULTRASND=240,3,3,7,7'. Anyhow i've tested things and both sb16 and gus work, thanks. -- mailto:av1474@comtv.ru