From: Sasha Levin Subject: [RFC 06/10] zcache: move out client declaration and add a KVM client Date: Wed, 6 Jun 2012 13:00:14 +0200 Message-ID: <1338980418-2519-6-git-send-email-levinsasha928@gmail.com> References: <1338980418-2519-1-git-send-email-levinsasha928@gmail.com> Cc: kvm@vger.kernel.org, Sasha Levin To: avi@redhat.com, mtosatti@redhat.com, gregkh@linuxfoundation.org, sjenning@linux.vnet.ibm.com, dan.magenheimer@oracle.com, konrad.wilk@oracle.com Return-path: Received: from mail-ob0-f174.google.com ([209.85.214.174]:45091 "EHLO mail-ob0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753006Ab2FFK7k (ORCPT ); Wed, 6 Jun 2012 06:59:40 -0400 Received: by mail-ob0-f174.google.com with SMTP id tb18so10130959obb.19 for ; Wed, 06 Jun 2012 03:59:40 -0700 (PDT) In-Reply-To: <1338980418-2519-1-git-send-email-levinsasha928@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: Move out client declarations to be visible in the header, and introduce a new KVM client. Signed-off-by: Sasha Levin --- drivers/staging/zcache/zcache.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/staging/zcache/zcache.h b/drivers/staging/zcache/zcache.h index ec06ea2..4693fd6 100644 --- a/drivers/staging/zcache/zcache.h +++ b/drivers/staging/zcache/zcache.h @@ -1,6 +1,9 @@ #ifndef _ZCACHE_H_ #define _ZCACHE_H_ +#define LOCAL_CLIENT ((uint16_t)-1) +#define KVM_CLIENT 1 + extern int zcache_enabled; extern int zcache_new_pool(uint16_t cli_id, uint32_t flags); -- 1.7.8.6