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-unstable] x86 hvm: Make sure port 0x80 in hvm_io_ta

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86 hvm: Make sure port 0x80 in hvm_io_table[] is set correctly
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 26 Jun 2009 08:57:19 -0700
Delivery-date: Fri, 26 Jun 2009 09:11:36 -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 1245934300 -3600
# Node ID 04476e5ef35d35587b5b843f37652dc1b9de3c06
# Parent  c30ace4ad49ffd2d35154be71e47cbe8fe7ba1c4
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/arch/x86/hvm/quirks.c |    5 +++++
 1 files changed, 5 insertions(+)

diff -r c30ace4ad49f -r 04476e5ef35d xen/arch/x86/hvm/quirks.c
--- a/xen/arch/x86/hvm/quirks.c Thu Jun 25 13:15:32 2009 +0100
+++ b/xen/arch/x86/hvm/quirks.c Thu Jun 25 13:51:40 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-unstable] x86 hvm: Make sure port 0x80 in hvm_io_table[] is set correctly, Xen patchbot-unstable <=