On 03/15/2012 05:37 PM, Peter Maydell wrote: > On 15 March 2012 15:31, Avi Kivity <[email protected]> wrote: > > On 03/15/2012 05:24 PM, Peter Maydell wrote: > >> On 15 March 2012 15:20, Avi Kivity <[email protected]> wrote: > >> > Please add code that detects the use of unimplemented features and > >> > aborts > >> > >> I'm not a great fan of letting the guest cause QEMU to abort... > > > > Why not? It (the guest) is going to malfunction anyway. > > It would be cleaner to cause the guest to take an exception > IMHO. (This is typically what ought to happen anyway if the > guest accesses an unimplemented cp15 register, although our > current mess has a habit of underdecoding these things.)
At the very least, print something out so it's clear that qemu may be at fault, not the guest. This is what kvm does in such cases (which we discourage, but still exist). -- error compiling committee.c: too many arguments to function
