On 23/08/2024 8:16 am, Jan Beulich wrote: > Generally it is not a good idea to use BUG() in emulator code. Even for > internal flaws we're better off returning errors to callers, rather than > crashing the system. Replace the sole remaining use and remove the > test / fuzzing harness surrogate. Put in place a declaration pleasing > the compiler when finding uses in Xen headers, while at the same time > breaking the build (at linking time) in case an active reference would > newly appear. > > Suggested-by: Andrew Cooper <andrew.coop...@citrix.com> > Signed-off-by: Jan Beulich <jbeul...@suse.com>
Acked-by: Andrew Cooper <andrew.coop...@citrix.com>