Re: [PATCH] Documentation/kvm : Add documentation on Hypercalls

From: Raghavendra K T
Date: Mon Jun 04 2012 - 04:22:39 EST


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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/