vl: process -object after other backend options
commit7b71758d79106a63a0b8aba02df752d9995ea50c
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 25 Aug 2014 11:47:00 +0000 (25 13:47 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 26 Aug 2014 11:44:39 +0000 (26 13:44 +0200)
tree03775f8442e5b5b2e04649c0f56ca044083f6503
parenta6859deb6908261c9a9adf9cc4b8863fc0897b5c
vl: process -object after other backend options

QOM backends can refer to chardevs, but not vice versa.  So
process -chardev and -fsdev options before -object

This fixes the rng-egd backend to virtio-rng.

Reported-by: Amos Kong <akong@redhat.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
vl.c