• E
    vcpu: teach getVcpusFlags about current · 59d04287
    Eric Blake 提交于
    Now that virDomainSetVcpusFlags knows about VIR_DOMAIN_AFFECT_CURRENT,
    so should virDomainGetVcpusFlags.
    
    Unfortunately, the virsh counterpart 'virsh vcpucount' has already
    commandeered --current for a different meaning, so teaching virsh
    to expose this in the next patch will require a bit of care.
    
    * src/libvirt.c (virDomainGetVcpusFlags): Allow
    VIR_DOMAIN_AFFECT_CURRENT.
    * src/libxl/libxl_driver.c (libxlDomainGetVcpusFlags): Likewise.
    * src/qemu/qemu_driver.c (qemudDomainGetVcpusFlags): Likewise.
    * src/test/test_driver.c (testDomainGetVcpusFlags): Likewise.
    * src/xen/xen_driver.c (xenUnifiedDomainGetVcpusFlags): Likewise.
    59d04287
xen_driver.c 68.0 KB