macvtap xml配置
来源:互联网 发布:模拟乐器软件 编辑:程序博客网 时间:2024/06/06 19:57
<domain type='kvm'> <name>kvm2</name> <uuid>b6f6dc62-28e6-44ae-9aab-07dd18d9b550</uuid> <memory unit='KiB'>4388608</memory> <currentMemory unit='KiB'>4388608</currentMemory> <vcpu placement='static'>4</vcpu> <os> <type arch='aarch64' machine='virt-2.6'>hvm</type> <kernel>/boot/Image</kernel> <initrd>/boot/fsl-image-core-ls1046ardb.ext2.gz</initrd> <cmdline>root=/dev/ram0 rw console=ttyAMA0 rootwait earlyprintk</cmdline> --- 设置串口登录 <boot dev='hd'/> </os> <cpu mode='custom' match='exact'> <model fallback='allow'>host</model> </cpu> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/bin/qemu-system-aarch64</emulator> <controller type='pci' index='0' model='pcie-root'/> <controller type='pci' index='1' model='dmi-to-pci-bridge'> <model name='i82801b11-bridge'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> </controller> <controller type='pci' index='2' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='2'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/> </controller> <interface type='direct'> <mac address='52:54:00:b8:9c:51'/> ---- macvtap的mac地址 <source dev='fm1-mac4' mode='bridge'/> ---- source dev:host的网卡 <model type='virtio'/> <driver name='vhost'/> ---- 采用vhost收发 <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> <serial type='pty'> ---- 设置串口登录 <target port='0'/> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <memballoon model='none'/> </devices></domain>
按以上配置好后,启动虚拟机,在host会自动创建macvtap设备;
阅读全文
0 0
- macvtap xml配置
- MacVTap
- macvtap介绍
- tun/tap macvtap macvlan
- Macvlan and Macvtap
- Virtualized bridged networking with MacVTap
- XML配置
- xml 配置
- XML配置
- 配置xml
- Xml配置
- 配置过滤器XML配置
- log4j.xml web.xml配置
- web.xml配置及struts.xml配置
- 网络虚拟化技术: TUN/TAP MACVLAN MACVTAP
- 网络虚拟化技术(二): TUN/TAP MACVLAN MACVTAP
- 网络虚拟化技术(二): TUN/TAP MACVLAN MACVTAP
- 网络虚拟化技术(二): TUN/TAP MACVLAN MACVTAP
- java transient 关键字和Serializable接口、Externalizable接口
- Ubuntu16.04 Apache+mysql+php+phpmyadmin环境搭建
- 获取json中data的数据
- PowerPivot的DAX函数实战
- JAVA中重写equals()方法的同时要重写hashcode()方法
- macvtap xml配置
- JavaScript技巧45招
- springboot JPA项目部署JBOSS出错
- Scala 详解 含Java中的正则匹配 eclipse集成scala插件
- React5 组件之间的数据共享
- builer设计模式
- tomcat server.xml详解
- 简单的redis实例 简单易懂搬运
- HTML ionic侧滑菜单