Commit fc8dc060 authored by bellard's avatar bellard
Browse files

kqemu_set_notdirty() opt

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162
parent f23db169
......@@ -237,6 +237,9 @@ void kqemu_set_notdirty(CPUState *env, ram_addr_t ram_addr)
fprintf(logfile, "kqemu_set_notdirty: addr=%08lx\n", ram_addr);
/* we only track transitions to dirty state */
if (phys_ram_dirty[ram_addr >> TARGET_PAGE_BITS] != 0xff)
if (nb_ram_pages_to_update >= KQEMU_MAX_RAM_PAGES_TO_UPDATE)
nb_ram_pages_to_update = KQEMU_RAM_PAGES_UPDATE_ALL;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment