numa: Make all callbacks of ram block notifiers optional
commite15c7d1e8c34bbffec2aa88f8fe7cd9812b1c71f
authorDavid Hildenbrand <david@redhat.com>
Thu, 29 Apr 2021 11:27:01 +0000 (29 13:27 +0200)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 13 May 2021 17:21:13 +0000 (13 18:21 +0100)
tree07d67fdc488aab9f5d081a6ab1c1bce3cde6411e
parent8f44304c76036ac8544468c9306c5b30d1fdd201
numa: Make all callbacks of ram block notifiers optional

Let's make add/remove optional. We want to introduce a RAM block
notifier for RAM migration that is only interested in resize events.

Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20210429112708.12291-4-david@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
hw/core/numa.c