[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH -V7 3/3] target-ppc: Fix page table lookup with
From: |
Paul Mackerras |
Subject: |
Re: [Qemu-devel] [PATCH -V7 3/3] target-ppc: Fix page table lookup with kvm enabled |
Date: |
Thu, 19 Dec 2013 19:41:22 +1100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Dec 19, 2013 at 12:25:57PM +0530, Aneesh Kumar K.V wrote:
> Alexander Graf <address@hidden> writes:
>
> > This breaks if you run a 64-bit guest on a 32-bit host trying to
> > access memory beyond 4GB. In that case htab_base is hwaddr (64bit)
> > while uint8_t is only 32bit wide.
>
> Wow!! didn't know that is possible.
I don't believe it is. All of the 64-bit instructions would trap and
we don't have code to emulate them (and even if we did, it would be
painfully slow given that there would be a lot of them).
Paul.