[virt-tools-list] [virt-what PATCH 0/2] [RFT] add lkvm and arm support

Andrew Jones drjones at redhat.com
Fri Mar 27 20:18:58 UTC 2015


This series adds support for LKVM detection with the first patch,
and running in ARM guests with the second - initially only detecting
lkvm, qemu/kvm, and xen. Here's a table of the new support with its
testing status. You'll see that not much has been tested, thus the
RFT. It does pass 'make check', both when built on x86 and on Aarch64.

 Detection		Tested
 ---------		------
 x86 LKVM		no
 ARM LKVM		no
 ARM QEMU/KVM		yes
 ARM Xen		no

Thanks for reviews and testing. Please keep me on CC, as I'm not
subscribed to virt-tools-list.

drew

Andrew Jones (2):
  Add lkvm detection
  Add ARM support

 Makefile.am                                        | 27 ++++++++++
 tests/lkvm-arm/proc/cpuinfo                        | 63 ++++++++++++++++++++++
 tests/lkvm-arm/proc/device-tree/compatible         |  1 +
 tests/lkvm-arm/proc/self/status                    | 41 ++++++++++++++
 tests/lkvm-arm/sbin/dmidecode                      |  2 +
 tests/lkvm-arm/sbin/uname                          |  2 +
 tests/lkvm-arm/sbin/virt-what-cpuid-helper         |  2 +
 tests/lkvm/proc/cpuinfo                            | 19 +++++++
 tests/lkvm/proc/self/status                        | 39 ++++++++++++++
 tests/lkvm/sbin/dmidecode                          |  2 +
 tests/lkvm/sbin/uname                              |  2 +
 tests/lkvm/sbin/virt-what-cpuid-helper             |  2 +
 tests/qemu-arm/proc/cpuinfo                        | 63 ++++++++++++++++++++++
 .../proc/device-tree/fw-cfg at 9020000/compatible     |  1 +
 tests/qemu-arm/proc/self/status                    | 41 ++++++++++++++
 tests/qemu-arm/sbin/dmidecode                      |  2 +
 tests/qemu-arm/sbin/uname                          |  2 +
 tests/qemu-arm/sbin/virt-what-cpuid-helper         |  2 +
 tests/test-lkvm-arm.sh                             | 34 ++++++++++++
 tests/test-lkvm.sh                                 | 34 ++++++++++++
 tests/test-qemu-arm.sh                             | 34 ++++++++++++
 tests/test-xen-arm.sh                              | 34 ++++++++++++
 tests/xen-arm/proc/cpuinfo                         | 63 ++++++++++++++++++++++
 .../xen-arm/proc/device-tree/hypervisor/compatible |  1 +
 tests/xen-arm/proc/self/status                     | 41 ++++++++++++++
 tests/xen-arm/sbin/dmidecode                       |  2 +
 tests/xen-arm/sbin/uname                           |  2 +
 tests/xen-arm/sbin/virt-what-cpuid-helper          |  2 +
 virt-what.in                                       | 30 ++++++++++-
 virt-what.pod                                      |  8 +++
 30 files changed, 597 insertions(+), 1 deletion(-)
 create mode 100644 tests/lkvm-arm/proc/cpuinfo
 create mode 100644 tests/lkvm-arm/proc/device-tree/compatible
 create mode 100644 tests/lkvm-arm/proc/self/status
 create mode 100755 tests/lkvm-arm/sbin/dmidecode
 create mode 100755 tests/lkvm-arm/sbin/uname
 create mode 100755 tests/lkvm-arm/sbin/virt-what-cpuid-helper
 create mode 100644 tests/lkvm/proc/cpuinfo
 create mode 100644 tests/lkvm/proc/self/status
 create mode 100755 tests/lkvm/sbin/dmidecode
 create mode 100755 tests/lkvm/sbin/uname
 create mode 100755 tests/lkvm/sbin/virt-what-cpuid-helper
 create mode 100644 tests/qemu-arm/proc/cpuinfo
 create mode 100644 tests/qemu-arm/proc/device-tree/fw-cfg at 9020000/compatible
 create mode 100644 tests/qemu-arm/proc/self/status
 create mode 100755 tests/qemu-arm/sbin/dmidecode
 create mode 100755 tests/qemu-arm/sbin/uname
 create mode 100755 tests/qemu-arm/sbin/virt-what-cpuid-helper
 create mode 100755 tests/test-lkvm-arm.sh
 create mode 100755 tests/test-lkvm.sh
 create mode 100755 tests/test-qemu-arm.sh
 create mode 100755 tests/test-xen-arm.sh
 create mode 100644 tests/xen-arm/proc/cpuinfo
 create mode 100644 tests/xen-arm/proc/device-tree/hypervisor/compatible
 create mode 100644 tests/xen-arm/proc/self/status
 create mode 100755 tests/xen-arm/sbin/dmidecode
 create mode 100755 tests/xen-arm/sbin/uname
 create mode 100755 tests/xen-arm/sbin/virt-what-cpuid-helper

-- 
1.9.3




More information about the virt-tools-list mailing list