Skip to content

Add nic link up/down emulation to e1000

Mark McLoughlin qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Add 'set_link' monitor commandmonitor.c net.c net.h+43 -116 replies
2/4Add device index to 'info network' outputnet.c+2 -11 reply
3/4Allow devices be notified of link status changenet.c net.h+6 -00 replies
4/4Implement e1000 link statushw/e1000.c+16 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/4] Add nic link up/down emulation to e1000

Hi,
Here's a small patch set which adds link up/down
emulation to e1000 via a "set_link" monitor command. This is useful for people who want to e.g. test how applications and/or the guest OS handles this condition.

The command itself takes a VLAN ID and device index
in order to identify which device to modify. That's a bit lame and could clearly by improved if the overall idea was thought to be sound.

Thanks,
Mark.