[Kimchi-devel] [PATCH] Change ISO stream feature test and kvm user test for PPC

Paulo Ricardo Paz Vital pvital at linux.vnet.ibm.com
Thu Jul 10 18:11:04 UTC 2014


-- 
Tested-by: Paulo Vital <pvital at linux.vnet.ibm.com>
Reviewed-by: Paulo Vital <pvital at linux.vnet.ibm.com>


On Thu, 2014-07-10 at 13:09 -0300, Rodrigo Trujillo wrote:
> This patch removes X86 hardcoded tags from test XMLs in order to allow
> run the tests in PPC machines.
> It also increases the amount of memory used in User test xml, because
> PPC only creates VMs with more then 128M.
> 
> Signed-off-by: Rodrigo Trujillo <rodrigo.trujillo at linux.vnet.ibm.com>
> ---
>  src/kimchi/featuretests.py | 2 +-
>  src/kimchi/kvmusertests.py | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/kimchi/featuretests.py b/src/kimchi/featuretests.py
> index 5192361..fd9b7d8 100644
> --- a/src/kimchi/featuretests.py
> +++ b/src/kimchi/featuretests.py
> @@ -37,7 +37,7 @@ ISO_STREAM_XML = """
>    <name>ISO_STREAMING</name>
>    <memory unit='KiB'>1048576</memory>
>    <os>
> -    <type arch='x86_64' machine='pc-1.2'>hvm</type>
> +    <type>hvm</type>
>      <boot dev='cdrom'/>
>    </os>
>    <devices>
> diff --git a/src/kimchi/kvmusertests.py b/src/kimchi/kvmusertests.py
> index 1757725..3a44ae3 100644
> --- a/src/kimchi/kvmusertests.py
> +++ b/src/kimchi/kvmusertests.py
> @@ -31,9 +31,9 @@ class UserTests(object):
>      <domain type='kvm'>
>        <name>%s</name>
>        <uuid>%s</uuid>
> -      <memory unit='KiB'>10240</memory>
> +      <memory unit='KiB'>262144</memory>
>        <os>
> -        <type arch='x86_64' machine='pc'>hvm</type>
> +        <type>hvm</type>
>          <boot dev='hd'/>
>        </os>
>      </domain>"""




More information about the Kimchi-devel mailing list