qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Leonid Bloch <lbloch@janustech.com>
To: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Cc: "qemu-block@nongnu.org" <qemu-block@nongnu.org>,
	"Stefan Weil" <sw@weilnetz.de>, "Max Reitz" <mreitz@redhat.com>,
	"Kevin Wolf" <kwolf@redhat.com>,
	"Philippe Mathieu-Daudé" <philmd@redhat.com>,
	"Leonid Bloch" <lbloch@janustech.com>,
	"Alberto Garcia" <berto@igalia.com>,
	"Markus Armbruster" <armbru@redhat.com>
Subject: [Qemu-devel] [PATCH v2 0/1] include: Auto-generate the sizes lookup table
Date: Thu, 3 Jan 2019 21:33:53 +0000	[thread overview]
Message-ID: <20190103213320.2653-1-lbloch@janustech.com> (raw)

Following the conversations here:
https://patchwork.kernel.org/patch/10665157
and here:
https://patchwork.kernel.org/patch/10666975

Making the lookup table for power-of-two sizes auto-generated, instead
of being hard-coded into the units.h file.

I'm not sure if the changes I've made to Makefile here are "standard".
Please correct me if that's not the case.

Sorry it took so much time - I was busy with something completely
different.


Regards,
Leonid.

---

Differences from v1:
* The generated header moved from $(SRC_PATH)/include/qemu/sizes.h to
  pow2_sizes.h in the build directory.
* The commit message mentions the commit which is partially reverted by
  the current commit.
* Small changes in the comments of the generated header file.

Leonid Bloch (1):
  include: Auto-generate the sizes lookup table

 .gitignore           |  1 +
 Makefile             |  5 +++
 block/qcow2.h        |  2 +-
 block/vdi.c          |  1 +
 include/qemu/units.h | 73 --------------------------------------------
 scripts/gen-sizes.sh | 66 +++++++++++++++++++++++++++++++++++++++
 6 files changed, 74 insertions(+), 74 deletions(-)
 create mode 100755 scripts/gen-sizes.sh

-- 
2.20.1

             reply	other threads:[~2019-01-03 21:34 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-03 21:33 Leonid Bloch [this message]
2019-01-03 21:33 ` [Qemu-devel] [PATCH v2 1/1] include: Auto-generate the sizes lookup table Leonid Bloch
2019-01-08  9:31   ` Markus Armbruster
2019-01-08 15:19     ` Eric Blake
2019-01-10  9:42     ` Leonid Bloch
2019-01-10 12:40       ` Markus Armbruster
2019-01-10 16:49         ` Leonid Bloch
2019-01-10 19:11           ` Markus Armbruster
2019-01-10 13:33       ` Eric Blake
2019-01-10 19:33         ` Eric Blake
2019-01-08 12:20   ` Kevin Wolf
2019-01-10 10:04     ` Leonid Bloch
2019-01-10 12:51       ` Markus Armbruster
2019-01-10 16:53         ` Leonid Bloch
2019-01-11  7:50           ` Markus Armbruster
2019-01-11 15:29             ` Eric Blake
2019-01-10 12:51     ` Alberto Garcia

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=20190103213320.2653-1-lbloch@janustech.com \
    --to=lbloch@janustech.com \
    --cc=armbru@redhat.com \
    --cc=berto@igalia.com \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=philmd@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=sw@weilnetz.de \
    /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).