qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] [RFC] cleanup cpu-exec.c: consolidate handle_c


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH] [RFC] cleanup cpu-exec.c: consolidate handle_cpu_signal
Date: Thu, 30 Apr 2009 21:52:39 +0300

On 4/30/09, Avi Kivity <address@hidden> wrote:
> Paul Brook wrote:
>
> >
> > > I'd really like to see kvm used to implement something like this (to
> > > emulate non-x86 on x86).
> > >
> > >
> >
> > It's something I've considered a few times. It gets hairy fairly quickly
> though. You're probably also going to hit a world of pain if your host
> pagesize is larger than your guest pagesize,
> >
>
>  Yes.  But realistically your host is going to be either x86 or x86 (in a
> few corner cases that no one cares about, x86).  Are there targets with page
> size < 4K?  We don't target VAX.

ARM has 2k pages IIRC. Sparc64 has 8k pages and then we have the same
case for x86 target.

> >  and for guests with a software managed TLB shadow paging gets much more
> interesting.
> >
> >
>
>  Hmm, inserting a tlb entry would just create x86 page table entries, no?

Inserting an entry may evict a previous entry. I don't think it's too
difficult though.

> > There's very little of the old code left, and it's bitrotten enough that
> there's no point trying to keep it on the offchance that it'll be useful.
> >
> >
>
>  Sure, starting from scratch sounds much better, this is going to be wildly
> different.
>
>  --
>  Do not meddle in the internals of kernels, for they are subtle and quick to
> panic.
>
>
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]