On Mon, Apr 09, 2018 at 04:37:30PM -0600, Jeff Law wrote: > Are you guys using qemu user mode emulation for testing purposes? When > I've set up a suitable riscv64 rootfs and try to do anything nontrivial > in it with qemu user mode emulation it immediately complains that my > kernel is too old -- which is quite odd as I've got a dozen or so of > these kinds of environments set up for testing which don't issue that > complaint. > > I'd like to avoid full system emulation just from a cost standpoint..
We're using full system emulation with upstream qemu. It's surprisingly simple to set up, it supports multiple virtual CPUs up to ‘-smp 8’, and provided you have a fast enough host hardware isn't too bad for development. Of course compiling GCC with bootstrapping is still going to take a long time. For instructions see the readme here: https://fedorapeople.org/groups/risc-v/disk-images/ Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org