提交 469976d5 编写于 作者: M Michal Privoznik

bhyvexml2argvdata: Add mac address to <interface/>

In the next patch we will need a stable mac address for
<interface/>.
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 5b51848c
......@@ -7,5 +7,5 @@
-H \
-P \
-s 0:0,hostbridge \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:00:00:00 \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:81:c4:b1 \
-s 2:0,ahci-hd,/tmp/freebsd.img bhyve
......@@ -18,6 +18,7 @@
<address type='drive' controller='0' bus='0' target='2' unit='0'/>
</disk>
<interface type='bridge'>
<mac address='52:54:00:81:c4:b1'/>
<model type='virtio'/>
<source bridge="virbr0"/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
......
......@@ -5,5 +5,5 @@
-H \
-P \
-s 0:0,hostbridge \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:00:00:00 \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:b9:94:02 \
-s 2:0,ahci-hd,/tmp/freebsd.img bhyve
......@@ -14,6 +14,7 @@
<address type='drive' controller='0' bus='0' target='2' unit='0'/>
</disk>
<interface type='bridge'>
<mac address='52:54:00:b9:94:02'/>
<model type='virtio'/>
<source bridge="virbr0"/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
......
......@@ -5,6 +5,6 @@
-H \
-P \
-s 0:0,hostbridge \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:00:00:00 \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:8d:10:e1 \
-s 2:0,ahci-hd,/tmp/freebsd.img \
-s 4:0,ahci-cd,/tmp/cdrom.iso bhyve
......@@ -21,6 +21,7 @@
<address type='drive' controller='0' bus='0' target='4' unit='0'/>
</disk>
<interface type='bridge'>
<mac address='52:54:00:8d:10:e1'/>
<model type='virtio'/>
<source bridge="virbr0"/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
......
......@@ -5,6 +5,6 @@
-H \
-P \
-s 0:0,hostbridge \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:00:00:00 \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:92:68:0e \
-s 2:0,ahci-hd,/tmp/freebsd.img \
-s 4:0,ahci-cd,/tmp/cdrom.iso bhyve
......@@ -21,6 +21,7 @@
<address type='drive' controller='0' bus='0' target='4' unit='0'/>
</disk>
<interface type='bridge'>
<mac address='52:54:00:92:68:0e'/>
<model type='virtio'/>
<source bridge="virbr0"/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
......
......@@ -15,6 +15,7 @@
<address type='drive' controller='0' bus='0' target='2' unit='0'/>
</disk>
<interface type='bridge'>
<mac address='52:54:00:1e:63:25'/>
<model type='virtio'/>
<source bridge="virbr0"/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
......
......@@ -5,6 +5,6 @@
-H \
-P \
-s 0:0,hostbridge \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:00:00:00 \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:7a:f5:a4 \
-s 2:0,ahci-hd,/tmp/freebsd.img \
-s 4:0,ahci-cd,/tmp/cdrom.iso bhyve
......@@ -21,6 +21,7 @@
<boot order='1'/>
</disk>
<interface type='bridge'>
<mac address='52:54:00:7a:f5:a4'/>
<model type='virtio'/>
<source bridge="virbr0"/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
......
......@@ -22,6 +22,7 @@
<boot order='1'/>
</disk>
<interface type='bridge'>
<mac address='52:54:00:fe:97:82'/>
<model type='virtio'/>
<source bridge="virbr0"/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
......
......@@ -5,5 +5,5 @@
-H \
-P \
-s 0:0,hostbridge \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:00:00:00 \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:11:bd:26 \
-s 2:0,ahci-hd,/tmp/freebsd.img bhyve
......@@ -15,6 +15,7 @@
<address type='drive' controller='0' bus='0' target='2' unit='0'/>
</disk>
<interface type='bridge'>
<mac address='52:54:00:11:bd:26'/>
<model type='virtio'/>
<source bridge="virbr0"/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
......
......@@ -5,7 +5,7 @@
-H \
-P \
-s 0:0,hostbridge \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:00:00:00 \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:b1:42:eb \
-s 2:0,ahci-hd,/tmp/freebsd.img \
-s 1,lpc \
-l com1,/dev/nmdm0A bhyve
......@@ -14,6 +14,7 @@
<address type='drive' controller='0' bus='0' target='2' unit='0'/>
</disk>
<interface type='bridge'>
<mac address='52:54:00:b1:42:eb'/>
<model type='virtio'/>
<source bridge="virbr0"/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
......
......@@ -5,5 +5,5 @@
-H \
-P \
-s 0:0,hostbridge \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:00:00:00 \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:35:99:c2 \
-s 2:0,ahci-hd,/tmp/freebsd.img bhyve
......@@ -16,6 +16,7 @@
<address type='drive' controller='0' bus='0' target='2' unit='0'/>
</disk>
<interface type='bridge'>
<mac address='52:54:00:35:99:c2'/>
<model type='virtio'/>
<source bridge="virbr0"/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
......
......@@ -5,5 +5,5 @@
-H \
-P \
-s 0:0,hostbridge \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:00:00:00 \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:6f:6a:53 \
-s 2:0,ahci-cd,/tmp/cdrom.iso bhyve
......@@ -15,6 +15,7 @@
<address type='drive' controller='0' bus='0' target='2' unit='0'/>
</disk>
<interface type='bridge'>
<mac address='52:54:00:6f:6a:53'/>
<model type='virtio'/>
<source bridge="virbr0"/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
......
......@@ -5,5 +5,5 @@
-H \
-P \
-s 0:0,hostbridge \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:00:00:00 \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:e3:ec:9b \
-s 2:0,ahci-cd,/tmp/cdrom.iso bhyve
......@@ -15,6 +15,7 @@
<address type='drive' controller='0' bus='0' target='2' unit='0'/>
</disk>
<interface type='bridge'>
<mac address='52:54:00:e3:ec:9b'/>
<model type='virtio'/>
<source bridge="virbr0"/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
......
......@@ -5,5 +5,5 @@
-H \
-P \
-s 0:0,hostbridge \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:00:00:00 \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:bc:85:fe \
-s 2:0,virtio-blk,/tmp/freebsd.img bhyve
......@@ -14,6 +14,7 @@
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</disk>
<interface type='bridge'>
<mac address='52:54:00:bc:85:fe'/>
<model type='virtio'/>
<source bridge="virbr0"/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
......
......@@ -5,7 +5,7 @@
-H \
-P \
-s 0:0,hostbridge \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:00:00:00 \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:f4:6c:be \
-s 2:0,ahci-hd,/tmp/freebsd1.img \
-s 4:0,ahci-hd,/tmp/freebsd2.img \
-s 6:0,ahci-hd,/tmp/freebsd3.img bhyve
......@@ -28,6 +28,7 @@
<address type='drive' controller='0' bus='0' target='6' unit='0'/>
</disk>
<interface type='bridge'>
<mac address='52:54:00:f4:6c:be'/>
<model type='virtio'/>
<source bridge="virbr0"/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
......
......@@ -5,7 +5,7 @@
-H \
-P \
-s 0:0,hostbridge \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:00:00:00 \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:0e:d2:6f \
-s 2:0,ahci-hd,/tmp/freebsd1.img \
-s 4:0,ahci-hd,/tmp/freebsd2.img \
-s 6:0,ahci-hd,/tmp/freebsd3.img bhyve
......@@ -30,6 +30,7 @@
<address type='drive' controller='0' bus='0' target='6' unit='0'/>
</disk>
<interface type='bridge'>
<mac address='52:54:00:0e:d2:6f'/>
<model type='virtio'/>
<source bridge="virbr0"/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
......
......@@ -5,5 +5,5 @@
-H \
-P \
-s 0:0,hostbridge \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:00:00:00 \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:ee:f5:79 \
-s 2:0,ahci-hd,/tmp/freebsd.img bhyve
......@@ -15,6 +15,7 @@
<address type='drive' controller='0' bus='0' target='2' unit='0'/>
</disk>
<interface type='bridge'>
<mac address='52:54:00:ee:f5:79'/>
<model type='virtio'/>
<source bridge="virbr0"/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
......
......@@ -4,5 +4,5 @@
-H \
-P \
-s 0:0,hostbridge \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:00:00:00 \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:82:ca:a3 \
-s 2:0,ahci-hd,/tmp/freebsd.img bhyve
......@@ -15,6 +15,7 @@
<address type='drive' controller='0' bus='0' target='2' unit='0'/>
</disk>
<interface type='bridge'>
<mac address='52:54:00:82:ca:a3'/>
<model type='virtio'/>
<source bridge="virbr0"/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
......
......@@ -5,7 +5,7 @@
-H \
-P \
-s 0:0,hostbridge \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:00:00:00 \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:a7:cd:5b \
-s 2:0,ahci-hd,/tmp/freebsd.img \
-s 1,lpc \
-l com1,/dev/nmdm0A bhyve
......@@ -15,6 +15,7 @@
<address type='drive' controller='0' bus='0' target='2' unit='0'/>
</disk>
<interface type='bridge'>
<mac address='52:54:00:a7:cd:5b'/>
<model type='virtio'/>
<source bridge="virbr0"/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
......
......@@ -5,7 +5,7 @@
-H \
-P \
-s 0:0,hostbridge \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:00:00:00 \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:f0:72:11 \
-s 2:0,ahci-hd,/tmp/freebsd.img \
-s 1,lpc \
-l com1,/dev/nmdm0A bhyve
......@@ -15,6 +15,7 @@
<address type='drive' controller='0' bus='0' target='2' unit='0'/>
</disk>
<interface type='bridge'>
<mac address='52:54:00:f0:72:11'/>
<model type='virtio'/>
<source bridge="virbr0"/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
......
......@@ -5,7 +5,7 @@
-H \
-P \
-s 0:0,hostbridge \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:00:00:00 \
-s 3:0,virtio-net,faketapdev,mac=52:54:00:4f:f3:5b \
-s 2:0,ahci-hd,/tmp/freebsd.img \
-s 1,lpc \
-l com1,/dev/nmdm0A bhyve
......@@ -14,6 +14,7 @@
<address type='drive' controller='0' bus='0' target='2' unit='0'/>
</disk>
<interface type='bridge'>
<mac address='52:54:00:4f:f3:5b'/>
<model type='virtio'/>
<source bridge="virbr0"/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册