summaryrefslogtreecommitdiffstats
path: root/drivers/xen/privcmd.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2017-11-02 10:19:21 +0100
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>2017-11-06 21:50:17 +0100
commit8dca4d96c7d8058e7c97daad9ae0a76569ea31e6 (patch)
tree171e808f1a9c34a655325193addb4206e8f5d1ff /drivers/xen/privcmd.c
parentxen: update arch/x86/include/asm/xen/cpuid.h (diff)
downloadlinux-8dca4d96c7d8058e7c97daad9ae0a76569ea31e6.tar.xz
linux-8dca4d96c7d8058e7c97daad9ae0a76569ea31e6.zip
xen: select grant interface version
Grant v2 will be needed in cases where a frame number in the grant table can exceed 32 bits. For PV guests this is a host feature, while for HVM guests this is a guest feature. So select grant v2 in case frame numbers can be larger than 32 bits and grant v1 else. For testing purposes add a way to specify the grant interface version via a boot parameter. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'drivers/xen/privcmd.c')
0 files changed, 0 insertions, 0 deletions