|
From: | Anthony Liguori |
Subject: | [Qemu-devel] Re: comments on: get page size in device init |
Date: | Wed, 23 Sep 2009 15:35:51 -0500 |
User-agent: | Thunderbird 2.0.0.23 (X11/20090825) |
Blue Swirl wrote:
That would work and target_get_page_size() together with get_ram_size() would also handle the virtio case nicely, except for the if (!kvm_enabled() || kvm_has_sync_mmu()) part.
We probably want to introduce a qemu_zero_memory_page() that includes that check. We have the same basic check during memory loading too.
Regards, Anthony Liguori
[Prev in Thread] | Current Thread | [Next in Thread] |