qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

question regarding QEMU adding overlapping memory regions to VFIO


From: Thanos Makatos
Subject: question regarding QEMU adding overlapping memory regions to VFIO
Date: Fri, 7 May 2021 13:51:52 +0000

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?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]