Vitor de Lima has uploaded a new change for review. Change subject: core, engine: Fix HotPlugCpuSupported config value ......................................................................
core, engine: Fix HotPlugCpuSupported config value The 'HotPlugCpuSupported' configuration value was not present in the database and another unused property called HotPlugCpuEnable contained syntax errors that prevented it from being read by the JSON parser. This patch removes the unused property and adds the correct one, fixing the syntax errors that were present. Change-Id: I3ef5b2e39b2067239721a65b031d247ace3b0c2c Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1069802 Signed-off-by: Vitor de Lima <[email protected]> --- M packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql 1 file changed, 6 insertions(+), 5 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/42/25042/1 diff --git a/packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql b/packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql index 85c7d9a..fab58a9 100644 --- a/packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql +++ b/packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql @@ -159,11 +159,11 @@ select fn_db_add_config_value('HostPreparingForMaintenanceIdleTime', '300', 'general'); select fn_db_add_config_value('HostTimeDriftInSec','300','general'); select fn_db_add_config_value('HotPlugEnabled','false','3.0'); -select fn_db_add_config_value('HotPlugCpuEnabled','{\"x86_64\":\"false\",\"ppc64\":\"false\"}','3.0'); -select fn_db_add_config_value('HotPlugCpuEnabled','{\"x86_64\":\"false\",\"ppc64\":\"false\"}','3.1'); -select fn_db_add_config_value('HotPlugCpuEnabled','{\"x86_64\":\"false\",\"ppc64\":\"false\"}','3.2'); -select fn_db_add_config_value('HotPlugCpuEnabled','{\"x86_64\":\"false\",\"ppc64\":\"false\"}','3.3'); -select fn_db_add_config_value('HotPlugCpuEnabled','{\"x86_64\":\"true\",\"ppc64\":\"false\"}','3.4'); +select fn_db_add_config_value('HotPlugCpuSupported','{"x86_64":"false","ppc64":"false"}','3.0'); +select fn_db_add_config_value('HotPlugCpuSupported','{"x86_64":"false","ppc64":"false"}','3.1'); +select fn_db_add_config_value('HotPlugCpuSupported','{"x86_64":"false","ppc64":"false"}','3.2'); +select fn_db_add_config_value('HotPlugCpuSupported','{"x86_64":"false","ppc64":"false"}','3.3'); +select fn_db_add_config_value('HotPlugCpuSupported','{"x86_64":"true","ppc64":"false"}','3.4'); select fn_db_add_config_value('MigrationSupportForNativeUsb','false','3.0'); select fn_db_add_config_value('MigrationSupportForNativeUsb','false','3.1'); select fn_db_add_config_value('NetworkLinkingSupported','false','3.0'); @@ -904,6 +904,7 @@ select fn_db_delete_config_value('VirtIoScsiUnsupportedOsList','general'); select fn_db_delete_config_value('EnableMACAntiSpoofingFilterRules', '3.0'); select fn_db_delete_config_value('EnableMACAntiSpoofingFilterRules', '3.1'); +select fn_db_delete_config_value('HotPlugCpuEnabled','3.0,3.1,3.2,3.3,3.4'); ------------------------------------------------------------------------------------ -- Split config section -- The purpose of this section is to treat config option that was once -- To view, visit http://gerrit.ovirt.org/25042 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3ef5b2e39b2067239721a65b031d247ace3b0c2c Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.4 Gerrit-Owner: Vitor de Lima <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
