diff options
| author | zhanghailiang <zhang.zhanghailiang@huawei.com> | 2015-03-09 17:27:38 +0800 |
|---|---|---|
| committer | Juan Quintela <quintela@redhat.com> | 2015-03-17 15:20:37 +0100 |
| commit | f54a235f9b15ae59d70b40630417d8aaa88bc4ec (patch) | |
| tree | f6a67be405aea6ae3c1b4f2458ca61d121e7c3f6 /migration/qemu-file-buf.c | |
| parent | 4debb5f553d816bf1f2d86bb61e833e79010cb3d (diff) | |
| download | focaccia-qemu-f54a235f9b15ae59d70b40630417d8aaa88bc4ec.tar.gz focaccia-qemu-f54a235f9b15ae59d70b40630417d8aaa88bc4ec.zip | |
arch_init: Count the total number of pages by using helper function
There is already a helper function ram_bytes_total(), we can use it to help counting the total number of pages used by ram blocks. Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/qemu-file-buf.c')
0 files changed, 0 insertions, 0 deletions