Bug 1221837 - What is Hypervisor default?
Summary: What is Hypervisor default?
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-15 00:56 UTC by Chris Murphy
Modified: 2018-10-30 15:16 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-05-19 00:20:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Chris Murphy 2015-05-15 00:56:13 UTC
Description of problem: In various locations there's reference to "Hypervisor default" and no easy way to find out what that translates into. [And not to be dickish about it, but below I'm being honest about the actual results in order to hopefully motivate an eventual change.)


Version-Release number of selected component (if applicable):
virt-manager-1.2.0-1.fc22.noarch

How reproducible:
Always


Steps to Reproduce:
All disks have performance options where cache mode and IO mode are set to Hypervisor default. Spice Server Address is set to hypervisor default. The "Controller IDE" and "Controller VirtIO Serial" and "Controller SATA" devices have a model set to just Default.


Actual results:

User said, out loud, "WTF is default? Is this supposed to be funny?"

User googled for a bit and after 4 minutes gave up because even 30 seconds of looking is charity. User is exasperated and annoyed.


Expected results:

The GUI pop-up should be set to the setting that happens to be the default, NOT THE WORD DEFAULT. The pop-up might as well be blank or in some alien language, that's how useful the current UI is. I expect GUIs to show useful information, not useless information like this.

Additional info:

Thanks!

Comment 1 Cole Robinson 2015-05-19 00:20:46 UTC
Thanks for the report. But the problem is that virt-manager does not actually know what the hypervisor's default value is for any field it lists the text 'Hypervisor default'. Yes, we could look at qemu sources and duplicate all the model names in virt-manager code, but that's a lot of maintenance effort since the qemu rules are complex, and virt-manager supports multiple hypervisors, etc. So IMO that is not a reasonable solution to offset the confusion you describe above

In the spice case for example, the 'hypervisor default' is the value listed in /etc/libvirt/qemu.conf (127.0.0.1 by default, but user could change it to anything). The actual value will be filled in when the VM is started up. But before that point, virt-manager doesn't know what the value actually is, libvirt doesn't provide any API to list it. You could file a libvirt bug for that

The proper place to 'fix' this would be to have libvirt track this: when you define a VM, it fills in all the hypervisor defaults in the XML so that apps like virt-manager can show it to the user. That could be a libvirt bug too

Comment 2 Steve 2018-10-30 15:16:09 UTC
Came across this after doing a web search for "hypervisor default".

Chris: If you believe this is still an issue, I suggest that you follow Cole's suggestion and change the component to "libvirt".

And following Cole's implied suggestion, clearly identify this as a *Request For Enhancement*. You can do that by adding the "RFE" keyword at the top of the page.

There could also be a separate *documentation* enhancement that explains what Cole said about virt-manager not knowing what "the value actually is". There is a "Documentation" keyword for that.

NB: The virt-manager Help:About dialog has a link to

http://virt-manager.org/

A web search for '"hypervisor default" site:virt-manager.org' doesn't find any results. The virt-manager man page also doesn't say anything about the meaning of "hypervisor default".

virt-manager-1.4.3-2.fc27.noarch


Note You need to log in before you can comment on or make changes to this bug.