From: Markus Armbruster <armbru@redhat.com>
To: Michael Roth <mdroth@linux.vnet.ibm.com>
Cc: qemu-devel@nongnu.org, "Andreas Färber" <afaerber@suse.de>
Subject: Re: [Qemu-devel] [PATCH v4 0/2] Fixes/tests for hmp_object_del()
Date: Fri, 13 Jan 2017 13:51:57 +0100 [thread overview]
Message-ID: <87fuknruky.fsf@dusky.pond.sub.org> (raw)
In-Reply-To: <1481822644-617-1-git-send-email-mdroth@linux.vnet.ibm.com> (Michael Roth's message of "Thu, 15 Dec 2016 11:24:02 -0600")
Andreas, please have a look. Feel free to ask me to take it through my
tree.
Michael Roth <mdroth@linux.vnet.ibm.com> writes:
> hmp_object_del() followed by a subsequent hmp_object_add() can trigger a
> duplicate ID error if the previous object shared the same ID and was added
> via the command-line. Please see patch 2/2 for more details.
>
> This patchset fixes the issue in question and adds some general unit tests
> for object created via -object, which we later extend to verify the fix in
> question.
>
> Changes since v3:
>
> - Fixed up comment formating (Markus)
> - Instead of segfaulting, use &error_abort if assumptions about
> 'object' property group existence change (Markus)
> - Use g_assert_null in place of g_assert(... == NULL) (Markus)
>
> Changes since v2:
>
> - Moved the generic unit tests ahead of the fix patch, with a FIXME
> in place of the actual check for the failure addressed in patch
> 2/2 (Daniel/Markus)
> - Dropped check for existence of objects' QemuOptsList (Markus)
> - Dropped unintended whitespace removal in PATCH 1/2
> - Slight rewording of commit messages to reflect the changes and fix
> minor grammar errors.
>
> Changes since v1:
>
> - Moved QemuOpt cleanup out of {qmp,hmp}_object_del() and into common
> user_creatable_del() path (Daniel, David)
> - Added corresponding test case in check-qom-proplist
next prev parent reply other threads:[~2017-01-13 12:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-15 17:24 [Qemu-devel] [PATCH v4 0/2] Fixes/tests for hmp_object_del() Michael Roth
2016-12-15 17:24 ` [Qemu-devel] [PATCH 1/2] tests: check-qom-proplist: add checks for cmdline-created objects Michael Roth
2017-05-12 10:22 ` Dr. David Alan Gilbert
2017-05-15 7:13 ` Markus Armbruster
2017-05-31 17:05 ` Markus Armbruster
2017-06-03 23:16 ` Michael Roth
2016-12-15 17:24 ` [Qemu-devel] [PATCH 2/2] monitor: fix object_del for command-line-created objects Michael Roth
2017-01-13 12:51 ` Markus Armbruster [this message]
2017-03-06 16:19 ` [Qemu-devel] [PATCH v4 0/2] Fixes/tests for hmp_object_del() Michael Roth
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=87fuknruky.fsf@dusky.pond.sub.org \
--to=armbru@redhat.com \
--cc=afaerber@suse.de \
--cc=mdroth@linux.vnet.ibm.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.