mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
machine: Replace QEMUMachine by MachineClass in accelerator configuration
This minimizes QEMUMachine usage, as part of machine QOM-ification. Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
aaa663916d
commit
f1e298794d
11 changed files with 17 additions and 17 deletions
|
@ -152,7 +152,7 @@ extern KVMState *kvm_state;
|
|||
|
||||
/* external API */
|
||||
|
||||
int kvm_init(QEMUMachine *machine);
|
||||
int kvm_init(MachineClass *mc);
|
||||
|
||||
int kvm_has_sync_mmu(void);
|
||||
int kvm_has_vcpu_events(void);
|
||||
|
|
|
@ -26,7 +26,7 @@ static inline bool qtest_enabled(void)
|
|||
|
||||
bool qtest_driver(void);
|
||||
|
||||
int qtest_init_accel(QEMUMachine *machine);
|
||||
int qtest_init_accel(MachineClass *mc);
|
||||
void qtest_init(const char *qtest_chrdev, const char *qtest_log, Error **errp);
|
||||
|
||||
static inline int qtest_available(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue