qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 02/29] accel/accel: Make TYPE_ACCEL abstract


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2 02/29] accel/accel: Make TYPE_ACCEL abstract
Date: Wed, 29 Jan 2020 22:31:28 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2

Since this file isn't covered in MAINTAINERS, manually Cc'ing Paolo.

On 1/29/20 10:23 PM, Philippe Mathieu-Daudé wrote:
There is no generic acceleration, we have to use specific
implementations. Make the base class abstract.

Fixes: b14a0b7469f
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
  accel/accel.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/accel/accel.c b/accel/accel.c
index cb555e3b06..a0169b4e69 100644
--- a/accel/accel.c
+++ b/accel/accel.c
@@ -33,6 +33,7 @@
  static const TypeInfo accel_type = {
      .name = TYPE_ACCEL,
      .parent = TYPE_OBJECT,
+    .abstract = true,
      .class_size = sizeof(AccelClass),
      .instance_size = sizeof(AccelState),
  };





reply via email to

[Prev in Thread] Current Thread [Next in Thread]