WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Compile linux-2.6.18-xen.hg with changeset 927 error

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Compile linux-2.6.18-xen.hg with changeset 927 error
From: Teck Choon Giam <giamteckchoon@xxxxxxxxx>
Date: Sun, 16 Aug 2009 06:11:46 +0800
Delivery-date: Sat, 15 Aug 2009 15:12:12 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=Dthhe6DXPX1OUsSI5s/ATXC1ToJnpjp4zDzRpQ/rHaw=; b=I8r37lM0ool/Yy+JB2yReAeIgZ0NxMYgPZ1K4J7JEhfONxcpb1XbPsdXVl5AvQje6j LAWSak3HNthA64O85QrIw36j1Hm7wG+w7AHahNwEO3vFFxwnbur3IpilSbP2afOjsk3v 0SujOnbft5JHugySFEuRtPQCaIKMrHlSbplK0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=uNZ2uoDcW1OPzIjGyG5H+Tvt+znBeCXmA+s9yFqTWt9yh8VzVlcSg4v99cv2gcv4e7 u+nrGzKT2Scso4WsPjIxd4IRwhkfqyIVAolLVwP4ieigK+rdoXY4qIyvGLYMBVRD6MqK HGJh1RcnKb9AO5RFUjZIBSG8OLATFRks2y5bA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Keir,

I believe something is wrong for available_credit?

Partial error as below:

  CC      drivers/xen/blkback/blkback.o
/home/choonrpm/rpmbuild/BUILD/xen-3.4.1-src/linux-2.6.18-xen.hg/drivers/xen/blkback/blkback.c:
In function 'refill_credit':
/home/choonrpm/rpmbuild/BUILD/xen-3.4.1-src/linux-2.6.18-xen.hg/drivers/xen/blkback/blkback.c:206:
error: 'blkif_t' has no member named 'available_credit'
/home/choonrpm/rpmbuild/BUILD/xen-3.4.1-src/linux-2.6.18-xen.hg/drivers/xen/blkback/blkback.c:209:
error: 'blkif_t' has no member named 'available_credit'
/home/choonrpm/rpmbuild/BUILD/xen-3.4.1-src/linux-2.6.18-xen.hg/drivers/xen/blkback/blkback.c:210:
error: 'blkif_t' has no member named 'available_credit'
make[8]: *** [drivers/xen/blkback/blkback.o] Error 1
make[7]: *** [drivers/xen/blkback] Error 2
make[6]: *** [drivers/xen] Error 2


linux-2.6.18-xen.hg/drivers/xen/blkback]# grep available_credit ./*
./blkback.c:    blkif->available_credit += blkif->credit_req;
./blkback.c:    if (blkif->available_credit > (blkif->credit_req *
blkif->credit_msec))
./blkback.c:            blkif->available_credit = blkif->credit_req;

Is it suppose to be remaining_credit instead of available_credit?  I
am just guessing while reading:

http://xenbits.xensource.com/linux-2.6.18-xen.hg?diff/56df01ffed10/drivers/xen/blkback/blkback.c
http://xenbits.xensource.com/linux-2.6.18-xen.hg?diff/56df01ffed10/drivers/xen/blkback/common.h
http://xenbits.xensource.com/linux-2.6.18-xen.hg?diff/56df01ffed10/drivers/xen/blkback/xenbus.c

Thanks.

Kindest regards,
Giam Teck Choon

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>