Skip to content
  • Mike Latimer's avatar
    202-numa-set-parameters.t: use AFFECT_CONFIG when changing nodeset · 1b0cbc07
    Mike Latimer authored and Daniel P. Berrangé's avatar Daniel P. Berrangé committed
    The 202-numa-set-parameters.t test sets NUMA_NODESET using AFFECT_LIVE on a
    running domain, destroys and starts the domain, then verifies the NUMA_NODESET
    setting. As AFFECT_LIVE does not write the setting to the domain xml file,
    the new nodeset setting is lost when the domain is destroyed and the test
    fails.
    
    This patch adds AFFECT_CONFIG to set_numa_parameters, so both the live
    environment and the xml file are updated with the new setting. An additional
    test was also added, before the domain is destroyed, to ensure the nodeset
    change is seen on the live domain.
    1b0cbc07