[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/6] system/dirtylimit: Drop the reduplicative check
|
From: |
Hyman Huang |
|
Subject: |
[PATCH 2/6] system/dirtylimit: Drop the reduplicative check |
|
Date: |
Tue, 17 Oct 2023 19:36:05 +0800 |
Checking if dirty limit is in service is done by the
dirtylimit_query_all function, drop the reduplicative
check in the qmp_query_vcpu_dirty_limit function.
Signed-off-by: Hyman Huang <yong.huang@smartx.com>
---
system/dirtylimit.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/system/dirtylimit.c b/system/dirtylimit.c
index 3666c4cb7c..495c7a7082 100644
--- a/system/dirtylimit.c
+++ b/system/dirtylimit.c
@@ -652,10 +652,6 @@ static struct DirtyLimitInfoList
*dirtylimit_query_all(void)
struct DirtyLimitInfoList *qmp_query_vcpu_dirty_limit(Error **errp)
{
- if (!dirtylimit_in_service()) {
- return NULL;
- }
-
return dirtylimit_query_all();
}
--
2.39.1
- [PATCH 0/6] dirtylimit: miscellaneous patches, Hyman Huang, 2023/10/17
- [PATCH 1/6] system/dirtylimit: Fix a race situation, Hyman Huang, 2023/10/17
- [PATCH 2/6] system/dirtylimit: Drop the reduplicative check,
Hyman Huang <=
- [PATCH 3/6] tests: Add migration dirty-limit capability test, Hyman Huang, 2023/10/17
- [PATCH 4/6] tests/migration: Introduce dirty-ring-size option into guestperf, Hyman Huang, 2023/10/17
- [PATCH 5/6] tests/migration: Introduce dirty-limit into guestperf, Hyman Huang, 2023/10/17
- [PATCH 6/6] docs/migration: Add the dirty limit section, Hyman Huang, 2023/10/17