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

2019-03-19 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. Only issue the call when necessary in libxc. Reported-by: Igor Druzhinin Signed-off-by: Wei Liu --- Cc: Ian Jackso

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

2019-03-20 Thread Ian Jackson
Wei Liu writes ("[PATCH] 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. ... > +if ( !auto_translated_physmap && > + xc_

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

2019-03-20 Thread Wei Liu
On Wed, Mar 20, 2019 at 01:49:30PM +, Ian Jackson wrote: > Wei Liu writes ("[PATCH] 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 gue