[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3] target-i386: Fix segment cache dump
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH v3] target-i386: Fix segment cache dump |
Date: |
Mon, 26 Aug 2013 10:38:29 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 |
On 08/25/2013 03:20 AM, Tobias Markus wrote:
> When in Long Mode, cpu_x86_seg_cache() logs "DS16" because the Default
> operation size bit (D/B bit) is not set for Long Mode Data Segments since
> there are only Data Segments in Long Mode and no explicit 16/32/64-bit
> Descriptors.
> This patch fixes this by checking the Long Mode Active bit of the hidden
> flags variable and logging "DS" if it is set. (I.e. in Long Mode all Data
> Segments are logged as "DS")
>
> Signed-off-by: Tobias Markus <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
r~