x86/shim: fix ballooning up the guest
authorIgor Druzhinin <igor.druzhinin@citrix.com>
Thu, 9 Apr 2020 08:13:45 +0000 (10:13 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 9 Apr 2020 08:13:45 +0000 (10:13 +0200)
commit480d9b47840a354c56eacece5c1ea206c577ee15
treefbda8c1205babd1af58bce4188a57ee1f690c102
parentdfcd120e81e476a421814e08e264e9b47dcc5c35
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>
master commit: 76dbabb59eeaa78e9f57407e5b15a6606488333e
master date: 2020-03-18 12:55:54 +0100
xen/common/memory.c