[Avocado-devel] How to enable a new platform and Linux on avocado-vt?
Wei WA Li
liwbj at cn.ibm.com
Thu May 19 02:15:59 UTC 2016
Add some info.
[root at zs95kv2 avocado]# cat /etc/*-release
KVM for IBM z Systems release 1.1.1 (Z)
KVM for IBM z Systems release 1.1.1 (Z)
NAME="KVM for IBM z Systems"
VERSION="1.1.1 (Z)"
ID="kvmibm"
ID_LIKE="rhel fedora"
VERSION_ID="1.1.1"
PRETTY_NAME="KVM for IBM z Systems 1.1.1 (Z)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:ibm:kvmibm:1.1.1"
BUILD_ID="20160309"
KVM for IBM z Systems release 1.1.1 (Z)
[root at zs95kv2 avocado]# uname -a
Linux zs95kv2 3.10.0-229.7.2.el7_1.kvmibm1_1_1.20.s390x #1 SMP Thu Mar 31
19:19:09 EDT 2016 s390x s390x s390x GNU/Linux
[root at zs95kv2 avocado]#
[root at zs95kv2 avocado]# qemu-kvm -M \?
Supported machines are:
none empty machine
s390-ccw-virtio-2.4 VirtIO-ccw based S390 machine v2.4
s390-ccw-kvmibm-1.1.0 KVM for IBM z Systems 1.1.0
s390-ccw-virtio KVM for IBM z Systems 1.1.1 (alias of
s390-ccw-kvmibm-1.1.1)
s390-ccw-kvmibm-1.1.1 KVM for IBM z Systems 1.1.1 (default)
s390 VirtIO based S390 machine (alias of s390-virtio)
s390-virtio VirtIO based S390 machine
Best regards,
-
Li, Wei (李 伟)
zKVM Solution Test
IBM China Systems & Technology Lab, Beijing
E-Mail: liwbj at cn.ibm.com
Tel: 86-10-82450631 Notes: Wei WA Li/China/IBM
Address: 3BW298, Ring Bldg. No.28 Building, ZhongGuanCun Software Park,No.8
DongBeiWang West Road, ShangDi, Haidian District, Beijing,
P.R.China
From: Wei WA Li/China/IBM
To: Avocado-devel at redhat.com
Date: 2016/05/19 10:00
Subject: How to enable a new platform and Linux on avocado-vt?
Hi all,
Could you help me to take a look for this issue? I am still trying to do
it, but I have no idea about it. Thank you very much.
https://github.com/avocado-framework/avocado-vt/issues/512
I just installed avocado-vt on our s390x platform, the result is as below.
[root at zs95kv2 avocado]# ./scripts/avocado run
--vt-machine-type=s390-ccw-kvmibm-1.1.1
type_specific.io-github-autotest-qemu.migrate.default.tcp --show-g
Config
file /usr/share/avocado/data/avocado-vt/backends/qemu/cfg/guest-os.cfg auto
generated from guest OS samples
Config
file /usr/share/avocado/data/avocado-vt/backends/qemu/cfg/subtests.cfg auto
generated from subtest samples
Test discovery plugin <avocado_vt.loader.VirtTestLoader object at
0x917d17f0> failed: option --vt-guest-os 'JeOS.23' is not on the known
guest os for aone' and machine type 's390-ccw-kvmibm-1.1.1'. (see
--vt-list-guests)
Unable to discover url(s)
'type_specific.io-github-autotest-qemu.migrate.default.tcp' with loader
plugins(s) 'file', 'vt', 'external', try running 'avoist -V
type_specific.io-github-autotest-qemu.migrate.default.tcp' to see the
details.
[root at zs95kv2 avocado]#
s390x is our platfrom on Z mianframe, and I am trying to test it
virtualiztion functions by avocado. The relationship is as below.
s390 like X86
zLinux like Fedora
zKVM like KVM
So current avocado does not support our platfrom, I want to modify it and
contribute it.
Shoud I need to add some cfg here firstly?
[root at zs95kv2 Linux]# ll
total 72
drwxr-xr-x. 4 root root 4096 May 11 04:45 CentOS
-rw-r--r--. 1 root root 416 May 11 04:45 CentOS.cfg
drwxr-xr-x. 2 root root 4096 May 11 04:45 Debian
-rw-r--r--. 1 root root 275 May 11 04:45 Debian.cfg
drwxr-xr-x. 2 root root 4096 May 11 04:45 Fedora
-rw-r--r--. 1 root root 1787 May 11 04:45 Fedora.cfg
drwxr-xr-x. 2 root root 4096 May 11 04:45 JeOS
-rw-r--r--. 1 root root 21 May 11 04:45 JeOS.cfg
drwxr-xr-x. 2 root root 4096 May 11 04:45 LinuxCustom
-rw-r--r--. 1 root root 64 May 11 04:45 LinuxCustom.cfg
drwxr-xr-x. 2 root root 4096 May 11 04:45 OpenSUSE
-rw-r--r--. 1 root root 549 May 11 04:45 OpenSUSE.cfg
drwxr-xr-x. 27 root root 4096 May 11 04:45 RHEL
-rw-r--r--. 1 root root 973 May 11 04:45 RHEL.cfg
drwxr-xr-x. 2 root root 4096 May 11 04:45 SLES
-rw-r--r--. 1 root root 772 May 11 04:45 SLES.cfg
drwxr-xr-x. 2 root root 4096 May 11 04:45 Ubuntu
-rw-r--r--. 1 root root 361 May 11 04:45 Ubuntu.cfg
[root at zs95kv2 Linux]# pwd
/avocado/avocado-vt/shared/cfg/guest-os/Linux
[root at zs95kv2 Linux]#
Best regards,
-
Li, Wei (李 伟)
zKVM Solution Test
IBM China Systems & Technology Lab, Beijing
E-Mail: liwbj at cn.ibm.com
Tel: 86-10-82450631 Notes: Wei WA Li/China/IBM
Address: 3BW298, Ring Bldg. No.28 Building, ZhongGuanCun Software Park,No.8
DongBeiWang West Road, ShangDi, Haidian District, Beijing,
P.R.China
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/avocado-devel/attachments/20160519/ac51159b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/avocado-devel/attachments/20160519/ac51159b/attachment.gif>
More information about the Avocado-devel
mailing list