Commit Message

Share the TLB array with KVM. This allows us to set the initial TLB
both on initial boot and reset, is useful for debugging, and could
eventually be used to support migration.
Signed-off-by: Scott Wood <scottwood@freescale.com>
---
hw/ppce500_mpc8544ds.c | 2 +
target-ppc/cpu.h | 2 +
target-ppc/kvm.c | 85 ++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 89 insertions(+), 0 deletions(-)

On 18.06.2011, at 18:13, Richard Henderson wrote:
> On 06/17/2011 04:28 PM, Alexander Graf wrote:>>>> + struct kvm_book3e_206_tlb_params params = {};>> Hrm - I'm not familiar with that initialization. What exactly does it>> do? Set the struct contents to 0? Is this properly standardized?> > Yes and yes.
Ah, very nice. I wonder why I don't see it used more in code then :). Seems to be very handy to not clutter code with memset(0)s.
Alex

On 06/20/2011 10:41 AM, Jan Kiszka wrote:
>> > Those hopefully shouldn't be required anymore soon - when Jan's patches make it upstream. Jan, how's progress on that front?>> I can only forward this question: Avi, what are the plans for> http://thread.gmane.org/gmane.comp.emulators.kvm.devel/73917?
Will apply once all comments are addressed.

On 2011-06-20 10:03, Avi Kivity wrote:
> On 06/20/2011 10:41 AM, Jan Kiszka wrote:>>>>> Those hopefully shouldn't be required anymore soon - when Jan's patches make it upstream. Jan, how's progress on that front?>>>> I can only forward this question: Avi, what are the plans for>> http://thread.gmane.org/gmane.comp.emulators.kvm.devel/73917?> > Will apply once all comments are addressed.
Well, then go ahead :) - or did I miss a comment?
Jan

On 06/20/2011 11:47 AM, Jan Kiszka wrote:
> On 2011-06-20 10:03, Avi Kivity wrote:> > On 06/20/2011 10:41 AM, Jan Kiszka wrote:> >>> >>> Those hopefully shouldn't be required anymore soon - when Jan's patches make it upstream. Jan, how's progress on that front?> >>> >> I can only forward this question: Avi, what are the plans for> >> http://thread.gmane.org/gmane.comp.emulators.kvm.devel/73917?> >> > Will apply once all comments are addressed.>> Well, then go ahead :) - or did I miss a comment?
If everyone's happy I (or rather Marcelo this week) will be happy to apply.