Received: from eggs.gnu.org ([2001:4830:134:3::10]:60263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dkbIN-0003Td-IO for qemu-devel@nongnu.org; Wed, 23 Aug 2017 15:26:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dkbIM-0002Nt-R8 for qemu-devel@nongnu.org; Wed, 23 Aug 2017 15:26:31 -0400 References: <1503414375-21009-1-git-send-email-thuth@redhat.com> <27da1dae-1e2f-559a-d8f0-c7e15289363e@adacore.com> From: KONRAD Frederic Message-ID: Date: Wed, 23 Aug 2017 21:26:23 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] hw/misc/auxbus.c: Mark the aux-to-i2c-bridge device as non-hotpluggable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth Cc: Peter Maydell , qemu-arm@nongnu.org, qemu-devel@nongnu.org, "Edgar E. Iglesias" , Alistair Francis , qemu-trivial@nongnu.org On 08/23/2017 07:22 AM, Thomas Huth wrote: > On 22.08.2017 20:15, KONRAD Frederic wrote: >> Hi Thomas, >> >> Looking to this seems there is a second issue: >> The aux-to-i2c-bridge device should connect on a TYPE_AUX_BUS. >> >> I don't think there isn't any on integratorcp.. >> >> Anyway the patch you sent fix this issue indirectly and as far as >> I remember I wasn't able to make this I2C bridge an >> TYPE_AUX_DEVICE as it's a special device and it is internal (only >> instantiated at the bus creation). > > If it is intended to be completely internal only (i.e. also not for use > with the "-device" parameter), then it should even be marked with > "user_creatable = false"! ... if you got some spare minutes, could you > maybe sent a patch for that? I'm not familiar with that code, so I'm > always having trouble to give the reasoning for setting a > "user_creatable = false" somewhere... > > Thanks, > Thomas > Ok will do! Thanks, Fred