Skip to content

B #7590: set target bus on disk hotplug#7592

Open
atodorov-storpool wants to merge 1 commit intoOpenNebula:masterfrom
atodorov-storpool:sd_disk_bus
Open

B #7590: set target bus on disk hotplug#7592
atodorov-storpool wants to merge 1 commit intoOpenNebula:masterfrom
atodorov-storpool:sd_disk_bus

Conversation

@atodorov-storpool
Copy link
Copy Markdown
Contributor

Description

set target bus on disk hotplug using SD_DISK_BUS when available.

Check if the bus is SATA and raise an error as it is unsupported.

Branches to which this PR applies

  • master
  • one-7.0
  • one-7.2

  • Check this if this PR should not be squashed


VMID="${XPATH_ELEMENTS[j++]}"
VCPU="${XPATH_ELEMENTS[j++]:-1}"
SD_DISK_BUS="${XPATH_ELEMENTS[j++]}"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommendation generated by Amazon CodeGuru Reviewer. Leave feedback on this recommendation by replying to the comment or by reacting to the comment using emoji.

SD_DISK_BUS appears unused. Verify use (or export if used externally).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is used in vmm/kvm/attach_disk, it is not exported folloing same pattern as all other variables in the function

using SD_DISK_BUS when available.

Check if the bus is SATA and raisese error as it is unsupported.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants