vl: split various early command line options to a separate function
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 21 Oct 2020 09:17:39 +0000 (05:17 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Dec 2020 17:15:11 +0000 (12:15 -0500)
commit0546c0609cb5a8d90c1cbac8e0d64b5a048bbb19
tree6562f5fa7c6ff9ef54d6b408e558cc3cc51f79da
parentdb372edc06889445106796430567c07fce146490
vl: split various early command line options to a separate function

Various options affect the global state of QEMU including the rest of
qemu_init, and they need to be called very early.  Group them together
in a function that is called at the beginning.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
softmmu/vl.c