xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [HVM] Fix unplug logic
@ 2010-02-20  5:35 Zhai, Edwin
  0 siblings, 0 replies; only message in thread
From: Zhai, Edwin @ 2010-02-20  5:35 UTC (permalink / raw)
  To: Keir Fraser; +Cc: Xen Developers, Zhai, Edwin

[-- Attachment #1: Type: text/plain, Size: 134 bytes --]

Add the missing part for the dev_unplug parameter in r20847

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>


-- 
best rgds,
edwin


[-- Attachment #2: pvdrv_unplug_fix.patch --]
[-- Type: text/plain, Size: 500 bytes --]

Index: tip/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
===================================================================
--- tip.orig/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
+++ tip/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
@@ -332,7 +332,7 @@ static int check_platform_magic(struct d
 		}
 		/* Fall through */
 	case 0:
-		outw(0xf, XEN_IOPORT_UNPLUG);
+		outw(unplug, XEN_IOPORT_UNPLUG);
 		break;
 	default:
 		err = "unknown I/O protocol version";

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-20  5:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-20  5:35 [PATCH] [HVM] Fix unplug logic Zhai, Edwin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).