From: Alexander Duyck <alexander.duyck@gmail.com>
To: david@redhat.com, mst@redhat.com
Cc: virtio-dev@lists.oasis-open.org, qemu-devel@nongnu.org,
peter.maydell@linaro.org
Subject: [PATCH v3 QEMU 0/3] virtio-balloon: Free page hinting clean-ups
Date: Mon, 20 Jul 2020 10:51:09 -0700 [thread overview]
Message-ID: <20200720175030.21935.80052.stgit@localhost.localdomain> (raw)
This series contains a couple minor cleanups related to free page hinting.
The first patch addresses what I believe is a possible issue in which the
driver could potentially force the device out of the stop state and back
into the running state if it were to replay an earlier virtqueue element
containing the same ID it had submitted earlier.
The second patch takes care of a possible race due to a mutex lock not being
used when starting the hinting from the device-side.
The final patch takes care of renaming various hinting objects that were
using "reporting" in the name to try and clarify which objects are for free
page reporting and which are for free page hinting.
Changes from v1:
Split first patch into two patches as each addresses a separate issue.
Added acked-by for first patch.
Changes from v2:
Added Acked-by for patch 2
Added comment to patch 2 about it fixing Coverity issue
Rebased on latest pull of QEMU
---
Alexander Duyck (3):
virtio-balloon: Prevent guest from starting a report when we didn't request one
virtio-balloon: Add locking to prevent possible race when starting hinting
virtio-balloon: Replace free page hinting references to 'report' with 'hint'
hw/virtio/virtio-balloon.c | 79 +++++++++++++++++++-----------------
include/hw/virtio/virtio-balloon.h | 20 +++++----
2 files changed, 52 insertions(+), 47 deletions(-)
--
next reply other threads:[~2020-07-20 17:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-20 17:51 Alexander Duyck [this message]
2020-07-20 17:51 ` [PATCH v3 QEMU 1/3] virtio-balloon: Prevent guest from starting a report when we didn't request one Alexander Duyck
2020-07-20 17:51 ` [PATCH v3 QEMU 2/3] virtio-balloon: Add locking to prevent possible race when starting hinting Alexander Duyck
2020-07-20 17:51 ` [PATCH v3 QEMU 3/3] virtio-balloon: Replace free page hinting references to 'report' with 'hint' Alexander Duyck
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=20200720175030.21935.80052.stgit@localhost.localdomain \
--to=alexander.duyck@gmail.com \
--cc=david@redhat.com \
--cc=mst@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=virtio-dev@lists.oasis-open.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).