qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [PATCH 0/10] qdev patches.


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] Re: [PATCH 0/10] qdev patches.
Date: Mon, 22 Jun 2009 13:25:40 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2

On 06/22/09 11:57, Gerd Hoffmann wrote:
On 06/22/09 11:36, Avi Kivity wrote:
There's a third alternative, zero terminating the array.

If most calls register one qdev, I'd prefer pci_qdev_register() and
pci_qdev_register_many().

Where register() takes a single instance and register_many() a
zero-terminated array I guess? Sounds good.

i.e. something like the attached patch (incremental to the whole patch series).

cheers,
  Gerd

Attachment: rfc.diff
Description: Text document


reply via email to

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