|
From: | Avi Kivity |
Subject: | [Qemu-devel] Re: [PATCH 17/32] build list of available accelerators |
Date: | Thu, 23 Oct 2008 17:15:07 +0200 |
User-agent: | Thunderbird 2.0.0.16 (X11/20080723) |
+typedef struct QEMUCont { + QEMUAccel *acc; + int active; + struct QEMUCont *next; +} QEMUCont;The name is unclear. But you could fold the structure into QEMUAccel, no?Yes, it was folded in my first version. It is separated just to allow external accelerators to register themselves without messing with the accelerator list, which would be internal. But I'm probably just being overzealous.
You could still have a registration function. The accelerator itself would not need to touch the members.
-- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.
[Prev in Thread] | Current Thread | [Next in Thread] |