]> git.ipfire.org Git - thirdparty/grub.git/commit
xen: make xen loader callable multiple times
authorJuergen Gross <jgross@suse.com>
Thu, 3 Mar 2016 09:38:06 +0000 (10:38 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 27 Oct 2016 14:16:54 +0000 (16:16 +0200)
commit4231927e449feeb8b1b39470a9b2288f2f773f25
treef33325ed9570340c81087d47edfc4a33c41eb48a
parenta620876e3b32e4ea0c9a7b3541fcb9a4dd4fb9eb
xen: make xen loader callable multiple times

The loader for xen paravirtualized environment isn't callable multiple
times as it won't free any memory in case of failure.

Call grub_relocator_unload() as other modules do it before allocating
a new relocator or when unloading the module.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/loader/i386/xen.c