From: "Jan Beulich" Subject: [PATCH] linux-2.6.18: vscsi >2TB build fix Date: Wed, 26 Jan 2011 10:55:49 +0000 Message-ID: <4D400BC5020000780002E8F7@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part426E3DA5.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part426E3DA5.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline MAINTENANCE_{IN,OUT} got introduced only in 2.6.19, but I failed to notice that because we have this backported to our 2.6.16-based kernels. Signed-off-by: Jan Beulich --- a/drivers/xen/scsiback/emulate.c +++ b/drivers/xen/scsiback/emulate.c @@ -452,8 +452,10 @@ void scsiback_emulation_init(void) /*NO_EMULATE(PERSISTENT_RESERVE_IN); *//*0x5e*/ /*NO_EMULATE(PERSISTENT_RESERVE_OUT); *//*0x5f*/ /* REPORT_LUNS *//*0xa0*//*Full emulaiton*/ +#ifdef MAINTENANCE_IN NO_EMULATE(MAINTENANCE_IN); /*0xa3*/ /* IFT alua */ NO_EMULATE(MAINTENANCE_OUT); /*0xa4*/ /* IFT alua */ +#endif NO_EMULATE(MOVE_MEDIUM); /*0xa5*/ /* ch */ NO_EMULATE(EXCHANGE_MEDIUM); /*0xa6*/ /* ch */ /*NO_EMULATE(READ_12); *//*0xa8*/ --=__Part426E3DA5.0__= Content-Type: text/plain; name="xenlinux-vscsi-2Tb-build-fix.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="xenlinux-vscsi-2Tb-build-fix.patch" Subject: vscsi >2TB build fix=0A=0AMAINTENANCE_{IN,OUT} got introduced = only in 2.6.19, but I failed to=0Anotice that because we have this = backported to our 2.6.16-based=0Akernels.=0A=0ASigned-off-by: Jan Beulich = =0A=0A--- a/drivers/xen/scsiback/emulate.c=0A+++ = b/drivers/xen/scsiback/emulate.c=0A@@ -452,8 +452,10 @@ void scsiback_emula= tion_init(void)=0A /*NO_EMULATE(PERSISTENT_RESERVE_IN); *//*0x5e*/=0A = /*NO_EMULATE(PERSISTENT_RESERVE_OUT); *//*0x5f*/=0A /* = REPORT_LUNS *//*0xa0*//*Full emulaiton*/=0A+#ifdef MAINTENANC= E_IN=0A NO_EMULATE(MAINTENANCE_IN); /*0xa3*/ /* IFT alua = */=0A NO_EMULATE(MAINTENANCE_OUT); /*0xa4*/ /* IFT alua */=0A+#endi= f=0A NO_EMULATE(MOVE_MEDIUM); /*0xa5*/ /* ch */=0A = NO_EMULATE(EXCHANGE_MEDIUM); /*0xa6*/ /* ch */=0A /*NO_EMULAT= E(READ_12); *//*0xa8*/=0A --=__Part426E3DA5.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__Part426E3DA5.0__=--