[Xen-devel] [PATCH v2] libxc: fix HVM core dump

2019-03-20 Thread Wei Liu
f969bc9fc96 forbid get_address_size call on HVM guests, because that didn't make sense. It broke core dump functionality on HVM because libxc unconditionally asked for guest width. Force guest_width to a sensible value. Reported-by: Igor Druzhinin Signed-off-by: Wei Liu --- Cc: Ian Jackson Cc:

Re: [Xen-devel] [PATCH v2] libxc: fix HVM core dump

2019-03-20 Thread Ian Jackson
Wei Liu writes ("[PATCH v2] libxc: fix HVM core dump"): > f969bc9fc96 forbid get_address_size call on HVM guests, because that > didn't make sense. It broke core dump functionality on HVM because > libxc unconditionally asked for guest width. > > Force guest_width to a sensible value. > > Reporte

Re: [Xen-devel] [PATCH v2] libxc: fix HVM core dump

2019-03-20 Thread Wei Liu
On Wed, Mar 20, 2019 at 04:40:59PM +, Ian Jackson wrote: > Wei Liu writes ("[PATCH v2] libxc: fix HVM core dump"): > > f969bc9fc96 forbid get_address_size call on HVM guests, because that > > didn't make sense. It broke core dump functionality on HVM because > > libxc unconditionally asked for

Re: [Xen-devel] [PATCH v2] libxc: fix HVM core dump

2019-03-22 Thread Juergen Gross
On 20/03/2019 16:43, Wei Liu wrote: > f969bc9fc96 forbid get_address_size call on HVM guests, because that > didn't make sense. It broke core dump functionality on HVM because > libxc unconditionally asked for guest width. > > Force guest_width to a sensible value. > > Reported-by: Igor Druzhinin