Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
crash.4081
crash-7.0.5.xen-patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File crash-7.0.5.xen-patch of Package crash.4081
--- xen_hyper.c | 12 +++++++++++- xen_hyper_defs.h | 8 +++++++- xen_hyper_dump_tables.c | 2 ++ 3 files changed, 20 insertions(+), 2 deletions(-) --- a/xen_hyper.c +++ b/xen_hyper.c @@ -218,7 +218,12 @@ xen_hyper_domain_init(void) XEN_HYPER_MEMBER_OFFSET_INIT(domain_is_polling, "domain", "is_polling"); XEN_HYPER_MEMBER_OFFSET_INIT(domain_is_dying, "domain", "is_dying"); + /* + * With Xen 4.2.5 is_paused_by_controller changed to + * controller_pause_count. + */ XEN_HYPER_MEMBER_OFFSET_INIT(domain_is_paused_by_controller, "domain", "is_paused_by_controller"); + XEN_HYPER_MEMBER_OFFSET_INIT(domain_controller_pause_count, "domain", "controller_pause_count"); XEN_HYPER_MEMBER_OFFSET_INIT(domain_is_shutting_down, "domain", "is_shutting_down"); XEN_HYPER_MEMBER_OFFSET_INIT(domain_is_shut_down, "domain", "is_shut_down"); XEN_HYPER_MEMBER_OFFSET_INIT(domain_vcpu, "domain", "vcpu"); @@ -1269,9 +1274,14 @@ xen_hyper_store_domain_context(struct xe *(dp + XEN_HYPER_OFFSET(domain_is_polling))) { dc->domain_flags |= XEN_HYPER_DOMS_polling; } - if (*(dp + XEN_HYPER_OFFSET(domain_is_paused_by_controller))) { + if (XEN_HYPER_VALID_MEMBER(domain_is_paused_by_controller) && + *(dp + XEN_HYPER_OFFSET(domain_is_paused_by_controller))) { dc->domain_flags |= XEN_HYPER_DOMS_ctrl_pause; } + if (XEN_HYPER_VALID_MEMBER(domain_controller_pause_count) && + *(dp + XEN_HYPER_OFFSET(domain_controller_pause_count))) { + dc->domain_flags |= XEN_HYPER_DOMS_ctrl_pause; + } if (*(dp + XEN_HYPER_OFFSET(domain_is_dying))) { dc->domain_flags |= XEN_HYPER_DOMS_dying; } --- a/xen_hyper_defs.h +++ b/xen_hyper_defs.h @@ -677,7 +677,11 @@ struct xen_hyper_offset_table { long domain_is_privileged; long domain_debugger_attached; long domain_is_polling; - long domain_is_dying; + long domain_is_dying; + /* + * This changed from xen-4.2.5 to domain_controller_pause_count. + * See below! + */ long domain_is_paused_by_controller; long domain_is_shutting_down; long domain_is_shut_down; @@ -752,6 +756,8 @@ struct xen_hyper_offset_table { long vcpu_runstate_info_state; long vcpu_runstate_info_state_entry_time; long vcpu_runstate_info_time; + /* domain - changed item see domain_is_paused_by_controller */ + long domain_controller_pause_count; }; /* --- a/xen_hyper_dump_tables.c +++ b/xen_hyper_dump_tables.c @@ -786,6 +786,8 @@ xen_hyper_dump_xen_hyper_offset_table(ch (buf, "%ld\n", xen_hyper_offset_table.domain_is_dying)); XEN_HYPER_PRI(fp, len, "domain_is_paused_by_controller: ", buf, flag, (buf, "%ld\n", xen_hyper_offset_table.domain_is_paused_by_controller)); + XEN_HYPER_PRI(fp, len, "domain_controller_pause_count: ", buf, flag, + (buf, "%ld\n", xen_hyper_offset_table.domain_controller_pause_count)); XEN_HYPER_PRI(fp, len, "domain_is_shutting_down: ", buf, flag, (buf, "%ld\n", xen_hyper_offset_table.domain_is_shutting_down)); XEN_HYPER_PRI(fp, len, "domain_is_shut_down: ", buf, flag,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor