From: Zhao Liu <zhao1.liu@intel.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel@nongnu.org, binbin.wu@linux.intel.com
Subject: Re: [PATCH] kvm: consistently return 0/-errno from kvm_convert_memory
Date: Fri, 13 Dec 2024 10:35:29 +0800 [thread overview]
Message-ID: <Z1udcRGw8ay6pHzX@intel.com> (raw)
In-Reply-To: <20241212155719.524637-1-pbonzini@redhat.com>
On Thu, Dec 12, 2024 at 04:57:19PM +0100, Paolo Bonzini wrote:
> Date: Thu, 12 Dec 2024 16:57:19 +0100
> From: Paolo Bonzini <pbonzini@redhat.com>
> Subject: [PATCH] kvm: consistently return 0/-errno from kvm_convert_memory
> X-Mailer: git-send-email 2.47.1
>
> In case of incorrect parameters, kvm_convert_memory() was returning
> -1 instead of -EINVAL. The guest won't notice because it will move
> anyway to RUN_STATE_INTERNAL_ERROR, but fix this for consistency and
> clarity.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> accel/kvm/kvm-all.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
next prev parent reply other threads:[~2024-12-13 2:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-12 15:57 [PATCH] kvm: consistently return 0/-errno from kvm_convert_memory Paolo Bonzini
2024-12-12 18:01 ` Philippe Mathieu-Daudé
2024-12-13 2:35 ` Zhao Liu [this message]
2024-12-13 5:48 ` Xiaoyao Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z1udcRGw8ay6pHzX@intel.com \
--to=zhao1.liu@intel.com \
--cc=binbin.wu@linux.intel.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.