On Sat, Jul 24, 2010 at 09:50:33AM +0200, Christoph Egger wrote: > > XXX kvm(3) will be fixed in another patch to properly handle both PAE and > > !PAE > > kernel dumps (VA => PA macros are slightly different, and need proper 64 > > bits > > PA support in kvm_i386). > > > > XXX Mixing PAE and !PAE modules may lead to unwanted/unexpected results. > > This > > cannot be solved easily, and needs lots of thinking before being declared > > safe (paddr_t/bus_addr_t size handling, PD/PT macros abstractions). > > > > How about making paddr_t always 64bit? That makes it much easier to deal > with in libkvm.
The overhead would need to be evaluated first. Also, I'm not sure this would fix all the libkvm issues (the page table format is still different). -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --