• E
    util: use new virTypedParameter helpers · 9e48c225
    Eric Blake 提交于
    Reusing common code makes things smaller; it also buys us some
    additional safety, such as now rejecting duplicate parameters
    during a set operation.
    
    * src/qemu/qemu_driver.c (qemuDomainSetBlkioParameters)
    (qemuDomainSetMemoryParameters, qemuDomainSetNumaParameters)
    (qemuSetSchedulerParametersFlags)
    (qemuDomainSetInterfaceParameters, qemuDomainSetBlockIoTune)
    (qemuDomainGetBlkioParameters, qemuDomainGetMemoryParameters)
    (qemuDomainGetNumaParameters, qemuGetSchedulerParametersFlags)
    (qemuDomainBlockStatsFlags, qemuDomainGetInterfaceParameters)
    (qemuDomainGetBlockIoTune): Use new helpers.
    * src/esx/esx_driver.c (esxDomainSetSchedulerParametersFlags)
    (esxDomainSetMemoryParameters)
    (esxDomainGetSchedulerParametersFlags)
    (esxDomainGetMemoryParameters): Likewise.
    * src/libxl/libxl_driver.c
    (libxlDomainSetSchedulerParametersFlags)
    (libxlDomainGetSchedulerParametersFlags): Likewise.
    * src/lxc/lxc_driver.c (lxcDomainSetMemoryParameters)
    (lxcSetSchedulerParametersFlags, lxcDomainSetBlkioParameters)
    (lxcDomainGetMemoryParameters, lxcGetSchedulerParametersFlags)
    (lxcDomainGetBlkioParameters): Likewise.
    * src/test/test_driver.c (testDomainSetSchedulerParamsFlags)
    (testDomainGetSchedulerParamsFlags): Likewise.
    * src/xen/xen_hypervisor.c (xenHypervisorSetSchedulerParameters)
    (xenHypervisorGetSchedulerParameters): Likewise.
    9e48c225
esx_driver.c 158.8 KB