From: Avi Kivity <avi@qumranet.com>
To: Amit Shah <amit.shah@qumranet.com>
Cc: kvm-devel@lists.sourceforge.net,
Anthony Liguori <aliguori@us.ibm.com>,
linux-kernel@vger.kernel.org
Subject: Re: [kvm-devel] [PATCH] Refactor hypercall infrastructure (v2)
Date: Sun, 02 Dec 2007 16:32:00 +0200 [thread overview]
Message-ID: <4752C1E0.7080104@qumranet.com> (raw)
In-Reply-To: <200712021917.28706.amit.shah@qumranet.com>
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
WARNING: multiple messages have this Message-ID (diff)
From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Amit Shah <amit.shah-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] Refactor hypercall infrastructure (v2)
Date: Sun, 02 Dec 2007 16:32:00 +0200 [thread overview]
Message-ID: <4752C1E0.7080104@qumranet.com> (raw)
In-Reply-To: <200712021917.28706.amit.shah-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
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
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
next prev parent reply other threads:[~2007-12-02 14:29 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-15 17:54 [PATCH] Refactor hypercall infrastructure (v2) Anthony Liguori
[not found] ` <11898788932902-git-send-email-aliguori-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2007-09-15 17:54 ` [PATCH] Add the paravirtualization CPUID entry to QEMU (v2) Anthony Liguori
2007-09-16 9:08 ` [PATCH] Refactor hypercall infrastructure (v2) Avi Kivity
2007-09-16 9:08 ` Avi Kivity
2007-12-02 13:47 ` [kvm-devel] " Amit Shah
2007-12-02 13:47 ` Amit Shah
2007-12-02 14:32 ` Avi Kivity [this message]
2007-12-02 14:32 ` Avi Kivity
2007-12-02 23:03 ` [kvm-devel] " Anthony Liguori
2007-12-02 23:03 ` Anthony Liguori
2007-12-03 8:46 ` [kvm-devel] " Amit Shah
2007-12-03 8:46 ` Amit Shah
2007-12-03 9:00 ` [kvm-devel] " Avi Kivity
2007-12-03 9:00 ` Avi Kivity
2007-12-03 11:30 ` [kvm-devel] " Amit Shah
2007-12-03 11:30 ` Amit Shah
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4752C1E0.7080104@qumranet.com \
--to=avi@qumranet.com \
--cc=aliguori@us.ibm.com \
--cc=amit.shah@qumranet.com \
--cc=kvm-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.