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/
Home Products Support Community News


[Xen-devel] [PATCH] xend: passthrough: revert some parts of changeset 20

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] xend: passthrough: revert some parts of changeset 20348: 9ead82c46efd
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Mon, 2 Nov 2009 18:26:37 +0800
Accept-language: zh-CN, en-US
Acceptlanguage: zh-CN, en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 02 Nov 2009 02:26:36 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcpbpvU2IhSDQtjDSCagUQLQzUSzFg==
Thread-topic: [PATCH] xend: passthrough: revert some parts of changeset 20348: 9ead82c46efd
Changeset 20348 breaks the device assignment (at least) in the
non-stubdomain case, e.g.,
1) we can't assign more than 1 device to hvm guest statically: 'xm create'
complains "Error: Device 0 (pci) is already connected";
2) after we assign 1 device to hvm guest statically and we 'xm pci-detach'
the device from guest later, we can find 'xm pci-list' still shows the device
is assigned to the guest, and we can't 'xm pci-attach' the device to the guest
any longer.

The patch reverts some parts of changeset 20348 to fix the above issues.

Hope this doesn't offend the passthrough in the stub-domain case.
Stefano, please have a look.

-- Dexuan

Attachment: recover_device_assignment.patch
Description: recover_device_assignment.patch

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>