aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2018-10-15 15:50:25 +1030
committerStewart Smith <stewart@linux.ibm.com>2018-10-16 18:26:24 +1100
commit3c54a914e54d15ac1e21378c54268ef78b068d02 (patch)
treeb7af9361f946e01b82a7a89ff73dc0b965955365 /README.md
parentc94b5a9e9c32724cba92e78073f6e3c334a0ad43 (diff)
downloadskiboot-3c54a914e54d15ac1e21378c54268ef78b068d02.zip
skiboot-3c54a914e54d15ac1e21378c54268ef78b068d02.tar.gz
skiboot-3c54a914e54d15ac1e21378c54268ef78b068d02.tar.bz2
README: Update Qemu instructions
Qemu has evolved since this text was written. We can now run skiboot on upstream Qemu. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md25
1 files changed, 15 insertions, 10 deletions
diff --git a/README.md b/README.md
index 8082ad8..2d43765 100644
--- a/README.md
+++ b/README.md
@@ -90,16 +90,21 @@ To test in a simulator, install the IBM POWER8 Functional Simulator from:
http://www-304.ibm.com/support/customercare/sas/f/pwrfs/home.html
Also see external/mambo/README.md
-Qemu (as of 2.2.0) is not suitable as it does not (yet) implement
-the HyperVisor mode of the POWER8 processor.
-See https://www.flamingspork.com/blog/2015/08/28/running-opal-in-qemu-the-powernv-platform/ for instructions on how to use a work-in-progress patchset
-to qemu that may be suitable for some work.
-
-To run a boot-to-bootloader test, you'll need a zImage.papr built using
-the mambo_defconfig config for op-build. See
-https://github.com/open-power/op-build/ on howto build. Drop zImage.epapr
-in the skiboot directory and the skiboot test suite will automatically pick
-it up.
+Qemu as of version 2.8 implements the 'powernv' machine model and is sufficient
+to run skiboot:
+
+ qemu-system-ppc64 -M powernv -m 3G -nographic -L /path/to/skiboot/
+
+To run a boot-to-bootloader test you need a Linux kernel image 'zImage.epapr'.
+Build one using the `mambo_defconfig` config for op-build. See
+https://github.com/open-power/op-build/ on how to build, or download one from
+https://openpower.xyz/job/openpower/job/openpower-op-build/.
+
+Drop zImage.epapr in the skiboot directory and the skiboot test suite will
+automatically pick it up. You can also run a combined skiboot and Linux test in
+Qemu (version 3.0+):
+
+ qemu-system-ppc64 -M powernv -m 3G -nographic -kernel zImage.epapr -L /path/to/skiboot/
See opal-ci/README for further testing instructions.