[PATCH v6 8/8] qemu_driver: Add calc_mode for dirtyrate statistics