]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
qemu-options: Fix bad "macaddr" property in the documentation
authorThomas Huth <thuth@redhat.com>
Mon, 13 Aug 2018 11:51:44 +0000 (13:51 +0200)
committerJason Wang <jasowang@redhat.com>
Fri, 19 Oct 2018 03:15:04 +0000 (11:15 +0800)
When using the "-device" option, the property is called "mac".
"macaddr" is only used for the legacy "-net nic" option.

Reported-by: Harald Hoyer <harald@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
qemu-options.hx

index f139459e802a3185afc92152ad9808511b9fd9c6..0f2f65ee406ae301fb1194dbaad10799645202c6 100644 (file)
@@ -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