[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 2/3] i386: Make "max" model not use any host
From: |
David Hildenbrand |
Subject: |
Re: [Qemu-devel] [PATCH v2 2/3] i386: Make "max" model not use any host CPUID info on TCG |
Date: |
Fri, 24 Feb 2017 13:34:04 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 |
Am 24.02.2017 um 13:32 schrieb Eduardo Habkost:
> On Fri, Feb 24, 2017 at 12:09:32PM +0100, David Hildenbrand wrote:
>> Am 22.02.2017 um 19:39 schrieb Eduardo Habkost:
>>> Instead of reporting host CPUID data on "max", use the qemu64 CPU
>> Two questions:
>>
>> 1. Shouldn't "max" use cpuid of qemu64 with TARGET_X86_64 and qemu32
>> with !TARGET_X86_64?
>
> qemu32 has family=6,model=6,stepping=3 too, and the only
> difference on TCG's "max" model on !TARGET_X86_64 will be the
> lack of CPUID_EXT2_SYSCALL and CPUID_EXT2_LM.
So this is already handled then, correct?
>
>>
>> 2. Should we then change linux-user/main.c:main() to use the "max" model?
>
> We could, but I would like this to be done by somebody more
> experienced with linux-user code, who could test it properly.
>
Agreed!
--
Thanks,
David
- [Qemu-devel] [PATCH v2 0/3] i386: Add "max" CPU model to TCG and KVM, Eduardo Habkost, 2017/02/22
- [Qemu-devel] [PATCH v2 1/3] i386: Create "max" CPU model, Eduardo Habkost, 2017/02/22
- [Qemu-devel] [PATCH v2 2/3] i386: Make "max" model not use any host CPUID info on TCG, Eduardo Habkost, 2017/02/22
- [Qemu-devel] [PATCH v2 3/3] i386: Don't set CPUClass::cpu_def on "max" model, Eduardo Habkost, 2017/02/22
- Re: [Qemu-devel] [PATCH v2 0/3] i386: Add "max" CPU model to TCG and KVM, Eduardo Habkost, 2017/02/23
- Re: [Qemu-devel] [PATCH v2 0/3] i386: Add "max" CPU model to TCG and KVM, Peter Maydell, 2017/02/24