* [Qemu-trivial] [PATCH] qemu-options: Fix bad "macaddr" property in the documentation
@ 2018-08-13 11:51 ` Thomas Huth
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2018-08-13 11:51 UTC (permalink / raw)
To: Jason Wang, qemu-devel; +Cc: Harald Hoyer, qemu-trivial
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>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
qemu-options.hx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index b1bf0f4..3495531 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -2345,7 +2345,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
--
1.8.3.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Qemu-devel] [PATCH] qemu-options: Fix bad "macaddr" property in the documentation
@ 2018-08-13 11:51 ` Thomas Huth
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2018-08-13 11:51 UTC (permalink / raw)
To: Jason Wang, qemu-devel; +Cc: Harald Hoyer, qemu-trivial
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>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
qemu-options.hx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index b1bf0f4..3495531 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -2345,7 +2345,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
--
1.8.3.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [Qemu-trivial] [Qemu-devel] [PATCH] qemu-options: Fix bad "macaddr" property in the documentation
2018-08-13 11:51 ` [Qemu-devel] " Thomas Huth
@ 2018-08-13 12:31 ` Markus Armbruster
-1 siblings, 0 replies; 6+ messages in thread
From: Markus Armbruster @ 2018-08-13 12:31 UTC (permalink / raw)
To: Thomas Huth; +Cc: Jason Wang, qemu-devel, qemu-trivial, Harald Hoyer
Thomas Huth <thuth@redhat.com> writes:
> When using the "-device" option, the property is called "mac".
> "macaddr" is only used for the legacy "-net nic" option.
Indeed:
#define DEFINE_NIC_PROPERTIES(_state, _conf) \
---> DEFINE_PROP_MACADDR("mac", _state, _conf.macaddr), \
DEFINE_PROP_NETDEV("netdev", _state, _conf.peers)
> Reported-by: Harald Hoyer <harald@redhat.com>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> qemu-options.hx | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/qemu-options.hx b/qemu-options.hx
> index b1bf0f4..3495531 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -2345,7 +2345,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
Reviewed-by: Markus Armbruster <armbru@redhat.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [PATCH] qemu-options: Fix bad "macaddr" property in the documentation
@ 2018-08-13 12:31 ` Markus Armbruster
0 siblings, 0 replies; 6+ messages in thread
From: Markus Armbruster @ 2018-08-13 12:31 UTC (permalink / raw)
To: Thomas Huth; +Cc: Jason Wang, qemu-devel, qemu-trivial, Harald Hoyer
Thomas Huth <thuth@redhat.com> writes:
> When using the "-device" option, the property is called "mac".
> "macaddr" is only used for the legacy "-net nic" option.
Indeed:
#define DEFINE_NIC_PROPERTIES(_state, _conf) \
---> DEFINE_PROP_MACADDR("mac", _state, _conf.macaddr), \
DEFINE_PROP_NETDEV("netdev", _state, _conf.peers)
> Reported-by: Harald Hoyer <harald@redhat.com>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> qemu-options.hx | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/qemu-options.hx b/qemu-options.hx
> index b1bf0f4..3495531 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -2345,7 +2345,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
Reviewed-by: Markus Armbruster <armbru@redhat.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-trivial] [Qemu-devel] [PATCH] qemu-options: Fix bad "macaddr" property in the documentation
2018-08-13 12:31 ` Markus Armbruster
@ 2018-08-15 3:06 ` Jason Wang
-1 siblings, 0 replies; 6+ messages in thread
From: Jason Wang @ 2018-08-15 3:06 UTC (permalink / raw)
To: Markus Armbruster, Thomas Huth; +Cc: qemu-trivial, qemu-devel, Harald Hoyer
On 2018年08月13日 20:31, Markus Armbruster wrote:
> Thomas Huth <thuth@redhat.com> writes:
>
>> When using the "-device" option, the property is called "mac".
>> "macaddr" is only used for the legacy "-net nic" option.
> Indeed:
>
> #define DEFINE_NIC_PROPERTIES(_state, _conf) \
> ---> DEFINE_PROP_MACADDR("mac", _state, _conf.macaddr), \
> DEFINE_PROP_NETDEV("netdev", _state, _conf.peers)
>
>> Reported-by: Harald Hoyer <harald@redhat.com>
>> Signed-off-by: Thomas Huth <thuth@redhat.com>
>> ---
>> qemu-options.hx | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/qemu-options.hx b/qemu-options.hx
>> index b1bf0f4..3495531 100644
>> --- a/qemu-options.hx
>> +++ b/qemu-options.hx
>> @@ -2345,7 +2345,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
> Reviewed-by: Markus Armbruster <armbru@redhat.com>
>
Applied.
Thanks
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [PATCH] qemu-options: Fix bad "macaddr" property in the documentation
@ 2018-08-15 3:06 ` Jason Wang
0 siblings, 0 replies; 6+ messages in thread
From: Jason Wang @ 2018-08-15 3:06 UTC (permalink / raw)
To: Markus Armbruster, Thomas Huth; +Cc: qemu-trivial, qemu-devel, Harald Hoyer
On 2018年08月13日 20:31, Markus Armbruster wrote:
> Thomas Huth <thuth@redhat.com> writes:
>
>> When using the "-device" option, the property is called "mac".
>> "macaddr" is only used for the legacy "-net nic" option.
> Indeed:
>
> #define DEFINE_NIC_PROPERTIES(_state, _conf) \
> ---> DEFINE_PROP_MACADDR("mac", _state, _conf.macaddr), \
> DEFINE_PROP_NETDEV("netdev", _state, _conf.peers)
>
>> Reported-by: Harald Hoyer <harald@redhat.com>
>> Signed-off-by: Thomas Huth <thuth@redhat.com>
>> ---
>> qemu-options.hx | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/qemu-options.hx b/qemu-options.hx
>> index b1bf0f4..3495531 100644
>> --- a/qemu-options.hx
>> +++ b/qemu-options.hx
>> @@ -2345,7 +2345,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
> Reviewed-by: Markus Armbruster <armbru@redhat.com>
>
Applied.
Thanks
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-08-15 3:06 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-13 11:51 [Qemu-trivial] [PATCH] qemu-options: Fix bad "macaddr" property in the documentation Thomas Huth
2018-08-13 11:51 ` [Qemu-devel] " Thomas Huth
2018-08-13 12:31 ` [Qemu-trivial] " Markus Armbruster
2018-08-13 12:31 ` Markus Armbruster
2018-08-15 3:06 ` [Qemu-trivial] " Jason Wang
2018-08-15 3:06 ` Jason Wang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.