• X
    conf: Fix initialization value of 'multi' in PCI address · f7658da6
    Xian Han Yu 提交于
    The 'multi' element in PCI address struct used as 'virTristateSwitch',
    and its default value is 'VIR_TRISTATE_SWITCH_ABSENT'. Current PCI
    process use 'false' to initialization 'multi', which is ambiguously
    for assignment or comparison. This patch use '{0}' to initialize
    the whole PCI address struct, which fix the 'multi' initialization
    and makes code more simplify and explicitly.
    Signed-off-by: NXian Han Yu <xhyubj@linux.vnet.ibm.com>
    f7658da6
domain_addr.c 55.4 KB