Re: [Qemu-devel] [PATCH] spapr: implement H_CHANGE_LOGICAL_LAN_MAC h_call

2016-09-04 Thread David Gibson
On Fri, Sep 02, 2016 at 09:09:48AM +0200, Laurent Vivier wrote: > > > On 02/09/2016 04:37, David Gibson wrote: > > On Thu, Sep 01, 2016 at 10:10:49AM +0200, Laurent Vivier wrote: > >> Since kernel v4.0, linux uses H_CHANGE_LOGICAL_LAN_MAC to change lively > >> the MAC address of an ibmveth interf

Re: [Qemu-devel] [PATCH] spapr: implement H_CHANGE_LOGICAL_LAN_MAC h_call

2016-09-02 Thread Laurent Vivier
On 02/09/2016 10:02, Thomas Huth wrote: > On 01.09.2016 18:34, Laurent Vivier wrote: >> >> >> On 01/09/2016 15:13, Thomas Huth wrote: ... >>> Patch looks basically fine to me. One more thought though: >>> What about migration? Don't we need to migrate the perm_mac array, too, >>> or is this alrea

Re: [Qemu-devel] [PATCH] spapr: implement H_CHANGE_LOGICAL_LAN_MAC h_call

2016-09-02 Thread Thomas Huth
On 01.09.2016 18:34, Laurent Vivier wrote: > > > On 01/09/2016 15:13, Thomas Huth wrote: >> On 01.09.2016 10:10, Laurent Vivier wrote: >>> 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_

Re: [Qemu-devel] [PATCH] spapr: implement H_CHANGE_LOGICAL_LAN_MAC h_call

2016-09-02 Thread Laurent Vivier
On 02/09/2016 04:37, David Gibson wrote: > On Thu, Sep 01, 2016 at 10:10:49AM +0200, Laurent Vivier wrote: >> 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 th

Re: [Qemu-devel] [PATCH] spapr: implement H_CHANGE_LOGICAL_LAN_MAC h_call

2016-09-01 Thread David Gibson
On Thu, Sep 01, 2016 at 10:10:49AM +0200, Laurent Vivier wrote: > 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. > >

Re: [Qemu-devel] [PATCH] spapr: implement H_CHANGE_LOGICAL_LAN_MAC h_call

2016-09-01 Thread Laurent Vivier
On 01/09/2016 15:13, Thomas Huth wrote: > On 01.09.2016 10:10, Laurent Vivier wrote: >> 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

Re: [Qemu-devel] [PATCH] spapr: implement H_CHANGE_LOGICAL_LAN_MAC h_call

2016-09-01 Thread Thomas Huth
On 01.09.2016 10:10, Laurent Vivier wrote: > 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: Laure

[Qemu-devel] [PATCH] spapr: implement H_CHANGE_LOGICAL_LAN_MAC h_call

2016-09-01 Thread Laurent Vivier
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 --- hw/net/spapr_llan.c | 30