qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] sysbus: add no_user for devices using mmio or I


From: Paolo Bonzini
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
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]