]> xenbits.xensource.com Git - qemu-xen-4.1-testing.git/commit
qemu-xen-trad: fix msi_translate with PV event delivery
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 30 Aug 2012 15:11:32 +0000 (16:11 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 13 Nov 2012 18:17:34 +0000 (18:17 +0000)
commitbdbf5a6aba74658b95756c8d7d26d664fbd9c83d
tree8986d6d7e4f6114a1695155c392dd1a54fb76a36
parentdbd79be2d3d47c6a73f6292ffb8de9860cd80ad8
qemu-xen-trad: fix msi_translate with PV event delivery

When switching from msitranslate to straight msi we need to make sure
that we respect PV event delivery for the msi if the guest asked for it:

- completely disable MSI on the device in pt_disable_msi_translate;
- then enable MSI again (pt_msi_setup), mapping the correct pirq to it.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Tested-by: Rolu <rolu@roce.org>
(cherry picked from commit 3e66da7266c84638c0e22a09c9d2b07529802576)
hw/pass-through.c
hw/pt-msi.c