]> xenbits.xensource.com Git - people/jgross/xen.git/commit
stubdom/grub: update init_netfront() call for mini-os
authorCostin Lupu <costin.lupu@cs.pub.ro>
Fri, 28 Aug 2020 07:17:44 +0000 (09:17 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 28 Aug 2020 07:17:44 +0000 (09:17 +0200)
commit8d990807ec2cde3061222a5ed2df62aba78bace9
tree0593ceec69d2a1bba45ac57b067026f4a1e14fd1
parent0de9cbf9cfeedbd2a2e4719a2faa6084f0fcbb52
stubdom/grub: update init_netfront() call for mini-os

This patch updates the call of init_netfront() function according to its
recently updated declaration which can also include parameters for gateway
and netmask addresses. While we are here, the patch also removes passing
the ip parameter because (a) it is not used anywhere and (b) it wastes
memory since it would reference a dynamically allocated string.

Reported-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
stubdom/grub/mini-os.c