[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/3] ppc: Alter CPU state to mask out TCG unimpl
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH 1/3] ppc: Alter CPU state to mask out TCG unimplemented instructions as appropriate |
Date: |
Mon, 31 Oct 2011 04:51:42 +0100 |
On 31.10.2011, at 04:16, David Gibson wrote:
> The CPU state contains two bitmaps, initialized from the CPU spec
> which describes which instructions are implemented on the CPU. A
> couple of bits are defined which cover instructions (VSX and DFP)
> which are not currently implemented in TCG. So far, these are only
> used to handle the case of -cpu host because a KVM guest can use
> the instructions when the host CPU supports them.
>
> However, it's a mild layering violation to simply not include those
> bits in the CPU descriptions for those CPUs that do support them,
> just because we can't handle them in TCG. This patch corrects the
> situation, so that the instruction bits _are_ shown correctly in the
> cpu spec table, but are masked out from the cpu state in the non-KVM
> case.
>
> Signed-off-by: David Gibson <address@hidden>
Thanks, applied.
Alex
[Qemu-devel] [PATCH 1/3] ppc: Alter CPU state to mask out TCG unimplemented instructions as appropriate, David Gibson, 2011/10/30
- Re: [Qemu-devel] [PATCH 1/3] ppc: Alter CPU state to mask out TCG unimplemented instructions as appropriate,
Alexander Graf <=
[Qemu-devel] [PATCH 2/3] pseries: Add partial support for PCI, David Gibson, 2011/10/30