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_cp


From: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH] [RFC] cleanup cpu-exec.c: consolidate handle_cpu_signal
Date: Thu, 30 Apr 2009 20:56:23 +0300
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

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.

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?

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]