From: Eric Blake <eblake@redhat.com>
To: Programmingkid <programmingkidx@gmail.com>
Cc: David Gibson <david@gibson.dropbear.id.au>,
QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] About my strnlen patch
Date: Thu, 21 Dec 2017 14:09:59 -0600 [thread overview]
Message-ID: <5ecea600-77b2-ecd7-faca-fc4c29994a83@redhat.com> (raw)
In-Reply-To: <9F278FF6-8D20-45FC-88B9-64E6F47A2C98@gmail.com>
On 12/21/2017 01:07 PM, Programmingkid wrote:
>
>> On Dec 21, 2017, at 1:40 PM, Eric Blake <eblake@redhat.com> wrote:
>>
>> On 12/21/2017 12:36 PM, Programmingkid wrote:
>>>> On Dec 21, 2017, at 1:30 PM, Eric Blake <eblake@redhat.com> wrote:
>>>>
>>>> On 12/21/2017 08:31 AM, Programmingkid wrote:
>>>>> Now would be a good time to push the strnlen patch.
>>>>
>>>> No links to the patch? Generally, when pinging a patch, it's best to reply to the existing thread, or at least provide a URL to the thread, where the patch was proposed.
>>>>
>>> Yes here is the patch: https://patchwork.kernel.org/patch/10027375/
>>
>> And that link says it was applied to libfdt on Oct 25. What still needs to happen that caused you to send this ping?
>
> It isn't available in QEMU yet. Without the patch building QEMU on Mac OS 10.6 fails.
>
> The patch'ed code would be found here: <qemu folder>/dtc/libfdt/libfdt_env.h.
>
> I can check on the patch's status by deleting the dtc folder and retrieve it again using this command:
> $ scripts/git-submodule.sh dtc
In other words, for qemu, you are proposing a patch to update the dtc
submodule to a newer commit id. Instead of describing that in words,
it's better to post an actual patch, such as this, which updates to the
latest dtc commit available as of my email:
diff --git i/dtc w/dtc
index 558cd81bdd..e671852042 160000
--- i/dtc
+++ w/dtc
@@ -1 +1 @@
-Subproject commit 558cd81bdd432769b59bff01240c44f82cfb1a9d
+Subproject commit e671852042a77b15ec72ca908291c7d647e4fb01
Create such a patch by: 'cd dtc; git pull; git merge origin; cd ..; git
add dtc'. However, pointing the dtc submodule to a commit in-between
releases may not be desirable; your commit landed in dtc as commit
c8f8194d, missing v1.4.5 (qemu.git is currently pointing to v1.4.4). As
I'm not the maintainer of the dtc submodule, I don't know the preferred
submodule update procedure; it may mean that you have to wait for
upstream dtc to release v1.4.6 before qemu.git can be updated to point
to a dtc version that includes your commit.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
prev parent reply other threads:[~2017-12-21 20:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-21 14:31 [Qemu-devel] About my strnlen patch Programmingkid
2017-12-21 18:30 ` Eric Blake
2017-12-21 18:36 ` Programmingkid
2017-12-21 18:40 ` Eric Blake
2017-12-21 19:07 ` Programmingkid
2017-12-21 20:09 ` Eric Blake [this message]
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=5ecea600-77b2-ecd7-faca-fc4c29994a83@redhat.com \
--to=eblake@redhat.com \
--cc=david@gibson.dropbear.id.au \
--cc=programmingkidx@gmail.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 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).