[Kimchi-devel] [PATCH] [Kimchi] Fix error message for IOMMU configuration.

Rodrigo Trujillo rodrigo.trujillo at linux.vnet.ibm.com
Wed Feb 3 19:17:00 UTC 2016


Reviewed-by: Rodrigo Trujillo <rodrigo.trujillo at linux.vnet.ibm.com>

On 02/03/2016 04:26 PM, pvital at linux.vnet.ibm.com wrote:
> From: Paulo Vital <pvital at linux.vnet.ibm.com>
>
> Modified the error message with the correct configuration file and parameter to
> explain how to configure host kernel parameter to add support to IOMMU.
>
> All latest version of supported distro at this moment (Fedora 23, Ubuntu 15.10,
> Debian 8, RHEL 7.2 and OpenSUSE Leap) have the configuration file
> (/etc/default/grub) and the kernel parameter (GRUB_CMDLINE_LINUX) to be
> configured.
>
> Signed-off-by: Paulo Vital <pvital at linux.vnet.ibm.com>
> ---
>   i18n.py | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/i18n.py b/i18n.py
> index a575922..6e453f3 100644
> --- a/i18n.py
> +++ b/i18n.py
> @@ -136,8 +136,8 @@ messages = {
>       "KCHVMHDEV0002E": _("The host device %(dev_name)s is not allowed to directly assign to VM."),
>       "KCHVMHDEV0003E": _("No IOMMU groups found. Host PCI pass through needs IOMMU group to function correctly. "
>                           "Please enable Intel VT-d or AMD IOMMU in your BIOS, then verify the Kernel is compiled with IOMMU support. "
> -                        "For Intel CPU, add intel_iommu=on to your Kernel parameter in /boot/grub2/grub.conf. "
> -                        "For AMD CPU, add iommu=pt iommu=1."),
> +                        "For Intel CPU, add 'intel_iommu=on' to GRUB_CMDLINE_LINUX parameter in /etc/default/grub file. "
> +                        "For AMD CPU, add 'iommu=pt iommu=1'."),
>       "KCHVMHDEV0004E": _('"name" should be a device name string'),
>       "KCHVMHDEV0005E": _('The device %(name)s is probably in use by the host. Unable to attach it to the guest.'),
>




More information about the Kimchi-devel mailing list