Re: [Qemu-devel] [PATCH v3] target-i386: Fix segment cache dump

2013-08-26 Thread Richard Henderson
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 fixe

[Qemu-devel] [PATCH v3] target-i386: Fix segment cache dump

2013-08-25 Thread Tobias Markus
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 hidd