[Lldb-commits] [PATCH] D82064: [ARM64] Add QEMU testing environment setup guide for SVE testing

Muhammad Omair Javaid via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 17 15:50:32 PDT 2020


omjavaid updated this revision to Diff 286161.
omjavaid added a comment.
Herald added a subscriber: JDevlieghere.

In light of review comments I have come up with this new sceheme for setting up QEMU VM based testing environment for LLDB.

We now have three scripts:

1. setup.sh is used to build Linux kernel images for Arm and AArch64. Also it builds QEMU from latest sources.
2. rootfs.sh can generate Ubuntu rootf file system images for our QEMU VMs
3. run-qemu.sh puts it all together and uses kernel image, rootfs image and arch information to run a QEMU VM. We currently support Arm and AArch64 architectures and more architectures can be added later.

This can generates a QEMU testing setup in less than 10 minutes on a host machine with reasonable resources.

@labath @rovka thoughts?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82064/new/

https://reviews.llvm.org/D82064

Files:
  lldb/tools/lldb-test-qemu/README.txt
  lldb/tools/lldb-test-qemu/rootfs.sh
  lldb/tools/lldb-test-qemu/run-qemu.sh
  lldb/tools/lldb-test-qemu/setup.sh

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82064.286161.patch
Type: text/x-patch
Size: 15826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200817/7bd5159e/attachment-0001.bin>


More information about the lldb-commits mailing list