I tried to launch 2 VMs, one attached to SRIOV port and the second to PCI-passthrough port. Found same behaviour:
| dde29d25-8522-4ebe-8eb7-0a96818a769e | vm-pthru-1 | ACTIVE | private-net0=192.168.201.63 | cirros | m1.small | | 8a926af8-b726-48eb-960a-0dd52ec15276 | vm-sriov-1 | ACTIVE | public-net0=192.168.101.252 | cirros | m1.small |
compute-0:~$ sudo virsh list Id Name State ----------------------------------- 7 instance-0000002b running 8 instance-00000028 running
compute-0:~$ sudo virsh console instance-0000002b
$ ifconfig eth0 Link encap:Ethernet HWaddr FA:16:3E:1B:84:CC inet6 addr: fe80::f816:3eff:fe1b:84cc/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:10 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:1332 (1.3 KiB)
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
I tried to launch 2 VMs, one attached to SRIOV port and the second to PCI-passthrough port.
Found same behaviour:
| dde29d25- 8522-4ebe- 8eb7-0a96818a76 9e | vm-pthru-1 | ACTIVE | private- net0=192. 168.201. 63 | cirros | m1.small | b726-48eb- 960a-0dd52ec152 76 | vm-sriov-1 | ACTIVE | public- net0=192. 168.101. 252 | cirros | m1.small |
| 8a926af8-
compute-0:~$ sudo virsh list ------- ------- ------- -------
Id Name State
-------
7 instance-0000002b running
8 instance-00000028 running
compute-0:~$ sudo virsh console instance-0000002b
$ ifconfig 3eff:fe1b: 84cc/64 Scope:Link
collisions: 0 txqueuelen:1000
eth0 Link encap:Ethernet HWaddr FA:16:3E:1B:84:CC
inet6 addr: fe80::f816:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:1332 (1.3 KiB)
lo Link encap:Local Loopback
collisions: 0 txqueuelen:1
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)