ia64/xen-unstable

changeset 14950:7f9ce06d3c61

hvm ioemu: Fix SCSI initialisation after c/s 14942.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Thu Apr 26 11:18:42 2007 +0100 (2007-04-26)
parents fb5d1c6cfddc
children 816d274e2a85
files tools/ioemu/hw/pc.c
line diff
     1.1 --- a/tools/ioemu/hw/pc.c	Thu Apr 26 10:51:49 2007 +0100
     1.2 +++ b/tools/ioemu/hw/pc.c	Thu Apr 26 11:18:42 2007 +0100
     1.3 @@ -922,7 +922,7 @@ static void pc_init1(uint64_t ram_size, 
     1.4  #endif
     1.5  #else
     1.6      if (pci_enabled) {
     1.7 -        void *scsi;
     1.8 +        void *scsi = NULL;
     1.9          for (i = 0; i < MAX_SCSI_DISKS ; i++) {
    1.10              if (!bs_table[i + MAX_DISKS])
    1.11                  continue;