On 02.11.2016 18:01, Richard W.M. Jones wrote:
From: Pavel Butsykin <pbutsykin@virtuozzo.com>
This patch improves the search of grub config on EFI partition. This means that the config will be found not only for rhel but also for many other distributions. Tests were performed on the following distributions: centos, fedora, ubuntu, suse. In all cases, the config path was /boot/efi/EFI/*distname*/grub.cfg
The main purpose of the patch is to improve support for converting of vm with UEFI for most distributions. Unfortunately this patch does not solve the problem for all distributions, for example Debian does not store grub config on the EFI partition, therefore for such distributions another solution is necessary.
Signed-off-by: Pavel Butsykin <pbutsykin@virtuozzo.com> Signed-off-by: Richard W.M. Jones <rjones@redhat.com> ---
Thank you for the help! I found an interesting post on your blog( https://rwmj.wordpress.com/tag/virt-efivars/ ) about editing NVRAM. I think it's a good idea to make the possibility of NVRAM settings. It will improve conversion for EFI vm's and solve the problem for some distributions which don't support fallback (for example it's ubuntu and debian). Are there any plans to add this functionality to libguestfs?