qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* question regarding QEMU adding overlapping memory regions to VFIO
@ 2021-05-07 13:51 Thanos Makatos
  2021-05-07 15:42 ` Alex Williamson
  0 siblings, 1 reply; 3+ messages in thread
From: Thanos Makatos @ 2021-05-07 13:51 UTC (permalink / raw)
  To: qemu-devel; +Cc: alex.williamson, Raphael Norwitz

I've noticed that QEMU adds overlapping memory regions to VFIO, e.g.:

vfio_listener_region_add_ram region_add [ram] 0xc0000 - 0xc0fff [0x7f6702c00000]
vfio_listener_region_del region_del 0xc4000 - 0xdffff
vfio_listener_region_add_ram region_add [ram] 0xc1000 - 0xc3fff [0x7f66406c1000]
vfio_listener_region_del region_del 0xe0000 - 0xfffff
vfio_listener_region_add_ram region_add [ram] 0xc4000 - 0xdffff [0x7f6702c04000]
vfio_listener_region_add_ram region_add [ram] 0xc0000 - 0xc0fff [0x7f66406c0000]
2021-05-05T09:38:16.158864Z qemu-system-x86_64: vfio_dma_map(0x557b8fd281b0, 0xc0000, 0x1000, 0x7f66406c0000) = -22 (Resource temporarily unavailable)

Region 0xc0000 - 0xc0fff is added first and then region 0xc0000 - 0xc0fff is added again? Is this legitimate? What is the implication of this? Is the previous region replaced by the more recent one?


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

end of thread, other threads:[~2021-05-07 16:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-07 13:51 question regarding QEMU adding overlapping memory regions to VFIO Thanos Makatos
2021-05-07 15:42 ` Alex Williamson
2021-05-07 16:22   ` Thanos Makatos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).