All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] issues of region cache and iommu reset
@ 2017-03-29  8:00 Jason Wang
  2017-03-29  8:09 ` Paolo Bonzini
  2017-03-29  8:16 ` Peter Xu
  0 siblings, 2 replies; 16+ messages in thread
From: Jason Wang @ 2017-03-29  8:00 UTC (permalink / raw)
  To: Paolo Bonzini, Michael S. Tsirkin; +Cc: Peter Xu, qemu devel, Cornelia Huck

Hi:

I meet an issue when doing reboot for a guest with two virtio-net-pci 
cards when iommu is enabled. What happens is:


1) vtd was reset first

2) during the reset of virtio-net-pci #1, deletion of msix subregion 
will cause a commit of all memory listeners

3) virito-net-pci #2's region cache will be update, but since vtd has 
already been reset, it can't get a valid mappings here


Any ideas on how to fix this? Need region cache be aware of IOMMU/IOTLB 
state in this case? Or can we simply reset IOMMU as the last one?

Thanks

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2017-03-30  9:02 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-29  8:00 [Qemu-devel] issues of region cache and iommu reset Jason Wang
2017-03-29  8:09 ` Paolo Bonzini
2017-03-29  8:37   ` Jason Wang
2017-03-29  8:41     ` Paolo Bonzini
2017-03-29  9:09       ` Jason Wang
2017-03-29  9:11         ` Paolo Bonzini
2017-03-29  9:24           ` Jason Wang
2017-03-29 21:31             ` Michael S. Tsirkin
2017-03-29  8:45   ` Cornelia Huck
2017-03-29  9:18     ` Jason Wang
2017-03-29 11:39       ` Cornelia Huck
2017-03-30  2:14         ` Jason Wang
2017-03-29 21:28   ` Michael S. Tsirkin
2017-03-30  9:02     ` Paolo Bonzini
2017-03-29  8:16 ` Peter Xu
2017-03-29 21:38   ` Michael S. Tsirkin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.