-
Notifications
You must be signed in to change notification settings - Fork 177
nvdimm: update expected hot_plug_error to match new QEMU message #6535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Before fix
After fix
|
hot_plug_error = "target NUMA node needs to be specified for memory device" | ||
hot_plug_nvdimm..with_node: | ||
hot_plug_error = "nvdimm is not enabled: missing 'nvdimm' in '-M'" | ||
hot_plug_error = "nvdimm is not enabled: add 'nvdimm=on' to '-M'" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please align with the old line for indentation. And for detecting error message, we do not need to search exactly. Use below is ok.
hot_plug_error = "nvdimm is not enabled:"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@BulaYoungR Please align with the old line for indentation.
91c2323
to
1b9963d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please align with the old line for indentation.
QEMU now reports "nvdimm is not enabled: add 'nvdimm=on' to '-M'" instead of the old "missing 'nvdimm' in '-M'". Updated the expected hot_plug_error in cfg (with_slot → hot_plug_nvdimm.with_node) so the test properly recognizes the failure again. Committer: Bolatbek Issakh <[email protected]>
1b9963d
to
c71a77b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
QEMU now reports "nvdimm is not enabled: add 'nvdimm=on' to '-M'" instead of the old "missing 'nvdimm' in '-M'". Updated the expected hot_plug_error in cfg (with_slot → hot_plug_nvdimm.with_node) so the test properly recognizes the failure again.
Committer: Bolatbek Issakh [email protected]