diff options
| author | David Hildenbrand <david@redhat.com> | 2020-10-08 10:30:27 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2020-11-03 07:19:26 -0500 |
| commit | 780a4d24e73dd0a7c7fc3f6f8b104aab70b7bfff (patch) | |
| tree | 7fc9378dfe460cfa29fc400eaa3c429f5fe98ade /include/hw/mem/memory-device.h | |
| parent | 228957fea3a998735524abf6354634f1fb710e61 (diff) | |
| download | focaccia-qemu-780a4d24e73dd0a7c7fc3f6f8b104aab70b7bfff.tar.gz focaccia-qemu-780a4d24e73dd0a7c7fc3f6f8b104aab70b7bfff.zip | |
memory-device: Support big alignment requirements
Let's warn instead of bailing out - the worst thing that can happen is that we'll fail hot/coldplug later. The user got warned, and this should be rare. This will be necessary for memory devices with rather big (user-defined) alignment requirements - say a virtio-mem device with a 2G block size - which will become important, for example, when supporting vfio in the future. Reviewed-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com> Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: Wei Yang <richardw.yang@linux.intel.com> Cc: Dr. David Alan Gilbert <dgilbert@redhat.com> Cc: Igor Mammedov <imammedo@redhat.com> Cc: Pankaj Gupta <pankaj.gupta.linux@gmail.com> Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20201008083029.9504-5-david@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/mem/memory-device.h')
0 files changed, 0 insertions, 0 deletions