[PATCH v3 7/7] qemu_driver: Add calc_mode for dirtyrate statistics