----- Original Message ----- > Has been replaced by hardware_domain. > > Xen tracking: > > commit c86ccbf0b7976ac0093bef4e4e43005771c0f829 > Author: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx> > Date: Fri Apr 11 11:20:55 2014 +0200 > > rename dom0 to hardware_domain > > Signed-off-by: Don Slutz <dslutz@xxxxxxxxxxx> Queued for crash-7.1.1: https://github.com/crash-utility/crash/commit/4e1dca2133f0b804260d164b15b9b1eeae053659 Thanks, Dave > --- > I do have a big (32G sized file, that gzipped is 357M). > let me know if you want it. > > xen_hyper.c | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/xen_hyper.c b/xen_hyper.c > index db297ff..c02842b 100644 > --- a/xen_hyper.c > +++ b/xen_hyper.c > @@ -1036,7 +1036,9 @@ xen_hyper_get_domains(void) > long domain_next_in_list; > int i, j; > > - get_symbol_data("dom0", sizeof(void *), &domain); > + i = try_get_symbol_data("dom0", sizeof(void *), &domain); > + if (!i) > + get_symbol_data("hardware_domain", sizeof(void *), &domain); > domain_next_in_list = MEMBER_OFFSET("domain", "next_in_list"); > i = 0; > while (domain != 0) { > @@ -1077,7 +1079,9 @@ xen_hyper_get_domain_next(int mod, ulong *next) > if (xhdt->dom0) { > *next = xhdt->dom0->domain; > } else { > - get_symbol_data("dom0", sizeof(void *), next); > + int ok = try_get_symbol_data("dom0", sizeof(void *), next); > + if (!ok) > + get_symbol_data("hardware_domain", sizeof(void *), next); > } > return xhdt->domain_struct; > break; > -- > 1.8.4 > > -- Crash-utility mailing list Crash-utility@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/crash-utility