Messages in this thread | | | Date | Wed, 10 Oct 2012 11:47:23 +0200 | From | Avi Kivity <> | Subject | Re: [PATCH 2/2] Drivers: hv: Add Hyper-V balloon driver |
| |
On 10/09/2012 09:44 PM, Andrew Morton wrote: > On Sun, 7 Oct 2012 16:59:46 -0700 > "K. Y. Srinivasan" <kys@microsoft.com> wrote: > >> Add the basic balloon driver. > > hm, how many balloon drivers does one kernel need? > > Although I see that the great majority of this code is hypervisor-specific.
Much like each network driver is NIC specific.
You could think up a framework into which hypervisor specific balloon drivers plug in, but you'll find that in each driver 85% of the code is devoted to talking to the hypervisor, 15% is outdated comments, and the rest is a call to alloc_pages() and a call to free_pages().
-- error compiling committee.c: too many arguments to function
| |