Reposting for inclusion into qemu for the next release (hopefully) I've rebased against master and rediffed. Since we've missed 0.12 I've reordered the patches so that virtio-rng depends on the socket reconnect patches, and has the matching functionality thats needed to handle reconnect events.
The kernel side changes required by virtio-rng were merged into mainline 8 days ago.