WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-3.4-testing] x86 hvm: Make sure port 0x80 in hvm_io

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.4-testing] x86 hvm: Make sure port 0x80 in hvm_io_table[] is set correctly
From: "Xen patchbot-3.4-testing" <patchbot-3.4-testing@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 29 Jun 2009 03:21:34 -0700
Delivery-date: Mon, 29 Jun 2009 03:24:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1246270281 -3600
# Node ID b2c6d69df5a6c171739e3579a1411346b6ba4c13
# Parent  aef39f4d0a59f7463bb22a6059de693c60355dc2
x86 hvm: Make sure port 0x80 in hvm_io_table[] is set correctly
regardless of execution order of hvm_enable() and check_port80().

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   19842:04476e5ef35d
xen-unstable date:        Thu Jun 25 13:51:40 2009 +0100
---
 xen/arch/x86/hvm/quirks.c |    5 +++++
 1 files changed, 5 insertions(+)

diff -r aef39f4d0a59 -r b2c6d69df5a6 xen/arch/x86/hvm/quirks.c
--- a/xen/arch/x86/hvm/quirks.c Mon Jun 29 11:10:51 2009 +0100
+++ b/xen/arch/x86/hvm/quirks.c Mon Jun 29 11:11:21 2009 +0100
@@ -20,6 +20,8 @@
 #include <xen/init.h>
 #include <xen/lib.h>
 #include <xen/dmi.h>
+#include <xen/bitmap.h>
+#include <asm/hvm/support.h>
 
 int hvm_port80_allowed = -1;
 boolean_param("hvm_port80", hvm_port80_allowed);
@@ -88,6 +90,9 @@ static int __init check_port80(void)
 
     dmi_check_system(hvm_no_port80_dmi_table);
 
+    if ( !hvm_port80_allowed )
+        __set_bit(0x80, hvm_io_bitmap);
+
     return 0;
 }
 __initcall(check_port80);

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.4-testing] x86 hvm: Make sure port 0x80 in hvm_io_table[] is set correctly, Xen patchbot-3.4-testing <=