From: Wei Liu <wl@xen.org>
To: Julian Tuminaro <julian.tuminaro@gmail.com>
Cc: wl@xen.org, paul@xen.org, ian.jackson@eu.citrix.com,
Jenish Rakholiya <rjenish@cmu.edu>,
tim@xen.org, Julian Tuminaro <jtuminar@andrew.cmu.edu>,
xen-devel@lists.xenproject.org
Subject: Re: [Xen-devel] [PATCH 1/1] kdd.c: Add support for initial handshake in KD protocol for Win 7, 8 and 10 (64 bit)
Date: Wed, 6 Nov 2019 11:03:55 +0000 [thread overview]
Message-ID: <20191106110355.yxvge52aepy53qz5@debian> (raw)
In-Reply-To: <20191106022427.9088-1-julian.tuminaro@gmail.com>
Hi Julian
Thanks for your patch.
On Tue, Nov 05, 2019 at 09:24:27PM -0500, Julian Tuminaro wrote:
[...]
>
> +#if 0
> +/**
> + * @brief Temporary function for printing memory dump while debugging
> + * Dumps in the format of QWORD type
> + *
> + * @param s Pointer to the kdd_state structure
> + * @param addr Address to start dumping memory from
> + * @param size Number of bytes to print (automatically aligned to higher
> + * multiple of 8 bytes
> + *
> + * @note TODO: Remove this before pushing to master
:-)
> + * @note TODO: Maybe add level of logging to kdd (using -v option) - The
> + * idea of using printf instead of KDD_LOG was to not print all other unwanted
> + * logging output
> + */
> +static void my_memdump(kdd_state *s, uint64_t addr, int size)
If this function is not used, please leave it out. I generally prefer to
not commit dead code unless absolutely necessary.
Also the code can use a bit of cleanup because it contains a lot of
commented out code which is probably for debugging only.
I'm not familiar with KDD so I will leave the judgement of this patch to
Paul and Tim. Please wait for them to reply before sending out a new
version.
Wei.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next prev parent reply other threads:[~2019-11-06 11:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-06 2:24 [Xen-devel] [PATCH 1/1] kdd.c: Add support for initial handshake in KD protocol for Win 7, 8 and 10 (64 bit) Julian Tuminaro
2019-11-06 11:03 ` Wei Liu [this message]
2019-11-07 9:20 ` Paul Durrant
2019-11-10 13:14 ` Tim Deegan
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=20191106110355.yxvge52aepy53qz5@debian \
--to=wl@xen.org \
--cc=ian.jackson@eu.citrix.com \
--cc=jtuminar@andrew.cmu.edu \
--cc=julian.tuminaro@gmail.com \
--cc=paul@xen.org \
--cc=rjenish@cmu.edu \
--cc=tim@xen.org \
--cc=xen-devel@lists.xenproject.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).