
Solarflare
Server
Adapter
User
Guide
SR
‐
IOV
Virtualization
Using
KVM
Issue
20
©
Solarflare
Communications
2017
339
Figure
53:
Virtual
Machine
Manager
‐
Showing
the
direct
bridged
interface
XML
Description
The
following
extract
is
from
the
VM
XML
file
after
the
configuration
procedure
has
been
applied
(line
numbers
have
been
added
for
ease
of
description):
1.
<interface
type='direct'>
2.
<mac
address='52:54:00:db:ab:ca'/>
3.
<source
dev='eth4'
mode='bridge'/>
4.
<model
type='virtio'/>
5.
<address
type='pci'
domain='0x0000'
bus='0x00'
slot='0x07'
function='0x0'/>
6.
</interface>
1
Interface
type
must
be
specified
by
the
user
as
‘direct’.
2
The
MAC
address.
If
not
specified
by
the
user
this
will
be
automatically
assigned
a
random
MAC
address
by
libvirt.
3
The
source
dev
is
the
interface
identifier
from
the
host
‐
added
by
the
user.
The
user
should
also
specify
the
mode
which
must
be
‘bridge’.
4
If
not
specified
by
the
user,
the
model
type
will
be
automatically
assigned
by
libvirt
when
the
guest
is
started.
Use
virtio
for
best
performance.
5
The
PF
PCIe
address
(as
known
by
the
guest)
will
be
added
automatically
by
libvirt
For
further
information
about
the
direct
bridged
configuration
and
XML
formats,
refer
to
the
following
link: