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