From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyrill Gorcunov Subject: Re: [PATCH 5/5 V2] kvm tools: Initialize and use VESA and VNC Date: Tue, 24 May 2011 12:51:34 +0400 Message-ID: <4DDB7196.4010008@gmail.com> References: <1306149553-26793-1-git-send-email-levinsasha928@gmail.com> <1306149553-26793-5-git-send-email-levinsasha928@gmail.com> <20110523113824.GE4042@elte.hu> <4DDB6E55.8080408@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Ingo Molnar , Sasha Levin , penberg@kernel.org, john@jfloren.net, kvm@vger.kernel.org, asias.hejun@gmail.com, prasadjoshi124@gmail.com To: Paolo Bonzini Return-path: Received: from mail-ew0-f46.google.com ([209.85.215.46]:51054 "EHLO mail-ew0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754697Ab1EXIvj (ORCPT ); Tue, 24 May 2011 04:51:39 -0400 Received: by ewy4 with SMTP id 4so2072823ewy.19 for ; Tue, 24 May 2011 01:51:38 -0700 (PDT) In-Reply-To: <4DDB6E55.8080408@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 05/24/2011 12:37 PM, Paolo Bonzini wrote: > On 05/23/2011 01:38 PM, Ingo Molnar wrote: >> Later on even this could be removed: using section >> tricks we can put init functions into a section > > This is not kernel space, the C library provides a way to do that with __attribute__((constructor))... > > Paolo Ingo meant to use the same trick as we do in kernel space for late initcalls. -- Cyrill