On Fri, Dec 23, 2016 at 09:08:30AM +0200, Riku Voipio wrote:
Hi Andrew,
Can you file an issue at github tracker? Also, I'd love to test your images if they are not internal ones.
Opened two issues
https://github.com/Linaro/vmspec-tools/issues/12 https://github.com/Linaro/vmspec-tools/issues/13
The failing images were Fedora and RHEL (CentOS should be the same). They were created with anaconda, launched with virt-install, using pure default selections.
Thanks, drew
Happy holidays, Riku
21.12.2016 17.53 "Andrew Jones" drjones@redhat.com kirjoitti:
Hi Riku,
Thanks for this. I have a couple images that fail the VMSPEC-IMAGE-GPT and VMSPEC-IMAGE-ESP tests, even though they shouldn't. This appears to be due to how the root device is found, as well as how GPT type is determined. Maybe using blkid instead of, or as well as, df could help.
Also, I think you may find using libguestfs (which has python bindings) a good way to handle multiple image / file system types for the image verify feature. And, libguestfs supports a 'add-drive-ro' feature that uses a snapshot mode like vmspec-verify does, but does not require the nbd module be loaded on the host.
Thanks, drew
On Wed, Dec 21, 2016 at 01:25:14PM +0200, Riku Voipio wrote:
Hi,
Some time ago we drafted a specification[1] for AArch64 virtual machines. Now we are launching verification tools that let everyone verify that the whole stack (host hypervisor, guest firmware and guest OS image) implements the spec:
https://github.com/linaro/vmspec-tools
For some extra background see the blog post on vmspec:
http://www.linaro.org/blog/core-dump/ensuring-bootable-arm-vm-images/
From the cross-distro point of view, we are interested in finding out if
- QEMU shipped is new enough (2.6+)
- a compatible EFI for arm64 guests is available
- a vmspec compatible cloud guest image is available
If the image comes with cloud-init, vmspec-boot can be used directly to verify compliance. Without cloud-init, one can run vmspec-verify inside the guest to verify manually.
The tools are still under development, for example the ACPI test returns a failure even if the guest would support ACPI if forced. Feedback and patches are always welcome.
The README.md lists a handful of guest images that have been used in testing. I'd be most happy to add more links to the list!
Riku
VMSystemSpecificationForARM-v2.0.pdf