xen: Fix, no unplug of pt device by platform device.
commitbd4982a6c6f1b133aff38873bc3b580af15cd334
authorAnthony PERARD <anthony.perard@citrix.com>
Wed, 3 Oct 2012 13:45:24 +0000 (3 13:45 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 3 Oct 2012 13:45:24 +0000 (3 13:45 +0000)
tree2e5d44ee4e5e2ae2d66ea89ae39b6ab549879191
parente744c06fca438dc08271e626034e632a270c91c8
xen: Fix, no unplug of pt device by platform device.

The Xen platform device will unplug any NICs if requested by the guest (PVonHVM)
including a NIC that would have been passthrough. This patch makes sure that a
passthrough device will not be unplug.

Reported-by: "Zhang, Yang Z" <yang.z.zhang@intel.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/xen_platform.c