• V
    conf: allow setting peer address in <ip> element of <interface> · b81cf13e
    Vasiliy Tolstov 提交于
    The peer attribute is used to set the property of the same name in the
    interface IP info:
    
      <interface type='ethernet'>
        ...
        <ip family='ipv4' address='192.168.122.5'
            prefix='32' peer='192.168.122.6'/>
        ...
      </interface>
    
    Note that this element is used to set the IP information on the
    *guest* side interface, not the host side interface - that will be
    supported in an upcoming patch.
    
    (This patch now has quite a history: it was originally pushed in
    commit 690969af, which was subsequently reverted in commit 1d14b13f,
    then reworked and pushed (along with a lot of other related/supporting
    patches) in commit 93135abf; however *that* commit had been
    accidentally pushed during dev. freeze for release 2.0.0, so it was
    again reverted in commit f6acf039).
    Signed-off-by: NVasiliy Tolstov <v.tolstov@selfip.ru>
    Signed-off-by: NLaine Stump <laine@laine.org>
    b81cf13e
domain_conf.c 788.5 KB