mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
As observed by Dexuan Cui, when PCI devices are passed through at domain-creation-time setupOneDevice() will be called twice. Once via setupDevice() and once via econfigureDevice() which is called in pci_device_configure(). This patch removes the first of these. Cc: Dexuan Cui <dexuan.cui@intel.com> Cc: Masaki Kanno <kanno.masaki@jp.fujitsu.com> Signed-off-by: Simon Horman <horms@verge.net.au>
The file test.py here is from the Zope project, and is Copyright (c) 2001, 2002 Zope Corporation and Contributors. This file is released under the Zope Public License, version 2.0, a copy of which is in the file ZPL-2.0.