AccelClass: Introduce accel_setup_post

This is called just before os_setup_post.  Currently none of the
accelerators provide this hook, but the Xen one is going to provide
one in a moment.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
Ian Jackson 2018-03-09 12:02:50 +00:00 committed by Ian Jackson
parent 5ac067a24a
commit 7a64c17f3b
3 changed files with 13 additions and 0 deletions

1
vl.c
View file

@ -4742,6 +4742,7 @@ int main(int argc, char **argv, char **envp)
vm_start();
}
accel_setup_post(current_machine);
os_setup_post();
main_loop();