On Wed, May 13, 2015 at 11:06:53PM -0700, sfel...@gmail.com wrote: > From: Scott Feldman <sfel...@gmail.com> > > When the OS driver enables/disables the port, go ahead and set the port's > link status to up/down in response to the change. This more closely > emulates real hardware when the PHY for the port is brought up/down > and the PHY negotiates carrier (link status) with link partner. In > the case of qemu, the virtual rocker device can't really do link > negotiation with the link partner as that requires signally over a > physical medium (the wire), so just pretend the negotiation was > successful and bring the link up when the port is enabled. > > Signed-off-by: Scott Feldman <sfel...@gmail.com> > --- > hw/net/rocker/rocker_fp.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
pgpwYN91D4PZF.pgp
Description: PGP signature