[libvirt] [PATCH 0/1] NPIV node device backend

David Allan dallan at redhat.com
Mon May 4 20:58:20 UTC 2009


Here is an initial implementation of the NPIV support backend using
the node device API.  It only implements create.  Destroy should be
fairly straightforward, but I want to get the patch out to the list
for comment while I continue to work.  The code currently requires the
device name and host number to be specified in the XML, but it does
not use those values.  I will clean that up.  The user will not be
able to specify either of those values, as they are created by the
system when it discovers the newly created device.

<device>
  <name>foo</name>
  <parent>pci_10df_fe00_scsi_host_0</parent>
  <capability type='scsi_host'>
    <host>99999</host>
    <capability type='fc_host'>
      <wwnn>c0001b0000000018</wwnn>
      <wwpn>c0001b1000000018</wwpn>
    </capability>
  </capability>
</device>




More information about the libvir-list mailing list