e1000: Use memcpy to intialize registers
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Thu, 23 Feb 2023 10:19:54 +0000 (19:19 +0900)
committerJason Wang <jasowang@redhat.com>
Fri, 10 Mar 2023 07:35:38 +0000 (15:35 +0800)
commit9eb525ee89bcea1515089d8c6cfb01155f6bbf3d
tree94b78c072800a4036281c08f84d9079ecf3b7f01
parentbe7daa5904830f2042ff07e23917688b8080418a
e1000: Use memcpy to intialize registers

Use memcpy instead of memmove to initialize registers. The initial
register templates and register table instances will never overlap.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/e1000.c