Description of problem:
Anaconda can detect whether the installation is being made in a VM. If it is a VM, some hypervisor-specific and hypervisor-agnostic optimizations can be made for the guest OS, like:
- Use the 'deadline' IO scheduler instead of the default CFQ
- Disable suspend-to-ram for the system, as it doesn't result in much benefit in a virt environment
These options could be presented to the user to enable them if they wish. The installer could then modify the grub parameters or ktune according to the settings chosen.
These options could be exposed for non-virt usage as well, so that admins can tune their systems at install-time or set the parameters in the kickstart file itself.
This is handled automatically by the fix for bug 884385, it detect virtualization and installs packages from a group named "platform-" + the output from systemd-detect-virt
*** This bug has been marked as a duplicate of bug 884385 ***