From: "Michael S. Tsirkin" <mst@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 12/12] hw: move memory API to hw/core
Date: Thu, 11 Apr 2013 22:00:41 +0300 [thread overview]
Message-ID: <20130411190040.GF23301@redhat.com> (raw)
In-Reply-To: <5166FE8C.5070000@redhat.com>
On Thu, Apr 11, 2013 at 08:18:52PM +0200, Paolo Bonzini wrote:
> Il 11/04/2013 19:14, Peter Maydell ha scritto:
> > On 11 April 2013 18:09, Paolo Bonzini <pbonzini@redhat.com> wrote:
> >> Il 11/04/2013 18:28, Peter Maydell ha scritto:
> >>> On 11 April 2013 17:10, Paolo Bonzini <pbonzini@redhat.com> wrote:
> >>>>> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> >>> This doesn't look right. The MemoryRegion system isn't
> >>> hw-specific, it's a part of the basic QEMU emulation
> >>> system which provides functionality to hw/ and other
> >>> things (like cputlb.c).
> >>
> >> The accelerator- and target-independent parts of the basic emulation are
> >> already in hw/core (not much really, but consider that CPUs are device
> >> and depend on hw/core/qdev.c). The memory API is simply the interface
> >> between the accelerators and hw/ (boards & device models).
> >
> > Yes, so it should be provided in the place we put our accelerator
> > implementation (ie .): it is functionality and interface exposed
> > *to* the code in hw/, not functionality and interface provided
> > *by* hw/.
>
> Ok, the historical practice was that qdev core was in hw/, and that's
> what I tried to follow. It makes sense either way to me.
>
> But then patch 11 also has to be dropped, otherwise it doesn't make
> sense. Michael, what do you think?
>
> Paolo
I agree.
next prev parent reply other threads:[~2013-04-11 19:00 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-11 16:10 [Qemu-devel] [PATCH 00/12] directory reorganization, final part Paolo Bonzini
2013-04-11 16:10 ` [Qemu-devel] [PATCH 01/12] arm: fix location of some include files Paolo Bonzini
2013-04-11 16:10 ` [Qemu-devel] [PATCH 02/12] virtio-9p: Fix virtio-9p no longer building after hw-dirs branch merge Paolo Bonzini
2013-04-11 16:10 ` [Qemu-devel] [PATCH 03/12] Add linux-headers to QEMU_INCLUDES Paolo Bonzini
2013-04-11 16:10 ` [Qemu-devel] [PATCH 04/12] Fix failure to create q35 machine Paolo Bonzini
2013-04-11 16:10 ` [Qemu-devel] [PATCH 05/12] configure: fix TPM logic Paolo Bonzini
2013-04-11 16:10 ` [Qemu-devel] [PATCH 06/12] tpm: reorganize headers and split hardware part Paolo Bonzini
2013-04-11 16:10 ` [Qemu-devel] [PATCH 07/12] sysemu: avoid proliferation of include/ subdirectories Paolo Bonzini
2013-04-11 16:10 ` [Qemu-devel] [PATCH 08/12] include: avoid useless includes of exec/ headers Paolo Bonzini
2013-04-11 16:10 ` [Qemu-devel] [PATCH 09/12] memory: move core typedefs to qemu/typedefs.h Paolo Bonzini
2013-04-11 16:10 ` [Qemu-devel] [PATCH 10/12] exec: remove useless declarations from memory-internal.h Paolo Bonzini
2013-04-11 16:10 ` [Qemu-devel] [PATCH 11/12] hw: move memory API headers to hw/ Paolo Bonzini
2013-04-11 16:10 ` [Qemu-devel] [PATCH 12/12] hw: move memory API to hw/core Paolo Bonzini
2013-04-11 16:28 ` Peter Maydell
2013-04-11 17:07 ` Michael S. Tsirkin
2013-04-11 17:09 ` Paolo Bonzini
2013-04-11 17:14 ` Peter Maydell
2013-04-11 18:18 ` Paolo Bonzini
2013-04-11 19:00 ` Michael S. Tsirkin [this message]
2013-04-15 16:52 ` [Qemu-devel] [PATCH 00/12] directory reorganization, final part Anthony Liguori
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=20130411190040.GF23301@redhat.com \
--to=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--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).