]> xenbits.xensource.com Git - people/aperard/linux-chromebook.git/commit
xen/privcmd: add PRIVCMD_MMAPBATCH_V2 ioctl
authorAndres Lagar-Cavilla <andreslc@gridcentric.ca>
Fri, 31 Aug 2012 13:59:30 +0000 (09:59 -0400)
committerAnthony PERARD <anthony.perard@citrix.com>
Wed, 27 Feb 2013 12:05:58 +0000 (12:05 +0000)
commit011eb2f7186672bc81665fa49e47ba416b3f8cc4
tree31569a9998c2b63ce52e5a986fd363d4f794f9e9
parent7f5f3ff44134aaf9881672ab39c3bf713ed7205d
xen/privcmd: add PRIVCMD_MMAPBATCH_V2 ioctl

PRIVCMD_MMAPBATCH_V2 extends PRIVCMD_MMAPBATCH with an additional
field for reporting the error code for every frame that could not be
mapped.  libxc prefers PRIVCMD_MMAPBATCH_V2 over PRIVCMD_MMAPBATCH.

Also expand PRIVCMD_MMAPBATCH to return appropriate error-encoding top nibble
in the mfn array.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/privcmd.c
include/xen/privcmd.h