From: Paolo Bonzini <pbonzini@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Anthony Liguori <aliguori@us.ibm.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] sysbus: add no_user for devices using mmio or IRQ or GPIO
Date: Mon, 04 Mar 2013 21:16:49 +0100 [thread overview]
Message-ID: <51350131.1070703@redhat.com> (raw)
In-Reply-To: <CAFEAcA_TadRp=9WEmTkZwUKBDSQPAqt_aEhOFBsHS7FTa8EENQ@mail.gmail.com>
Il 04/03/2013 18:58, Peter Maydell ha scritto:
>> > Mass-mark these devices as no_user.
> "There is no such thing as a 'no-user' device" -- Anthony
> (http://lists.gnu.org/archive/html/qemu-devel/2013-01/msg00896.html)
>
> We should figure out what we might be trying to use 'no-user'
> for, and consistently use it that way. Or alternatively we
> should remove it (perhaps replacing it with other flags).
> Mass-marking all the sysbus devices when we don't have a
> consistent sane defined semantics for the flag seems like
> a bad idea.
$ x86_64-softmmu/qemu-system-x86_64 -device xlnx,,ps7-usb
(qemu) info qtree
bus: main-system-bus
type System
dev: xlnx,ps7-usb, id ""
maxframes = 128
irq 1
mmio ffffffffffffffff/0000000000001000
bus: usb-bus.0
type usb-bus
I have no idea what this means, but I'm pretty sure that no matter how I
configure it, it will never work.
Yes, the right thing to do would be to QOMify memory regions and
introduce pins, but that's a bit more than the amount of time I have now
for this.
Paolo
next prev parent reply other threads:[~2013-03-04 20:16 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-04 17:32 [Qemu-devel] [PATCH] sysbus: add no_user for devices using mmio or IRQ or GPIO Paolo Bonzini
2013-03-04 17:58 ` Peter Maydell
2013-03-04 20:16 ` Paolo Bonzini [this message]
2013-03-04 23:22 ` Peter Maydell
2013-03-05 10:58 ` Paolo Bonzini
2013-03-05 11:25 ` Gerd Hoffmann
2013-03-07 8:48 ` Markus Armbruster
2013-03-07 10:00 ` Peter Maydell
2013-03-07 12:36 ` Markus Armbruster
2013-03-07 16:09 ` Anthony Liguori
2013-03-07 16:22 ` Peter Maydell
2013-03-07 17:07 ` Markus Armbruster
2013-03-07 17:17 ` Anthony Liguori
2013-03-07 17:45 ` Markus Armbruster
2013-03-07 12:45 ` Peter Crosthwaite
2013-03-07 15:41 ` Peter Maydell
2013-03-07 23:37 ` Peter Crosthwaite
2013-03-07 23:53 ` Peter Maydell
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=51350131.1070703@redhat.com \
--to=pbonzini@redhat.com \
--cc=aliguori@us.ibm.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).