Avi Kivity wrote: > Anthony Liguori wrote: >>> >>>> >>>> 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? >> >> Indexed by the address or just sorted and searchable? MMIO addresses >> are rather sparse so the former seems like the only sane thing. > > I'm betting that a plain unsorted array will beat anything else with > less than 50 entries. Also that the difference will be swamped by > vmexit costs and by the actual emulation costs. > >> It also has to support subpage granularity. > > My patent pending unsorted array supports that out of the box.
heh :-) Okay, I'll make the change. Regards, Anthony LIguori ------------------------------------------------------------------------- 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/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel