Updated version of the series submitted by Richard Henderson. With the additional changes, the kvm-unit-tests debug extensions test case written by Paolo passes all tests except ICEBP.
Changes v1 -> v2: * Patch 2/9: Included fix from Paolo to make sure dr7 is updated after hw_breakpoint_remove() call and before hw_breakpoint_insert() call * New patch (3/9): Ensure bit 10 on DR7 is never cleared * Patch 6/9: Rebase on top of new version of patch 2/9 * New patch (8/9): Ensure always-1 bits on DR6 can't be cleared * New patch (9/9): Add DE to TCG_FEATURES Eduardo Habkost (3): target-i386: Ensure bit 10 on DR7 is never cleared target-i386: Ensure always-1 bits on DR6 can't be cleared target-i386: Add DE to TCG_FEATURES Richard Henderson (6): target-i386: Introduce cpu_x86_update_dr7 target-i386: Re-introduce optimal breakpoint removal target-i386: Move hw_*breakpoint_* functions target-i386: Optimize setting dr[0-3] target-i386: Handle I/O breakpoints target-i386: Check CR4[DE] for processing DR4/DR5 target-i386/bpt_helper.c | 223 ++++++++++++++++++++++++++++++++++++++--------- target-i386/cpu.c | 2 +- target-i386/cpu.h | 35 ++------ target-i386/helper.h | 4 +- target-i386/machine.c | 8 +- target-i386/seg_helper.c | 8 +- target-i386/translate.c | 30 +++++-- 7 files changed, 224 insertions(+), 86 deletions(-) -- 2.1.0