diff options
author | Tim Deegan <Tim.Deegan@citrix.com> | 2011-05-23 18:35:32 +0100 |
---|---|---|
committer | Tim Deegan <Tim.Deegan@citrix.com> | 2011-05-23 18:35:32 +0100 |
commit | cd06c7d669ea3d3716cb7e539148b9d4cf66e46f (patch) | |
tree | 88afeaf2b61b350f35bbe3567424b8654b662d87 /tools/libxc/xc_core.c | |
parent | 36a72c1e42900b2f093ca8a2a3aa80ff1558c353 (diff) | |
download | xen-cd06c7d669ea3d3716cb7e539148b9d4cf66e46f.tar.gz xen-cd06c7d669ea3d3716cb7e539148b9d4cf66e46f.tar.bz2 xen-cd06c7d669ea3d3716cb7e539148b9d4cf66e46f.zip |
drivers/passthrough: fix error paths in pci_add_device*()
When a device can't be allocated to dom0 by the IOMMU, don't leave
dom0 in the "domain" field. It causes pci_remove_device()
to crash trying to remove the dev from the domain's list of devices
(and was probably the wrong thing to do anyway).
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Diffstat (limited to 'tools/libxc/xc_core.c')
0 files changed, 0 insertions, 0 deletions