DIV may raise an exception if dividing by zero or causing an overflow. Test it. Avi Kivity (3): Support #DE (divide error) exception handlers Allow emulation tests to trap exceptions Add DIV tests config-x86-common.mak | 3 ++- x86/emulator.c | 20 ++++++++++++++++++++ x86/idt.c | 8 +++++++- 3 files changed, 29 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html