Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upCreate New VM dialog inconsistent handling of Standalone + HVM #1251
Comments
marmarek
added
bug
C: qubes-manager
P: minor
labels
Sep 29, 2015
marmarek
added this to the Release 3.0 milestone
Sep 29, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Sep 29, 2015
Member
Original intention was to provide only two options:
- New, blank standalone HVM (so no template option allowed)
- Template-based HVM
But you're right, this approach is wrong.
|
Original intention was to provide only two options:
But you're right, this approach is wrong. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tasket
Sep 29, 2015
It seems that a third option is manifesting: A new Standalone HVM that gets a cloned root from a template. Is this useful?
tasket
commented
Sep 29, 2015
|
It seems that a third option is manifesting: A new Standalone HVM that gets a cloned root from a template. Is this useful? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Sep 29, 2015
Member
I don't know, do you see any use case for it? It need to be consistent,
but I have no opinion whether "standalone HVM created from template"
should be supported or not.
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
|
I don't know, do you see any use case for it? It need to be consistent, Best Regards, |
marmarek
modified the milestones:
Release 3.0 updates,
Release 3.0
Oct 8, 2015
marmarek
modified the milestones:
Release 3.0 updates,
Release 3.1 updates
Nov 19, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
entr0py
Dec 26, 2016
I have no opinion whether "standalone HVM created from template"
should be supported or not.
I may be missing something obvious but why would need for this case (template-based standalone HVM) differ any from need for its PVM counterpart?
do you see any use case for it?
Windows, specifically, has a torturous update and config process. If I need a persistent file system, it would be beneficial to be able to fork a standaloneVM from a Windows template, instead of having to start from blank. The other option would be to clone and use the templateVM but that would obviously not be canonical use of a templateVM. Using HVM-template clones is what I did to test Debian-9 with different desktop environments.
entr0py
commented
Dec 26, 2016
•
I may be missing something obvious but why would need for this case (template-based standalone HVM) differ any from need for its PVM counterpart?
Windows, specifically, has a torturous update and config process. If I need a persistent file system, it would be beneficial to be able to fork a standaloneVM from a Windows template, instead of having to start from blank. The other option would be to clone and use the templateVM but that would obviously not be canonical use of a templateVM. Using HVM-template clones is what I did to test Debian-9 with different desktop environments. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
unman
Apr 16, 2017
Member
@andrewdavidwong I believe this issue is resolved in 3.2, and can be closed. The same options appear regardless of order of selection.
|
@andrewdavidwong I believe this issue is resolved in 3.2, and can be closed. The same options appear regardless of order of selection. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tasket
Apr 16, 2017
@unman If one or more HVM templates exist in the system, the inconsistency still occurs as described.
tasket
commented
Apr 16, 2017
|
@unman If one or more HVM templates exist in the system, the inconsistency still occurs as described. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tasket
commented
Apr 16, 2017
|
I'll try to fix this and submit a PR. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
unman
Apr 16, 2017
Member
@tasket You are, of course, quite right. I reverted my QubesManager, removed internal mark on template and indeed the problem remains.
I would favour an additional checkbox as you suggested earlier, if that doesnt make the UI too cumbersome
|
@tasket You are, of course, quite right. I reverted my QubesManager, removed internal mark on template and indeed the problem remains. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tasket
Apr 16, 2017
So far I'm trying it with same checkboxes, but user can choose 'none' (default) in the template list when both HVM and Standalone are selected.
tasket
commented
Apr 16, 2017
|
So far I'm trying it with same checkboxes, but user can choose 'none' (default) in the template list when both HVM and Standalone are selected. |
tasket commentedSep 29, 2015
In Qubes Manager 'Create New VM' dialog window, selecting first Standalone then HVM will give you the option of choosing a template (and this appears to work). However, first selecting HVM will auto-check the Standalone option, then ghost out the template dropdown box; There is no reason given why the template option should differ from selecting dialog options in a different order.
As it is, having Standalone checked /sometimes/ results in the creation of a standalone HVM having a clone of an HVM template, and /sometimes/ creates an HVM with a blank root.
Expected behavior: The status of the template dropdown box should not depend on the order in which Standalone or HVM options were selected. The dialog should be normalized so that each combination of VM type + Standalone produces a unique and discernible state. An additional radio button, checkbox or dropdown box item may be what's needed to clarify the operation of this UI function.