debuggers.hg

changeset 21007:628600e0e3b4

pv-on-hvm: Fix unplug logic

Add the missing part for the dev_unplug parameter in r20847

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Feb 22 10:05:40 2010 +0000 (2010-02-22)
parents 845da68515d8
children 243614f8360c
files unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
line diff
     1.1 --- a/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c	Mon Feb 22 10:04:22 2010 +0000
     1.2 +++ b/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c	Mon Feb 22 10:05:40 2010 +0000
     1.3 @@ -332,7 +332,7 @@ static int check_platform_magic(struct d
     1.4  		}
     1.5  		/* Fall through */
     1.6  	case 0:
     1.7 -		outw(0xf, XEN_IOPORT_UNPLUG);
     1.8 +		outw(unplug, XEN_IOPORT_UNPLUG);
     1.9  		break;
    1.10  	default:
    1.11  		err = "unknown I/O protocol version";