mirror of https://gitee.com/openkylin/libvirt.git
07450cd429
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. |
||
---|---|---|
.. | ||
8021Qbh-net.xml | ||
bandwidth-network.xml | ||
dhcp6host-routed-network.xml | ||
direct-net.xml | ||
empty-allow-ipv6.xml | ||
host-bridge-net.xml | ||
hostdev-pf.xml | ||
hostdev.xml | ||
isolated-network.xml | ||
nat-network-dns-forward-plain.xml | ||
nat-network-dns-forwarders.xml | ||
nat-network-dns-hosts.xml | ||
nat-network-dns-srv-record-minimal.xml | ||
nat-network-dns-srv-record.xml | ||
nat-network-dns-srv-records.xml | ||
nat-network-dns-txt-record.xml | ||
nat-network-forward-nat-address.xml | ||
nat-network.xml | ||
netboot-network.xml | ||
netboot-proxy-network.xml | ||
openvswitch-net.xml | ||
passthrough-address-crash.xml | ||
passthrough-pf.xml | ||
routed-network.xml | ||
vepa-net.xml |