We think you might be interested in this job:

by We've had Xen support for over a year now because the older AWS instances utilized that and we've had KVM support since day one because that's our main go-to hypervisor.

We then upload it and create a copy of it to use it.

There are other ways of achieving this but we found this to be rather straight-forward. The logs are piped from a serial adapter out to a log file and you can obtain them like so: This by default will yank the last 100 lines of output.