<address> as child element of <interface>

Specifies the address of a network device on the virtual server.

Text content

None.

Selected attributes

The set of relevant attributes depends on the type: ccw or pci

type="ccw"
Specifies a virtio CCW device, such as a block device or a network device.

You can specify the device bus-ID with the address attributes cssid, ssid, and devno.

cssid
Specifies the channel subsystem number of the virtual device. Must be 0xfe.
ssid
Specifies the subchannel set of the virtual device. Valid values are between 0x0 and 0x3.
devno
Specifies the device number of the virtio device. Must be a unique value between 0x0000 and 0xffff.
type="pci"
Specifies a VFIO pass-through network PCI device. You can but need not specify valid values for the domain, bus, slot, and function of the PCI address. If you omit these specification, libvirt generates valid values for you.
domain
Specifies the virtual PCI domain number. Must be 0x0000.
bus
Specifies the virtual PCI bus. Must be 0x00.
slot
Specifies the virtual PCI slot. Valid values are in the range 0x01 - 0x1f.
function
Specifies the virtual PCI function. Must be 0x0.

Usage

Parent elements

<interface>

Child elements

<zpci>

Example

<devices>
    ...
    <interface mode="subsystem" type="pci">
       ...
       <address type="pci"> 
          <zpci uid="0x0001" fid="0x00000000"/>
       </address>
       ...
    </interface>
    ...
</devices>