[PATCH v2 6/6] qemu_driver: Add calc_mode for dirtyrate statistics