Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

[Xen-devel] [Patch] Fix "Unreported Memory and IO Port Test" failure iss

To: <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] [Patch] Fix "Unreported Memory and IO Port Test" failure issue in HCT
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Thu, 27 Jul 2006 11:18:03 +0800
Cc: christian.limpach@xxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 26 Jul 2006 20:19:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcaxKoFTDd3Z1QjqT7qTIGulnVzcNQAAIiFA
Thread-topic: [Patch] Fix "Unreported Memory and IO Port Test" failure issue in HCT

This attached patch fixes the failure in "Unreported Memory and I/O Port Test" of HCT 12.1(Windows Hardware Compatibility Test) and something related.

 

The root cause is that when an “unreported memory address” is read, qemu handles it improperly.

 

The function cpu_physical_memory_rw() thinks that if an address is not mmio-related, it is assumed to be a RAM case. This is improper. When making the assumption, we should make sure the address is less than the guest physical memory size ram_size.

 

Meanwhile, when calling iomem_index(), cpu_physical_memory_rw() mistakes the argument addr for page.

 

 

Thanks
-Dexuan CUI

 

OTC, Intel Corporation

 

Attachment: hct.patch
Description: hct.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [Patch] Fix "Unreported Memory and IO Port Test" failure issue in HCT, Cui, Dexuan <=