xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "Zhai, Edwin" <edwin.zhai@intel.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: Xen Developers <xen-devel@lists.xensource.com>,
	"Zhai, Edwin" <edwin.zhai@intel.com>
Subject: [PATCH] [HVM] Fix unplug logic
Date: Sat, 20 Feb 2010 13:35:03 +0800	[thread overview]
Message-ID: <4B7F7487.9040405@intel.com> (raw)

[-- 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

                 reply	other threads:[~2010-02-20  5:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B7F7487.9040405@intel.com \
    --to=edwin.zhai@intel.com \
    --cc=keir.fraser@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).