Add seed function to qemu

Again, very new, very experimental