ia64/xen-unstable

changeset 17283:aedab7d280cb

ioemu: IDE should accept SETMULT 0
as upstream qemu now does

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Mar 20 17:47:05 2008 +0000 (2008-03-20)
parents 8f96b9d78ff1
children f4a92f0db20f
files tools/ioemu/hw/ide.c
line diff
     1.1 --- a/tools/ioemu/hw/ide.c	Thu Mar 20 17:45:00 2008 +0000
     1.2 +++ b/tools/ioemu/hw/ide.c	Thu Mar 20 17:47:05 2008 +0000
     1.3 @@ -1823,7 +1823,6 @@ static void ide_ioport_write(void *opaqu
     1.4              break;
     1.5          case WIN_SETMULT:
     1.6              if (s->nsector > MAX_MULT_SECTORS || 
     1.7 -                s->nsector == 0 ||
     1.8                  (s->nsector & (s->nsector - 1)) != 0) {
     1.9                  ide_abort_command(s);
    1.10              } else {