From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: [PATCH] ioemu: IDE should accept SETMULT 0 Date: Thu, 20 Mar 2008 15:02:48 +0000 Message-ID: <20080320150248.GA11225@implementation.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline 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 ioemu: IDE should accept SETMULT 0 as upstream qemu now does Signed-off-by: Samuel Thibault diff -r dc1fe3bd1393 tools/ioemu/hw/ide.c --- a/tools/ioemu/hw/ide.c Thu Mar 20 10:53:10 2008 +0000 +++ b/tools/ioemu/hw/ide.c Thu Mar 20 14:58:22 2008 +0000 @@ -1823,7 +1823,6 @@ break; case WIN_SETMULT: if (s->nsector > MAX_MULT_SECTORS || - s->nsector == 0 || (s->nsector & (s->nsector - 1)) != 0) { ide_abort_command(s); } else {