• D
    set and restore MAC address of a NIC when using PASSTHROUGH mode · cbd8227e
    Dirk Herrendoerfer 提交于
    The following patch addresses the problem that when a PASSTHROUGH
    mode DIRECT NIC connection is made the MAC address of the NIC is
    not automatically set and reset to the configured VM MAC and
    back again.
    
    The attached patch fixes this problem by setting and resetting the MAC
    while remembering the previous setting while the VM is running.
    This also works if libvirtd is restarted while the VM is running.
    
    the patch passes make syntax-check
    cbd8227e
interface.c 11.2 KB