[Libguestfs] [PATCH 0/2] Reset the graphics mode in UEFI BCD

Pavel Butsykin pbutsykin at virtuozzo.com
Fri Jun 10 14:07:01 UTC 2016


Guest tools for Windows in Parallels / Virtuozzo Server 6 contain a
paravirtualized video driver, which wants to take full control of the video
mode. To avoid excessive video mode switches in UEFI VMs it executes
"bcdedit /set {current} graphicsmodedisabled true".

When such a VM is imported into a QEMU/KVM-based hypervisor, the standard video
drivers in Windows do not set the video mode as they expect it to have already
been configured by the bootloader.  As a result, the VM runs with black screen.
To solve this issue, we need to try to lead the BCD to the default state.

Pavel Butsykin (2):
  v2v: fill the list of the EFI system partitions
  v2v: remove the 'graphicsmodedisabled' entry in ESP BCD

 v2v/convert_linux.ml   |  2 +-
 v2v/convert_windows.ml | 41 +++++++++++++++++++++++++++++++++++++++++
 v2v/inspect_source.ml  | 29 +++++++++++++++++++++--------
 v2v/types.ml           |  4 ++--
 v2v/types.mli          |  3 ++-
 v2v/v2v.ml             |  2 +-
 v2v/v2v_unit_tests.ml  |  2 +-
 7 files changed, 69 insertions(+), 14 deletions(-)

-- 
2.8.3




More information about the Libguestfs mailing list