Files
Roman Bogorodskiy f2c32f9d0d bhyve: allow setting eui64 for NVMe disks
Bhyve allows to set eui64 for the NVMe disks:

     eui64       IEEE Extended Unique Identifier (8 byte value).

And in a real command line:

 -s 5:0,nvme,/data/img/10gb.img,ser=BHYVE-NVME01-F000,eui64=0x01000000efbeadde

Model that using the <wwn> element:

  <disk type='file'>
    <driver name='file' type='raw'/>
    <source file='/path/to/some.img'/>
    <target dev='nvme0n1' bus='nvme'/>
    <wwn>01000000efbeadde</wwn>
  </disk>

As this element does not allow commas, it's not necessary to add
additional validation for that.

Closes: https://gitlab.com/libvirt/libvirt/-/work_items/901
Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2026-08-24 11:35:58 +02:00
..