qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 2/3] tests/avocado: Add Fedora 34 distro, including kernel


From: Alex Bennée
Subject: Re: [PATCH v2 2/3] tests/avocado: Add Fedora 34 distro, including kernel/initrd checksums
Date: Wed, 08 Mar 2023 17:42:45 +0000
User-agent: mu4e 1.9.21; emacs 29.0.60

David Woodhouse <dwmw2@infradead.org> writes:

> From: David Woodhouse <dwmw@amazon.co.uk>
>
> The kernel in Fedora 31 doesn't support 'xen_no_vector_callback' on
> its command line, so add a slightly newer version as a prelude to
> enabling avocado tests for Xen guests.

Why slightly newer rather than current release?

Our existing Fedora guest builds cause all sorts of timeout issues
running under TCG and seem particularly heavyweight considering the
coverage we manage to get.

>
> Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
> ---
>  tests/avocado/avocado_qemu/__init__.py | 27 ++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>
> diff --git a/tests/avocado/avocado_qemu/__init__.py 
> b/tests/avocado/avocado_qemu/__init__.py
> index a313e88c07..49e414e267 100644
> --- a/tests/avocado/avocado_qemu/__init__.py
> +++ b/tests/avocado/avocado_qemu/__init__.py
> @@ -485,6 +485,23 @@ class LinuxDistro:
>                                    ' console=tty0'),
>                   },
>              },
> +            '34': {
> +                'x86_64':
> +                {'checksum': ('b9b621b26725ba95442d9a56cbaa0547'
> +                              '84e0779a9522ec6eafff07c6e6f717ea'),
> +                 'pxeboot_url': ('https://archives.fedoraproject.org/'
> +                                 'pub/archive/fedora/linux/releases/34/'
> +                                 'Everything/x86_64/os/images/pxeboot/'),
> +                 'kernel_hash': ('085fc6e47f2e3a271b591f3e56739ca9'
> +                                 '4c16718837a5f431ab95468e1e95f9eb'),
> +                 'initrd_hash': ('d6cd2e03e8188eed6c896fd65ff05f81'
> +                                 '2c4c1c8777d630b5909e9a1a4627e337'),
> +                 'kernel_params': ('root=UUID=386769a3-cfa5-47c8-8797-'
> +                                   'd5ec58c9cb6c ro no_timer_check '
> +                                   'net.ifnames=0 console=tty1 '
> +                                   'console=ttyS0,115200n8'),
> +                },
> +            },
>          }
>      }
>  
> @@ -513,6 +530,16 @@ def pxeboot_url(self):
>          """Gets the repository url where pxeboot files can be found"""
>          return self._info.get('pxeboot_url', None)
>  
> +    @property
> +    def kernel_hash(self):
> +        """Gets checksum of the pxeboot kernel image"""
> +        return self._info.get('kernel_hash', None)
> +
> +    @property
> +    def initrd_hash(self):
> +        """Gets checksum of the pxeboot initrd image"""
> +        return self._info.get('initrd_hash', None)
> +
>      @property
>      def default_kernel_params(self):
>          """Gets the default kernel parameters"""


-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro



reply via email to

[Prev in Thread] Current Thread [Next in Thread]