mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
accel/accel: Make TYPE_ACCEL abstract
There is no generic acceleration, we have to use specific
implementations. Make the base class abstract.
Fixes: b14a0b7469
("accel: Use QOM classes for accel types")
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20200129212345.20547-3-philmd@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
6042c47cdd
commit
e92a883ffe
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ static const TypeInfo accel_type = {
|
|||
.parent = TYPE_OBJECT,
|
||||
.class_size = sizeof(AccelClass),
|
||||
.instance_size = sizeof(AccelState),
|
||||
.abstract = true,
|
||||
};
|
||||
|
||||
/* Lookup AccelClass from opt_name. Returns NULL if not found */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue