lkml.org 
[lkml]   [2014]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/7] KVM: arm: guest debug, define API headers
Date

Christoffer Dall <christoffer.dall@linaro.org> writes:

> On Wed, Nov 26, 2014 at 03:04:10PM +0000, Alex Bennée wrote:
>>
>> Peter Maydell <peter.maydell@linaro.org> writes:
>>
>> > On 25 November 2014 at 16:10, Alex Bennée <alex.bennee@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...
>>
>> Yeah, I think these will die and I'll just export the syndrome
>> information directly to QEMU.
>
> huh?

Rather than mapping syndrome to a specific exit value we might as well
export syndrome information to QEMU and let it define the reason.


>
> -Christoffer

--
Alex Bennée


\
 
 \ /
  Last update: 2014-12-01 13:01    [W:0.083 / U:2.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site