• A
    conf: Explain some code in more detail · 61e10143
    Andrea Bolognani 提交于
    The code is entirely correct, but it still managed to trip me
    up when I first ran into it because I did not realize right away
    that VIR_PCI_CONNECT_TYPES_ENDPOINT was not a single flag, but
    rather a mask including both VIR_PCI_CONNECT_TYPE_PCI_DEVICE and
    VIR_PCI_CONNECT_TYPE_PCIE_DEVICE.
    
    In order to save the next distracted traveler in PCI Address Land
    some time, document this fact with a comment. Add a test case for
    the behavior as well.
    61e10143
domain_addr.c 56.1 KB