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
Kdump for xen #75
Kdump for xen #75
Conversation
src/modules/Kdump.rb
Outdated
@@ -920,8 +943,11 @@ def filterExport(settings) | |||
def Export | |||
crash_kernel = crash_kernel_values | |||
crash_kernel = crash_kernel[0] if crash_kernel.size == 1 | |||
crash_xen_kernel = crash_kernel_values |
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.
crash_xen_kernel_values
??
src/autoyast-rnc/kdump.rnc
Outdated
@@ -6,11 +6,14 @@ namespace config = "http://www.suse.com/1.0/configns" | |||
kdump = | |||
element kdump { | |||
(kdump_crash_kernel_value | kdump_crash_kernel_list)? & | |||
# parameter specify crashkernel value for xen hypervisor | |||
kdump_crash_xen_value? & |
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.
This needs to mimic the above line because Export uses either an array or a single string too.
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.
done, thanks for notice.
src/modules/Kdump.rb
Outdated
@@ -487,6 +509,7 @@ def WriteKdumpBootParameter | |||
if @crashkernel_param | |||
#delete crashkernel parameter from bootloader | |||
Bootloader.modify_kernel_params(:common, :xen_guest, :recovery, "crashkernel" => :missing) | |||
Bootloader.modify_kernel_params(:common, :xen_host, :recovery, "crashkernel" => :missing) |
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.
typo here, only :xen_host
should be written.
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.
just note it is harmless, as it is done one line up, so I merge it.
src/autoyast-rnc/kdump.rnc
Outdated
@@ -6,15 +6,22 @@ namespace config = "http://www.suse.com/1.0/configns" | |||
kdump = | |||
element kdump { | |||
(kdump_crash_kernel_value | kdump_crash_kernel_list)? & | |||
# parameter specify crashkernel value for xen hypervisor | |||
(kdump_crash_xen_value | kdump_crash_xen_kernel_list)? & |
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.
kdump_crash_xen_kernel_value
The good news is that the tests have finally run... |
No description provided.