x86/shim: fix ballooning up the guest
authorIgor Druzhinin <igor.druzhinin@citrix.com>
Wed, 18 Mar 2020 11:55:54 +0000 (12:55 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 18 Mar 2020 11:55:54 +0000 (12:55 +0100)
commit76dbabb59eeaa78e9f57407e5b15a6606488333e
treee2d325f7eaa9ae7830799be18a1c9a307aa26676
parent1faa954df18733792c33b3f5b1b4de4662cfa892
x86/shim: fix ballooning up the guest

args.preempted is meaningless here as it doesn't signal whether the
hypercall was preempted before. Use start_extent instead which is
correct (as long as the hypercall was invoked in a "normal" way).

Signed-off-by: Igor Druzhinin <igor.druzhinin@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/common/memory.c