qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 01/10] qdev: add "check if address free" callback for buses


From: Paolo Bonzini
Subject: Re: [PATCH 01/10] qdev: add "check if address free" callback for buses
Date: Wed, 30 Sep 2020 19:48:09 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

On 28/09/20 11:30, Stefan Hajnoczi wrote:
>> +    bool (*check_address)(BusState *bus, DeviceState *dev, Error **errp);
> Please document this function.

I will add this:

        /*
         * Return whether the device can be added to @bus,
         * based on the address that was set (via device properties)
         * before realize.  If not, on return @errp contains the
         * human-readable error message.
         */

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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