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

Put all files related to a VM in one place #1517

Open
blakemcbride opened this issue Nov 16, 2024 · 2 comments
Open

Put all files related to a VM in one place #1517

blakemcbride opened this issue Nov 16, 2024 · 2 comments

Comments

@blakemcbride
Copy link

I confirm this feature has not been previously requested

  • [ x] I have searched the issues and this feature has not previously been requested

Is your feature request related to a problem? Please describe.

When you create a VM, all of the files related to that VM get put in a single directory. This makes it easy to backup and move the VM. The problem is that the .conf file gets placed one directory up. This means one of the important files is in a different directory. This muddies up the higher directory and makes it harder to move and backup the VM because you have to remember the .conf file.

Describe the solution you'd like

Move the .conf file into the same directory as its associated VM. When you start a VM, rather than specifying the .conf file, specify the directory. Quickemu can then find the .conf file in the directory (but don't depend on the directory name being the same as the file name; just look for a .conf file and assume there will only be one).

Describe alternatives you've considered

In addition to the --vm option now, you can add an option that will do what I am saying. Thus you can be backward compatible.

Additional context

No additional context.

@philclifford
Copy link
Contributor

There are many ways to not forget the .conf file when working with VMs. This change would completely break quickgui.

@blakemcbride
Copy link
Author

Yes, it is trivial to make a hard link from the config file into the VM directory. quickget could easily do that. The problem is, why dirty up the common directory with all of those .conf files?

It would be very easy to make it backward compatible.

I've never used quickgui. quickemu has been fine for my needs. However, I am absolutely certain that quickget, quickemu, and quickgui could be trivially changes to accommodate my suggested architecture. quickemu and quickgui could just use the new architecture and if it doesn't find the files it needs, simply look one directory up.

If there is interest, I'd be happy to learn quickgui and draw out the flow chart / algorithm.

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

2 participants