Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screen Resolution change not saved across restarts #7

Open
MrMacintoshBlog opened this issue Dec 2, 2020 · 5 comments
Open

Screen Resolution change not saved across restarts #7

MrMacintoshBlog opened this issue Dec 2, 2020 · 5 comments

Comments

@MrMacintoshBlog
Copy link

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.

@gnattu
Copy link
Contributor

gnattu commented Dec 2, 2020

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?

@shareefalis
Copy link
Contributor

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

@ubenmackin
Copy link
Contributor

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.

@albatrosify
Copy link

albatrosify commented Dec 12, 2020

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

@ubenmackin
Copy link
Contributor

@albatrosify that's actually my fork :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants