[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86 hvm: Make sure port 0x80 in hvm_io_table[] is set correctly
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |