lkml.org 
[lkml]   [2012]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Documentation/kvm : Add documentation on Hypercalls
On 06/04/2012 09:30 AM, Rob Landley wrote:
> On 05/31/2012 12:46 PM, H. Peter Anvin wrote:
>> On 05/31/2012 01:01 AM, Raghavendra K T wrote:
>>> +
>>> +TODO:
>>> +1. more information on input and output needed?
>>> +2. Add more detail to purpose of hypercalls.
>>>
>>
>> 1. definitely, including the hypercall ABI.
>>
>> -hpa
>>
>
> I was wondering about that. It looks like
> Documentation/virtual/kvm/api.txt might cover some of that already in
> section 5, but it doesn't look complete...
>
> Also, could I get a 00-INDEX file for this directory explaining what
> these individual files are? I think "api.txt" is supposed to be
> host-side API for controlling a guest VM (from userspace via ioctls,
> looks like),

api.txt has plenty of information apart from features which are
related to guest side api (generally controls / knows PV features
available, that may also involve host query of guest cpuid).
and capability (of) related to host.

and hypercalls.txt is guest-side API for poking the host.

hypercall can be used to take some actions (as needed by guest /
exchange information)


> How someone would write host-side code that _responds_ to a hypercall, I
> have no idea. (It goes in the host kernel?)
>
> Rob
>



\
 
 \ /
  Last update: 2012-06-04 11:01    [W:0.029 / U:61.788 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site