ACVM icon indicating copy to clipboard operation
ACVM copied to clipboard

Screen Resolution change not saved across restarts

Open MrMacintoshBlog opened this issue 4 years ago • 5 comments

When starting QEMU you can click esc to enter the boot menu to change the resolution to 1024x768. After a reboot it will change the resolution accordingly. I think the partition for efi variables is missing.

MrMacintoshBlog avatar Dec 02 '20 07:12 MrMacintoshBlog

Looks like ACVM did not implement nvram, therefore EFI settings are not saved across boot. ed2k provides an nvram template vars-template-pflash.raw and can be used by adding an additional of pflash drive. For example: -drive file=vars-template-pflash.raw,format=raw,if=pflash,index=1 nvram can be used across different VMs, but perhaps isolate them will be a better idea?

gnattu avatar Dec 02 '20 17:12 gnattu

Isolating them is a better idea because Linux will not boot if windows bootloadervars are in the efi nvram partition.

shareefalis avatar Dec 05 '20 05:12 shareefalis

I just threw together a quick pull request to resolve this. Basically it creates a nvram image in the same directory as the source Main Image. It uses that image name + .nvram. So this should allow to have unique nvram images per instance.

Depending on how much legs this project has, it might be nice to make a sort of "VM Manager", and maintain configs per VM, and allow for launching, editing, etc of these configs.

ubenmackin avatar Dec 07 '20 03:12 ubenmackin

Depending on how much legs this project has, it might be nice to make a sort of "VM Manager", and maintain configs per VM, and allow for launching, editing, etc of these configs.

This fork right here already did such thing and added a VM Manager... https://github.com/ubenmackin/ACVM

albatrosify avatar Dec 12 '20 09:12 albatrosify

@albatrosify that's actually my fork :-)

ubenmackin avatar Dec 12 '20 19:12 ubenmackin