diff options
author | Joao Martins <joao.m.martins@oracle.com> | 2023-03-07 12:54:42 +0000 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2023-03-07 07:20:32 -0700 |
commit | b92f237635054189ae10c0c98aeec9f982f1335f (patch) | |
tree | 99359e85537cadb77b885741a190257751b0a6ea /hw/vfio/calxeda-xgmac.c | |
parent | 1cd7fa7adc157c5ec8050a6fe31670bdf3f6c2a5 (diff) | |
download | qemu-b92f237635054189ae10c0c98aeec9f982f1335f.zip qemu-b92f237635054189ae10c0c98aeec9f982f1335f.tar.gz qemu-b92f237635054189ae10c0c98aeec9f982f1335f.tar.bz2 |
vfio/common: Consolidate skip/invalid section into helper
The checks are replicated against region_add and region_del
and will be soon added in another memory listener dedicated
for dirty tracking.
Move these into a new helper for avoid duplication.
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Avihai Horon <avihaih@nvidia.com>
Link: https://lore.kernel.org/r/20230307125450.62409-8-joao.m.martins@oracle.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'hw/vfio/calxeda-xgmac.c')
0 files changed, 0 insertions, 0 deletions