[PATCH v5 1/9] qemu: Refactor dirty page rate calculation status implementation