[sheepdog] [PATCH v2] sheep: clean up SD_RES_xxx macros

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Mon Apr 15 01:44:36 CEST 2013


At Fri, 12 Apr 2013 15:22:15 +0800,
Liu Yuan wrote:
> 
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> Currently it is a little bit mix that we put SD_RES_xxx for collie
> in sheepdog_proto.h but we put some SD_OP_xxx for collie in internal_proto.h.
> 
> Let's take a uniform view that take both inter-sheep and collie-sheep as
> internal protocols. In this way, collie and QEMU won't share the same number
> space to interfere with each other (QEMU is unaware of collie at all).
> 
> So the final number space is:
> 
> QEMU - sheep: use 1 to 80(inclusive) of number space
> inter-sheep and collie - sheep: above 80 of number space
> 
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
> ---
>  include/internal_proto.h |   10 +++++++++-
>  include/sheepdog_proto.h |    8 --------
>  2 files changed, 9 insertions(+), 9 deletions(-)

Applied, thanks!

Kazutaka



More information about the sheepdog mailing list