From: Glauber Costa Date: Mon, 11 Jul 2011 19:28:15 +0000 (-0400) Subject: KVM guest: Add a pv_ops stub for steal time X-Git-Tag: v3.1-rc1~264^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c404b578fab699c4708279938078d9404b255a4;p=pandora-kernel.git KVM guest: Add a pv_ops stub for steal time This patch adds a function pointer in one of the many paravirt_ops structs, to allow guests to register a steal time function. Besides a steal time function, we also declare two jump_labels. They will be used to allow the steal time code to be easily bypassed when not in use. Signed-off-by: Glauber Costa Acked-by: Rik van Riel Tested-by: Eric B Munson CC: Jeremy Fitzhardinge CC: Peter Zijlstra CC: Anthony Liguori Signed-off-by: Avi Kivity --- Reading git-diff-tree failed