• E
    vcpu: improve support for setting xen vcpu counts · e443a003
    Eric Blake 提交于
    Tested with RHEL 5.6 (xendConfigVersion 2, where xend_internal
    controls live domains and xm_internal controls inactive domains).
    Hopefully this works with xendConfigVersion 3 (where xend_internal
    controls everything).
    
    * src/xen/xen_driver.c (xenUnifiedDomainSetVcpusFlags): Support
    more flags.
    (xenUnifiedGetMaxVcpus): Export.
    * src/xen/xm_internal.h (xenXMDomainSetVcpusFlags): New prototype.
    * src/xen/xend_internal.h (xenDaemonDomainSetVcpusFlags): Likewise.
    * src/xen/xen_driver.h (xenUnifiedGetMaxVcpus): Likewise.
    * src/xen/xm_internal.c (xenXMDomainSetVcpusFlags): New function.
    * src/xen/xend_internal.c (xenDaemonDomainSetVcpusFlags): Likewise.
    e443a003
xen_driver.c 62.0 KB