]> xenbits.xen.org Git - xenclient/ioemu.git/commit
passthrough: don't call xc_deassign_device()
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 29 Apr 2009 15:28:37 +0000 (16:28 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 29 Apr 2009 15:28:37 +0000 (16:28 +0100)
commit438f0453656e54f3f4db248fd280673992d5ad54
tree72e806d0b73d6a9cbc4aa6d18ac7ac3dd530ef9e
parentfe3b806c04f75a18aa7c6f2520b5c6aa9a4b337d
passthrough: don't call xc_deassign_device()

This series of patches modify the order of resetting/deassigning
device.

I modify the order of resetting/deassigning device like below.

  When guest OS shutdowns or a device is hotremoved.
   1. Xend resets devices.
   2. Xend deassigns devices.

Because if devices are deassigned before the reset, dom0 memory may be
broken by DMA

This patch modifies ioemu not to call xc_deassign_device()

Signed-off-by: Yuji Shimada <shimada-yxb@necst.nec.co.jp>
hw/pass-through.c