Skip to main content
  1. Home >
  2. Products >
  3. Computing Products >
  4. Servers >
  5. Fujitsu SPARC servers >
  6. Downloads >
  7. User Manuals >
  8. Fujitsu SPARC M12-2/M12-2S Service Manual >
  9. 10.7.3 Incorporating the PCIe Endpoint Into the Logical Domain

10.7.3 Incorporating the PCIe Endpoint Into the Logical Domain


10.7.3 Incorporating the PCIe Endpoint Into the Logical Domain
A PCIe card that is a PCIe endpoint is incorporated into the control domain or the root domain just after replacement by the PCI Hot Plug function or other means.
After releasing the PCIe endpoint from the root domain, assign it to the logical domain.
Note that the procedure for assigning the PCIe endpoint differs depending on whether it is performed dynamically or statically. For details, see Table 10-3.
Table 10-3  Procedure for Incorporating the PCIe Endpoint
-: Unnecessary
Item Task Command Assigned Dynamically (*1) Assigned Statically
1 Setting the delayed reconfiguration mode for the control domain or root domain to which the PCIe endpoint is assigned ldm start-reconf <domain-name> - Necessary
2 Releasing a PCIe endpoint ldm remove-io <name> <domain-name> Performed Performed
3 Restarting Oracle Solaris on the control domain or the root domain from which the PCIe endpoint has been released For the control domain
shutdown -i6 -g0 -y
For the root domain
ldm stop-domain -r <domain-name>
- Necessary
4 Incorporating the released PCIe endpoint into the logical domain ldm add-io <name> <domain-name> Performed Performed
*1 Dynamic reconfiguration of the PCIe endpoint device is supported by the combination of XCP 2230 or later and Oracle VM Server for SPARC 3.1.1.1 or later.
The hotplug service needs to be enabled both in the I/O domain to which the PCIe endpoint will be assigned and in Oracle Solaris on the control domain or the root domain from which the PCIe endpoint will be released. Enable the hotplug service by using the following command.
# svcadm enable hotplug
  1. Set the delayed reconfiguration mode for the control domain or root domain.
    Set the delayed reconfiguration mode for the control domain or root domain to which the PCIe endpoint is assigned. In this example, the delayed reconfiguration mode is set for the control domain. This step is not necessary when you change the configuration dynamically.
primary# ldm start-reconf primary
  1. Release the PCIe endpoint from the control domain or the root domain.
    This example releases the PCIe endpoint of /BB1/PCI5 from the control domain.
primary# ldm remove-io /BB1/PCI5 primary
  1. Restart Oracle Solaris on the control domain or the root domain from which the PCIe endpoint has been released.
    This step is not necessary when you release the PCIe endpoint dynamically.
# shutdown -i6 -g0 -y
  1. Incorporate the PCIe endpoint into the logical domain.
    This example incorporates the PCIe endpoint of /BB1/PCI5 into the logical domain guest.
    When setting the delayed reconfiguration mode for the logical domain guest, do so before incorporating the PCIe endpoint.
# ldm add-io /BB1/PCI5 guest