Re: [ANNOUNCE] kvm-43 release

Avi Kivity
2007-09-24T09:51:23Z

Gerd Hoffmann wrote:
> Avi Kivity wrote:
>
>> You can call kvm_disable_irqchip_creation() to kill in-kernel pic and
>> friends.
>>
>> (the logic is inverted -- the function should be
>> kvm_enable_irqchip_creation() so that this problem would not occur)
>>
>
> Ok, will try, next question first though as I'm running in trouble much
> earlier in -44: I get suspious page faults.
>
> I *think* it happens because I'm changing guest page tables from outside
> (i.e. host application), and the new intel pgtable optimization bits
> don't expect that (yes, it is a vt box).
>

Well, the older implementation doesn't expect that either. You can
disable the optimization with bypass_guest_pf=0, though.

> A quick scan of kvmctl.h doesn't show anything which looks like I could
> call to tell kvm the guest page tables have been modified. Hints how to
> handle this?
>
>

There's a kvm_mmu_zap_all() function, but it isn't exposed. It's very
coarse grained, but can be used for experiments.

You could write a new ioctl that tells kvm that some pages were modified
by the host; that's useful for guests which page out page tables (and
so, during page in, disk dma could overwrite a page table).

--
error compiling committee.c: too many arguments to function