virtio-mem: memory block ids are specific to Sub Block Mode (SBM)
authorDavid Hildenbrand <david@redhat.com>
Thu, 12 Nov 2020 13:38:07 +0000 (14:38 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 18 Dec 2020 21:14:27 +0000 (16:14 -0500)
commit8a6f082babea6744b876a23ff5ed6081bf12968d
treef974ac65f4037f1eb2c840e94c54e86c022626ac
parent905c4c5146dcb1b1e0a534ae9b5da6c5e4f29c21
virtio-mem: memory block ids are specific to Sub Block Mode (SBM)

Let's move first_mb_id/next_mb_id/last_usable_mb_id accordingly.

Reviewed-by: Wei Yang <richard.weiyang@linux.alibaba.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Pankaj Gupta <pankaj.gupta.linux@gmail.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20201112133815.13332-22-david@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_mem.c