diff options
author | Peter Xu <peterx@redhat.com> | 2022-01-19 16:09:20 +0800 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2022-01-28 15:38:23 +0100 |
commit | 476ebf77fe8909ded10046edf26685bc28438162 (patch) | |
tree | 482dbb9f88b56962ad22f1407f533cf4655c4d11 /hw/dma | |
parent | cfd66f30fb0f735df06ff4220e5000290a43dad3 (diff) |
migration: Move temp page setup and cleanup into separate functions
Temp pages will need to grow if we want to have multiple channels for postcopy,
because each channel will need its own temp page to cache huge page data.
Before doing that, cleanup the related code. No functional change intended.
Since at it, touch up the errno handling a little bit on the setup side.
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'hw/dma')
0 files changed, 0 insertions, 0 deletions