Re: Macvtap devices?

2022-09-04 Thread Dongli Zhang
I suggest you figure out the diff between different devices by reading some
online docs, e.g., the below doc.

https://developers.redhat.com/blog/2018/10/22/introduction-to-linux-interfaces-for-virtual-networking

Here is how I setup a software-only environment to play with macvtap device.

https://github.com/finallyjustice/sample/blob/master/kvm/macvtap.txt

Dongli Zhang

On 9/2/22 4:17 PM, X Tec wrote:
> I have used the -netdev tap,[...] options before, though almost exclusively 
> for bridged networking.
> 
> I understand this setup uses tap (or tun/tap?) virtual devices for the 
> virtual machines.
> 
> But, what are "macvtap" devices really?
> I saw the term while reading some libvirt docs for comparison purposes; they 
> particularly seem to favor these devices...
> But even after internet searching I was not able to understand them.
> 
> So, if someone could help,
> What are they, or what's their difference with "normal" tap devices commonly 
> used in QEMU?
> Are macvtap devices supported in QEMU? How can one use them?
> 
> Thanks beforehand.
> 



Macvtap devices?

2022-09-02 Thread X Tec
I have used the -netdev tap,[...] options before, though almost exclusively for 
bridged networking.

I understand this setup uses tap (or tun/tap?) virtual devices for the virtual 
machines.

But, what are "macvtap" devices really?
I saw the term while reading some libvirt docs for comparison purposes; they 
particularly seem to favor these devices...
But even after internet searching I was not able to understand them.

So, if someone could help,
What are they, or what's their difference with "normal" tap devices commonly 
used in QEMU?
Are macvtap devices supported in QEMU? How can one use them?

Thanks beforehand.