Commit 37a4442a authored by Thomas Huth's avatar Thomas Huth Committed by Jason Wang
Browse files

qemu-options: Fix bad "macaddr" property in the documentation



When using the "-device" option, the property is called "mac".
"macaddr" is only used for the legacy "-net nic" option.

Reported-by: default avatarHarald Hoyer <harald@redhat.com>
Reviewed-by: default avatarMarkus Armbruster <armbru@redhat.com>
Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
parent 1001cf45
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2256,7 +2256,7 @@ qemu-system-i386 linux.img \
                 -netdev socket,id=n2,mcast=230.0.0.1:1234
# launch yet another QEMU instance on same "bus"
qemu-system-i386 linux.img \
                 -device e1000,netdev=n3,macaddr=52:54:00:12:34:58 \
                 -device e1000,netdev=n3,mac=52:54:00:12:34:58 \
                 -netdev socket,id=n3,mcast=230.0.0.1:1234
@end example