Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure (v2)

Avi Kivity
2007-12-02T14:29:11Z

Amit Shah wrote:
> * Anthony Liguori wrote:
>
>> This patch refactors the current hypercall infrastructure to better support
>> live migration and SMP. It eliminates the hypercall page by trapping the
>> UD exception that would occur if you used the wrong hypercall instruction
>> for the underlying architecture and replacing it with the right one lazily.
>>
>
> This doesn't work right for SVM. It keeps looping indefinitely; on a kvm_stat
> run, I get about 230,000 light vm exits per second, with the hypercall never
> returning to the guest.
>

I just tested kvm.git with (the new) hypercall.flat testcase. Seems to
work fine.

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