[PATCH 2/7] KVM: arm: guest debug, define API headers

Peter Maydell peter.maydell at linaro.org
Tue Nov 25 08:19:39 PST 2014


On 25 November 2014 at 16:10, Alex Bennée <alex.bennee at linaro.org> wrote:
> +/* Exit types which define why we did a debug exit */
> +#define KVM_DEBUG_EXIT_ERROR           0x0
> +#define KVM_DEBUG_EXIT_SINGLE_STEP     0x1
> +#define KVM_DEBUG_EXIT_SW_BKPT         0x2
> +#define KVM_DEBUG_EXIT_HW_BKPT         0x3
> +#define KVM_DEBUG_EXIT_HW_WTPT         0x4

The names of these imply that they're generic, but they're
defined in an arch-specific header file...

-- PMM



More information about the linux-arm-kernel mailing list