[PATCH v4 9/9] qemu_driver: Add calc_mode for dirtyrate statistics