Merge lp:~dannf/ubuntu-manual-tests/arm64-server-kvm into lp:ubuntu-manual-tests

Proposed by dann frazier
Status: Merged
Merged at revision: 357
Proposed branch: lp:~dannf/ubuntu-manual-tests/arm64-server-kvm
Merge into: lp:ubuntu-manual-tests
Diff against target: 32 lines (+28/-0)
1 file modified
testcases/image/ARM64_Headless_KVM_Guest (+28/-0)
To merge this branch: bzr merge lp:~dannf/ubuntu-manual-tests/arm64-server-kvm
Reviewer Review Type Date Requested Status
Kev Bowring (community) Approve
Review via email: mp+317539@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Kev Bowring (flocculant) wrote :

Thanks Dann.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'testcases/image/ARM64_Headless_KVM_Guest'
2--- testcases/image/ARM64_Headless_KVM_Guest 1970-01-01 00:00:00 +0000
3+++ testcases/image/ARM64_Headless_KVM_Guest 2017-02-16 18:57:13 +0000
4@@ -0,0 +1,28 @@
5+<dl>
6+ <dt>Setup an arm64 host to boot KVM guests.</dt>
7+ <ul>
8+ <li><code>sudo apt install libvirt-bin qemu-efi qemu-kvm</code></li>
9+ <li><code>cat > /tmp/qemu-ifup << EOF</code></li>
10+ <li><code>#!/bin/sh</code></li>
11+ <li><code></code></li>
12+ <li><code>set -e</code></li>
13+ <li><code></code></li>
14+ <li><code>ip link set "\$1" up</code></li>
15+ <li><code>ip link set "\$1" master virbr0</code></li>
16+ <li><code>EOF</code></li>
17+ <li><code>cat /tmp/qemu-ifup | sudo tee /etc/qemu-ifup</code></li>
18+ </ul>
19+ <dt>Boot a KVM instance in UEFI mode w/ the test ISO connected.</dt>
20+ <ul>
21+ <li><code>cp /usr/share/AAVMF/* .</code></li>
22+ <li><code>qemu-img create -f qcow2 disk.img 18G</code></li>
23+ <li><code>sudo qemu-system-aarch64 -enable-kvm -m 2048 -cpu host -smp 2 -M virt,gic_version=host -nographic -pflash AAVMF_CODE.fd -pflash AAVMF_VARS.fd -drive if=none,file=disk.img,id=hd0 -device virtio-blk-device,drive=hd0 -netdev type=tap,id=net0 -device virtio-net-device,netdev=net0,mac=ac:67:de:d2:4b:06 -drive file=TEST-ISOFILE-PATH.iso,id=cdrom,if=none,media=cdrom -device virtio-scsi-device -device scsi-cd,drive=cdrom</code></li>
24+ </ul>
25+ <dt>Proceed through the install and login to the installed OS after reboot.</dt>
26+ <dt>Reboot. System should boot up to login prompt without delay.</dt>
27+ <dt>Check dmesg for any abnormal messages or errors.</dt>
28+ <dd><code>dmesg | less</code></dd>
29+ <dt>If an HWE kernel option is available for this release, repeat the above steps while selecting the HWE kernel option from the boot menu.</dt>
30+ <strong>
31+ If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
32+ If an action fails, or produces an unexpected result, please <a href="results#add_result">submit</a> a 'failed' result and <a href="../../buginstructions">file a bug</a>. Please be sure to include the bug number when you <a href="results#add_result">submit</a> your result</strong>.

Subscribers

People subscribed via source and target branches