From: Alexander Graf <graf@campus.tu-berlin.de>
To: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org
Subject: Re: [Qemu-devel] hw/arm: add Lego NXT board
Date: Mon, 14 Jul 2014 23:10:26 +0200 [thread overview]
Message-ID: <53C44742.2010104@campus.tu-berlin.de> (raw)
In-Reply-To: <53C43F9B.6090907@redhat.com>
On 07/14/2014 10:37 PM, Paolo Bonzini wrote:> The obvious thing to
consider is whether this could be used to
> circumvent the GPL.
>
> I think a generic memory-mapped I/O device interface is not a good idea
> in this respect, also because it's hard to get it right.
Okay, if this is a concern I will have to keep my changes off the
mainline as it is a required feature.
> But i2c is
> simple enough, and there are so many devices with a 4-page datasheet,
> that I think it would be acceptable. You could also write an i2c
> passthrough chardev backend that connects to /dev/i2c* and lets the
> guest access slaves in the host.
My interest is to fake sensor values for the guest and not to connect
anything to real hardware. I think I misinterpreted your "chardev". To
clarify: My guest is a bare metal ARM image, no linux and I don't want
to interact with the host's hardware. So no chardev in the linux sense
is involved.
Anyway thank you for your feedback.
Regards
Alexander
next prev parent reply other threads:[~2014-07-14 21:10 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-13 14:20 [Qemu-devel] hw/arm: add Lego NXT board Alexander Graf
2014-07-14 11:23 ` Peter Crosthwaite
2014-07-14 11:46 ` Paolo Bonzini
2014-07-14 18:09 ` Alexander Graf
2014-07-14 20:37 ` Paolo Bonzini
2014-07-14 21:10 ` Alexander Graf [this message]
2014-07-14 22:48 ` Peter Maydell
2014-07-15 7:06 ` Paolo Bonzini
2014-07-15 10:26 ` Alexander Graf
2014-07-15 10:53 ` Paolo Bonzini
2014-07-15 18:55 ` Alexander Graf
2014-07-15 20:09 ` Paolo Bonzini
2014-07-16 8:40 ` Alexander Graf
2014-07-16 8:50 ` Paolo Bonzini
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=53C44742.2010104@campus.tu-berlin.de \
--to=graf@campus.tu-berlin.de \
--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).