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-devel

[Xen-devel] [patch][vtd] Remove ASSERT in hvmloader.c when assigning dis

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [patch][vtd] Remove ASSERT in hvmloader.c when assigning disk controller to a guest
From: "Zhang, Li" <li.zhang@xxxxxxxxx>
Date: Wed, 25 Jun 2008 19:21:56 +0800
Cc: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Wed, 25 Jun 2008 04:22:28 -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: AcjWta1A49gT7Ps4RHaMe8nse4Bn7g==
Thread-topic: [patch][vtd] Remove ASSERT in hvmloader.c when assigning disk controller to a guest
Hi, 
If boot a HVM guest configured with a physical disk, it will check the
device id of emulated device and then check physical device. But the
device id of physical device is not necessary 0x7010. So ASSERT may
fail, and the guest crashes at this point. This patch removes the ASSERT
of vendor_id and device_id, to assign SATA controller to guest.

Signed-off-by: Li Zhang <li.zhang@xxxxxxxxx>

Thanks
-Li

Attachment: hvmloader.patch
Description: hvmloader.patch

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