We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12534db commit 13a6e71Copy full SHA for 13a6e71
sled-agent/src/instance.rs
@@ -911,6 +911,8 @@ impl InstanceRunner {
911
id: disk.disk_id,
912
device: NvmeDisk {
913
backend_id: SpecKey::Uuid(disk.disk_id),
914
+ // Add 16 to the disk slot number to match Propolis's
915
+ // previous interpretation of disk slot parameters.
916
pci_path: PciPath::new(0, disk.slot + 0x10, 0)?,
917
serial_number,
918
},
@@ -944,6 +946,8 @@ impl InstanceRunner {
944
946
device: VirtioNic {
945
947
backend_id: SpecKey::Uuid(nic.id),
948
interface_id: nic.id,
949
+ // Add 8 to the NIC slot number to match Propolis's
950
+ // previous interpretation of NIC slot parameters.
951
pci_path: PciPath::new(0, nic.slot + 8, 0)?,
952
953
backend: VirtioNetworkBackend {
0 commit comments