pciif: add multi-vector-MSI command
authorJan Beulich <jbeulich@suse.com>
Thu, 8 Aug 2013 09:13:54 +0000 (11:13 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 8 Aug 2013 09:13:54 +0000 (11:13 +0200)
commitda56976f30dcea66c09c2d63554228bbf8cc1d34
treedc3d3821ba2588d90c82da5b6fa7afd6039acf35
parentd1b6d0a02489c2d0e237d03e1d8af8d11df53b05
pciif: add multi-vector-MSI command

The requested vector count is to be passed in struct xen_pci_op's info
field. Upon failure, if a smaller vector count might work, the backend
will pass that smaller count in the value field (which so far is always
being set to zero in the error path).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/include/public/io/pciif.h