From: Gerd Hoffmann Subject: Re: [Qemu-devel] [PATCH 02/10] xen: backend driver core Date: Fri, 03 Apr 2009 21:59:48 +0200 Message-ID: <49D66AB4.5030105@redhat.com> References: <1238621982-18333-1-git-send-email-kraxel@redhat.com> <1238621982-18333-3-git-send-email-kraxel@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Blue Swirl Cc: xen-devel@lists.xensource.com, qemu-devel@nongnu.org List-Id: xen-devel@lists.xenproject.org Blue Swirl wrote: > On 4/2/09, Gerd Hoffmann wrote: >> This patch adds infrastructure for xen backend drivers living in qemu, >> so drivers don't need to implement common stuff on their own. It's >> mostly xenbus management stuff: some functions to access xentore, >> setting up xenstore watches, callbacks on device discovery and state >> changes, handle event channel, ... >> >> Signed-off-by: Gerd Hoffmann > >> + * You should have received a copy of the GNU General Public License >> + * along with this program; if not, write to the Free Software >> + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > > The address is now 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Will fix. >> + if (NULL == node || 0 == strcmp(node, "online")) { >> + if (-1 == xenstore_read_be_int(xendev, "online", &xendev->online)) > > This style is alien. Oops. Still one of them. I though I've killed them all, will check again. cheers, Gerd