On 9 Aug 2005, at 06:27, Chris Wright wrote: >> One general approach to this is to consider errors as faults to be >> delivered to the guest, since in many cases, errors result from >> protection violation attempts. This has the benefit of not presenting >> the two problems I just mentioned. > > Hmm, actually sounds like that may be just moving the problem. In many cases we actually wrap a hypercall in BUG_ON(), which is pretty much turning it into a fault. :-) The current way, the guest at least has the option of politely handling error codes, if it sees fit to in some situations. -- Keir