From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=49899 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OoFES-00076g-AY for qemu-devel@nongnu.org; Wed, 25 Aug 2010 08:37:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OoFEO-0005fP-RV for qemu-devel@nongnu.org; Wed, 25 Aug 2010 08:37:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17111) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OoFEO-0005fK-Hf for qemu-devel@nongnu.org; Wed, 25 Aug 2010 08:37:28 -0400 Message-ID: <4C750E83.7020306@redhat.com> Date: Wed, 25 Aug 2010 14:37:23 +0200 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 5/9] spice: core bits References: <1282221625-29501-1-git-send-email-kraxel@redhat.com> <1282221625-29501-6-git-send-email-kraxel@redhat.com> <4C6D3D6E.5080003@codemonkey.ws> In-Reply-To: <4C6D3D6E.5080003@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org Hi, > I think there's two paths we can take here. We can either use > module_init() with a new class for this location or we can be more > explicit and pass the option list here. Actually the device_init() hook does just fine here. Not sure this is a good idea to hook there though as this is meant for guest device backends and it could be moved at some point in the future. I basically need a hook to do host-side setup after all config processing is done and before guest devices are created. cheers, Gerd