Skip to contentSkip to conversation

msitranslate: question about qemu-upstream and pv support

DISCUSSION Andrew Sorensen 2 participants 2 messages Jul 24, 2014 – Aug 4, 2014

lore
Share & tools
lore
#0 lore raw

I noticed that the patches for msitranslate do not seem to have made it into qemu-upstream. The logic still exists in xen/drivers/passthrough/io.c, though documentation suggests MSI-INTx translation is only implemented for HVM guests.

Based on the disabling of MSI-INTx by default, it seems safe to assume that MSI translation is only supported under qemu-xen-traditional, and only for HVM guests. Is this correct?

I don't see any mention of this on this wiki page:
http://wiki.xen.org/wiki/QEMU_Upstream
#Missing_feature_from_the_good_old_qemu-dm

#1 lore raw
Quoted 8 lines · Andrew Sorensen

I noticed that the patches for msitranslate do not seem to have made it into qemu-upstream. The logic still exists in xen/drivers/passthrough/io.c, though documentation suggests MSI-INTx translation is only implemented for HVM guests.

Based on the disabling of MSI-INTx by default, it seems safe to assume that MSI translation is only supported under qemu-xen-traditional, and only for HVM guests. Is this correct?

My recollection is that it is an optimization. That is - if we do PCI passthrough - and the device is doing legacy interrpupts - we want to pass that (as it means updating QEMU) and instead doing an MSI - so that QEMU is not scheduled in.

But most network cards don't use legacy interrupts. Perhaps the video cards use it - but for example the i915 is doing MSI and I would think that radeon and nouvau are moving that way too?

Quoted 4 lines

I don't see any mention of this on this wiki page:
http://wiki.xen.org/wiki/QEMU_Upstream
#Missing_feature_from_the_good_old_qemu-dm

That looks to be an omission. Do you have an account on the Wiki to update it? Are you Ok updating it? Thank you!

Quoted 5 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel