[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJSP0QW1S87WD2pHZ0xUxTvxpOAxsB-LyOD4skxxziwUCWtkkQ@mail.gmail.com>
Date: Thu, 12 Jan 2012 09:21:38 +0000
From: Stefan Hajnoczi <stefanha@...il.com>
To: Liu ping fan <kernelfans@...il.com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: Could anybody give some description about the implement of
hyercall in kvm?
On Thu, Jan 12, 2012 at 4:38 AM, Liu ping fan <kernelfans@...il.com> wrote:
> Could anybody give some description about the implement of hyercall in
> kvm? Or give some links about it?
Try git grep hypercall arch/x86/kvm.
Take a look at arch/x86/kvm/x86.c kvm_set_msr_common() and
kvm_emulate_hypercall(). Some of the KVM time-keeping, minimal HyperV
support, and async page faults live there. Also see
arch/x86/include/asm/kvm_para.h.
Hypercalls are architecture-specific so if you are interested in ppc
or s390, check those arch directories.
Stefan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists