diff options
| author | Juergen Gross <jgross@suse.com> | 2017-09-22 14:07:25 +0200 |
|---|---|---|
| committer | Stefano Stabellini <sstabellini@kernel.org> | 2017-10-26 14:23:08 -0700 |
| commit | e38c3e86dfffe3cc806d051b9deeab31836b196a (patch) | |
| tree | af9a22d2cea458e0bb2545446c1cdebafe749161 /scripts/git-submodule.sh | |
| parent | b5e397a79ec874d9739e096f5e27a912d857a0ec (diff) | |
| download | focaccia-qemu-e38c3e86dfffe3cc806d051b9deeab31836b196a.tar.gz focaccia-qemu-e38c3e86dfffe3cc806d051b9deeab31836b196a.zip | |
xen: dont try setting max grants multiple times
Trying to call xengnttab_set_max_grants() with the same file handle might fail on some kernels, as this operation is allowed only once. This is a problem for the qdisk backend as blk_connect() can be called multiple times for a domain, e.g. in case grub-xen is being used to boot it. So instead of letting the generic backend code open the gnttab device do it in blk_connect() and close it again in blk_disconnect. Signed-off-by: Juergen Gross <jgross@suse.com> Acked-by: Anthony PERARD <anthony.perard@citrix.com> Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'scripts/git-submodule.sh')
0 files changed, 0 insertions, 0 deletions