QEMU Network Device full virtual Solution II: Creation of virtual network card

Source: Internet
Author: User

Described above for QEMU in the front-end network flow path of the establishment of a detailed description, the packet from the host's physical network card through the host Linux kernel Bridge, through the tap device to reach the QEMU user state space. And how does QEMU send the packet to guest, it is necessary to talk about the establishment of virtual network card.

When the command line passes in the NIC-related parameters, qemu resolves the network-related parameters and enters the virtual network card creation process. As mentioned above, all-net types of devices are treated as a net client. Before the net client is established, it is necessary to create a hub inside QEMU and a corresponding port to correlate each net client, and for each-net type of device created it can be configured with the VLAN number of its interface. This controls the forwarding of packets within the VLAN in which they are configured to switch between multiple virtual devices.

[Click to view the full text]

http://luoye.me/2014/07/20/netdev-virtual-2/

QEMU Network Device full virtual Solution II: Creation of virtual network card

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.