diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2014-09-26 17:45:21 -0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-10-04 08:59:15 +0200 |
commit | b14a0b7469fa3e6c26d18438531d26138c55b67e (patch) | |
tree | 03c4c3a3b31b23bcbd684620b21988a65db4c544 /block/qcow2.c | |
parent | a22465520060951e70124729521318a559a3fe88 (diff) |
accel: Use QOM classes for accel types
Instead of having a static AccelType array, register a class for each
accelerator type, and use class name lookup to find accelerator
information.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block/qcow2.c')
0 files changed, 0 insertions, 0 deletions