[Kimchi-devel] [PATCH] [Kimchi] Use qxl driver only for x86
Paulo Ricardo Paz Vital
pvital at linux.vnet.ibm.com
Mon Jun 20 13:00:55 UTC 2016
Reviewed-by: Paulo Ricardo Paz Vital <pvital at linux.vnet.ibm.com>
On Jun 17 05:10PM, Lucio Correia wrote:
> Signed-off-by: Lucio Correia <luciojhc at linux.vnet.ibm.com>
> ---
> osinfo.py | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/osinfo.py b/osinfo.py
> index 4b89aac..a3c2b0e 100644
> --- a/osinfo.py
> +++ b/osinfo.py
> @@ -74,7 +74,7 @@ template_specs = {'x86': {'old': dict(disk_bus='ide',
> tablet_bus='usb')}}
>
>
> -custom_specs = {'fedora': {'22': dict(video_model='qxl')}}
> +custom_specs = {'fedora': {'22': {'x86': dict(video_model='qxl')}}}
>
>
> modern_version_bases = {'x86': {'debian': '6.0', 'ubuntu': '7.10',
> @@ -233,7 +233,7 @@ def lookup(distro, version):
> specs = custom_specs.get(distro, {})
> for v, config in specs.iteritems():
> if LooseVersion(version) >= LooseVersion(v):
> - params.update(config)
> + params.update(config.get(arch, {}))
>
> if distro in icon_available_distros:
> params['icon'] = 'plugins/kimchi/images/icon-%s.png' % distro
> --
> 1.9.1
>
> _______________________________________________
> Kimchi-devel mailing list
> Kimchi-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
>
--
Paulo Ricardo Paz Vital
Linux Technology Center, IBM Systems
http://www.ibm.com/linux/ltc/
More information about the Kimchi-devel
mailing list