Since the kernel does not report much data for that box the sysinfo
output is comparatively sparse.
---
tests/sysinfodata/aarch64-moonshotcpuinfo.data | 72 ++++++++++++++++++++++++
tests/sysinfodata/aarch64-moonshotsysinfo.expect | 1 +
tests/sysinfotest.c | 1 +
3 files changed, 74 insertions(+)
create mode 100644 tests/sysinfodata/aarch64-moonshotcpuinfo.data
create mode 100644 tests/sysinfodata/aarch64-moonshotsysinfo.expect
diff --git a/tests/sysinfodata/aarch64-moonshotcpuinfo.data b/tests/sysinfodata/aarch64-moonshotcpuinfo.data
new file mode 100644
index 000000000..b694fa809
--- /dev/null
+++ b/tests/sysinfodata/aarch64-moonshotcpuinfo.data
@@ -0,0 +1,72 @@
+processor : 0
+BogoMIPS : 100.00
+Features : fp asimd evtstrm
+CPU implementer : 0x50
+CPU architecture: 8
+CPU variant : 0x0
+CPU part : 0x000
+CPU revision : 1
+
+processor : 1
+BogoMIPS : 100.00
+Features : fp asimd evtstrm
+CPU implementer : 0x50
+CPU architecture: 8
+CPU variant : 0x0
+CPU part : 0x000
+CPU revision : 1
+
+processor : 2
+BogoMIPS : 100.00
+Features : fp asimd evtstrm
+CPU implementer : 0x50
+CPU architecture: 8
+CPU variant : 0x0
+CPU part : 0x000
+CPU revision : 1
+
+processor : 3
+BogoMIPS : 100.00
+Features : fp asimd evtstrm
+CPU implementer : 0x50
+CPU architecture: 8
+CPU variant : 0x0
+CPU part : 0x000
+CPU revision : 1
+
+processor : 4
+BogoMIPS : 100.00
+Features : fp asimd evtstrm
+CPU implementer : 0x50
+CPU architecture: 8
+CPU variant : 0x0
+CPU part : 0x000
+CPU revision : 1
+
+processor : 5
+BogoMIPS : 100.00
+Features : fp asimd evtstrm
+CPU implementer : 0x50
+CPU architecture: 8
+CPU variant : 0x0
+CPU part : 0x000
+CPU revision : 1
+
+processor : 6
+BogoMIPS : 100.00
+Features : fp asimd evtstrm
+CPU implementer : 0x50
+CPU architecture: 8
+CPU variant : 0x0
+CPU part : 0x000
+CPU revision : 1
+
+processor : 7
+BogoMIPS : 100.00
+Features : fp asimd evtstrm
+CPU implementer : 0x50
+CPU architecture: 8
+CPU variant : 0x0
+CPU part : 0x000
+CPU revision : 1
+
diff --git a/tests/sysinfodata/aarch64-moonshotsysinfo.expect b/tests/sysinfodata/aarch64-moonshotsysinfo.expect
new file mode 100644
index 000000000..73ea466bc
--- /dev/null
+++ b/tests/sysinfodata/aarch64-moonshotsysinfo.expect
@@ -0,0 +1 @@
+<sysinfo type='smbios'/>
diff --git a/tests/sysinfotest.c b/tests/sysinfotest.c
index 3dd569b73..047e87b7a 100644
--- a/tests/sysinfotest.c
+++ b/tests/sysinfotest.c
@@ -142,6 +142,7 @@ mymain(void)
TEST("arm", virSysinfoReadARM);
TEST("arm-rpi2", virSysinfoReadARM);
TEST("aarch64", virSysinfoReadARM);
+ TEST("aarch64-moonshot", virSysinfoReadARM);
return ret;
}
--
2.11.0
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
On Mon, Mar 06, 2017 at 16:24:39 +0100, Peter Krempa wrote: > Since the kernel does not report much data for that box the sysinfo > output is comparatively sparse. > --- > tests/sysinfodata/aarch64-moonshotcpuinfo.data | 72 ++++++++++++++++++++++++ > tests/sysinfodata/aarch64-moonshotsysinfo.expect | 1 + > tests/sysinfotest.c | 1 + > 3 files changed, 74 insertions(+) > create mode 100644 tests/sysinfodata/aarch64-moonshotcpuinfo.data > create mode 100644 tests/sysinfodata/aarch64-moonshotsysinfo.expect > > diff --git a/tests/sysinfodata/aarch64-moonshotcpuinfo.data b/tests/sysinfodata/aarch64-moonshotcpuinfo.data > new file mode 100644 > index 000000000..b694fa809 > --- /dev/null > +++ b/tests/sysinfodata/aarch64-moonshotcpuinfo.data > @@ -0,0 +1,72 @@ [...] > +processor : 6 > +BogoMIPS : 100.00 > +Features : fp asimd evtstrm > +CPU implementer : 0x50 > +CPU architecture: 8 > +CPU variant : 0x0 > +CPU part : 0x000 > +CPU revision : 1 > + > +processor : 7 > +BogoMIPS : 100.00 > +Features : fp asimd evtstrm > +CPU implementer : 0x50 > +CPU architecture: 8 > +CPU variant : 0x0 > +CPU part : 0x000 > +CPU revision : 1 > + Consider this wasteful empty line at the end of the file deleted to make our syntax-check happy. -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
© 2016 - 2026 Red Hat, Inc.