HVM device passthru: Correct PCI_EXP_DEVCTL_FLR
authorKeir Fraser <keir@xensource.com>
Wed, 7 Nov 2007 09:21:16 +0000 (09:21 +0000)
committerKeir Fraser <keir@xensource.com>
Wed, 7 Nov 2007 09:21:16 +0000 (09:21 +0000)
commit78a146f3c3dc9c4b563e6cfed16a31a085a89859
treed396924a6633df6562cf9fc51609e23a1540cb58
parentc095f1cb08936ad2f19dd44550ffcd741f88e310
HVM device passthru: Correct PCI_EXP_DEVCTL_FLR

This patch corrects PCI_EXP_DEVCTL_FLR so that function level reset
will be really executed, and also replaces some magic numbers with
macros.

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
Signed-off-by: Weidong Han <weidong.han@intel.com>
tools/ioemu/hw/pass-through.c
tools/ioemu/hw/pass-through.h