From: Alexander Graf Date: Thu, 29 Jul 2010 12:48:08 +0000 (+0200) Subject: KVM: PPC: Add get_pvinfo interface to query hypercall instructions X-Git-Tag: v2.6.37-rc1~142^2~229 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15711e9c927bfc08e66791cbf0ca7887c0880768;p=pandora-kernel.git KVM: PPC: Add get_pvinfo interface to query hypercall instructions We need to tell the guest the opcodes that make up a hypercall through interfaces that are controlled by userspace. So we need to add a call for userspace to allow it to query those opcodes so it can pass them on. This is required because the hypercall opcodes can change based on the hypervisor conditions. If we're running in hardware accelerated hypervisor mode, a hypercall looks different from when we're running without hardware acceleration. Signed-off-by: Alexander Graf Signed-off-by: Avi Kivity --- Reading git-diff-tree failed