[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-3.4-testing] x86 hvm: Make sure port 0x80 in hvm_io_table[] is set correctly



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.