> > +#ifdef __x86_64__ > > + assert_on_unhandled_exception(vm, vcpuid); > > +#endif > > Can we avoid the #ifdef and instead just implement a stub function for > the other archs? Then move the prototype the the function to a generic > header of course. > > Alex I considered that, I even implemented it that way at first, but when I looked around I saw no examples of stubs in the other archs, and I saw an example of leaving the #ifdef with a corresponding arch specific implementation (ie: kvm_get_cpu_address_width()). That's why I went with it this way. If the stub is preferred I can change it.