[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Question about two option formats for netdev
From: |
Masahiro Yamada |
Subject: |
Question about two option formats for netdev |
Date: |
Wed, 17 Mar 2021 03:33:55 +0900 |
Hi.
I have a question about adding
a network device.
qemu-system-arm -machine vexpress-a9 \
-net nic,model=lan9118 -net user ...
works for me, but 'man qemu-system-arm'
says this is "Legacy option".
Is there any new (or recommended) form
to use a lan9118 device?
If I understand correctly,
-netdev user,id=<id> \
-device <driver>,netdev=<id>
is the new option form.
For example, I can use the new form
for virtio-net-device.
But, it does not work for lan9118,
and actually I cannot see lan9118 in
"qemu-system-arm -machine vexpress-a9 -device help".
So, the two options are different worlds,
we need to choose appropriate form
to use a particular device, correct?
--
Best Regards
Masahiro Yamada
- Question about two option formats for netdev,
Masahiro Yamada <=