• J
    conf: add net device prefix to capabilities · 819d1d94
    Joao Martins 提交于
    In the reverted commit d2e5538b, the libxl driver was changed to copy
    interface names autogenerated by libxl to the corresponding network def
    in the domain's virDomainDef object. The copied name is freed when the
    domain transitions to the shutoff state. But when migrating a domain,
    the autogenerated name is included in the XML sent to the destination
    host.  It is possible an interface with the same name already exists on
    the destination host, causing migration to fail.
    
    This patch defines a new capability for setting the network device
    prefix that will be used in the driver. Valid prefixes are
    VIR_NET_GENERATED_PREFIX or the one announced by the driver.
    Signed-off-by: NJoao Martins <joao.m.martins@oracle.com>
    819d1d94
libvirt_private.syms 56.6 KB