]> xenbits.xen.org Git - xenclient/ioemu.git/commit
passthrough: fix pci-dettach issue
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 16 Mar 2009 18:04:35 +0000 (18:04 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 16 Mar 2009 18:04:35 +0000 (18:04 +0000)
commit9f40d906995fb1c704fd04cf14ca02e033ddc1ed
tree99f407c3a6eca54b33006205b78c9dbb5823b449
parentc78b0e0b65d65d0f84b1027344667366064a0a6b
passthrough: fix pci-dettach issue

Commit 8c771eb6294afc5b3754a9e3de51568d4e5986c2 breaks guest PCI hotplug:

Before pt_config_delete() ->
qemu_free_timer(ptdev->pm_state->pm_timer), we should invoke
qemu_del_timer(), otherwise, qemu_run_timers() would access a
qemu_free_timer()-ed timer.  The below patch fixes the issue.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
hw/pass-through.c