• L
    conf: add trustGuestRxFilters attribute to network and domain interface · 07450cd4
    Laine Stump 提交于
    This new attribute will control whether or not libvirt will pay
    attention to guest notifications about changes to network device mac
    addresses and receive filters. The default for this is 'no' (for
    security reasons). If it is set to 'yes' *and* the specified device
    model and connection support it (currently only macvtap+virtio) then
    libvirt will watch for NIC_RX_FILTER_CHANGED events, and when it
    receives one, it will issue a query-rx-filter command, retrieve the
    result, and modify the host-side macvtap interface's mac address and
    unicast/multicast filters accordingly.
    
    The functionality behind this attribute will be in a later patch. This
    patch merely adds the attribute to the top-level of a domain's
    <interface> as well as to <network> and <portgroup>, and adds
    documentation and schema/xml2xml tests. Rather than adding even more
    test files, I've just added the net attribute in various applicable
    places of existing test files.
    07450cd4
network_conf.c 144.2 KB