qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about two option formats for netdev


From: Jason Wang
Subject: Re: Question about two option formats for netdev
Date: Tue, 16 Mar 2021 23:51:49 -0400 (EDT)


----- 原始邮件 -----
> 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?

Have you tried to use the "-nic" option[1]?

[1] https://www.qemu.org/2018/05/31/nic-parameter/

Thanks

> 
> 
> 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
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]