OSDN Git Service

spapr: implement H_CHANGE_LOGICAL_LAN_MAC h_call
authorLaurent Vivier <lvivier@redhat.com>
Thu, 1 Sep 2016 08:10:49 +0000 (10:10 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 7 Sep 2016 02:40:13 +0000 (12:40 +1000)
commit32f5f50dade3def9e51fdff505f79c67809fe647
treea362f4f48764073c595240aa084ea4fac66090ab
parenta007b19b37d571a01bc8a4458537345402eb01c0
spapr: implement H_CHANGE_LOGICAL_LAN_MAC h_call

Since kernel v4.0, linux uses H_CHANGE_LOGICAL_LAN_MAC to change lively
the MAC address of an ibmveth interface.

As QEMU doesn't implement this h_call, we can't change anymore the
MAC address of an spapr-vlan interface.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/net/spapr_llan.c