]> xenbits.xensource.com Git - qemu-xen-unstable.git/commit
pass-through: non-idempotent __insert_to_pci_slot()
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 3 Jun 2009 14:38:45 +0000 (15:38 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 3 Jun 2009 14:38:45 +0000 (15:38 +0100)
commitaf000130f7ac0eb2524cde7f021f0dce9abed027
tree4c0c9ed9e6dc8c9835bcedc0dad1b88c0794acc4
parentc6ef16ca6b55aba22f287caaa30ad5ed5e772e88
pass-through: non-idempotent __insert_to_pci_slot()

As of "qemu-xen: hot-plug PCI devices at boot-time" register_real_dev()
no longer needs to call __insert_to_pci_slot() and thus there
is no need for __insert_to_pci_slot() to be idempotent.

This is because register_real_dev()'s now only has one caller,
power_on_php_slot(), which always  passes a valid e_slot to
register_real_dev().

Cc: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Cc: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
hw/pass-through.c