Re: [Qemu-devel] [RFC] edk2 support for a new QEMU device - PXB (PCI Expander Device)

2015-06-04 Thread Laszlo Ersek
On 06/04/15 17:18, Marcel Apfelbaum wrote: > On 06/04/2015 04:04 PM, Laszlo Ersek wrote: >> On 06/04/15 11:42, Marcel Apfelbaum wrote: >>> On 06/04/2015 02:11 AM, Laszlo Ersek wrote: >> What element type do you propose for the array in the new fw_cfg file? (And what name for the fw_cfg fi

Re: [Qemu-devel] [RFC] edk2 support for a new QEMU device - PXB (PCI Expander Device)

2015-06-04 Thread Marcel Apfelbaum
On 06/04/2015 04:04 PM, Laszlo Ersek wrote: On 06/04/15 11:42, Marcel Apfelbaum wrote: On 06/04/2015 02:11 AM, Laszlo Ersek wrote: What element type do you propose for the array in the new fw_cfg file? (And what name for the fw_cfg file itself?) "etc/extra-pci-roots" uses uint64_t, little en

Re: [Qemu-devel] [RFC] edk2 support for a new QEMU device - PXB (PCI Expander Device)

2015-06-04 Thread Michael S. Tsirkin
On Thu, Jun 04, 2015 at 03:04:15PM +0200, Laszlo Ersek wrote: > On 06/04/15 11:42, Marcel Apfelbaum wrote: > > On 06/04/2015 02:11 AM, Laszlo Ersek wrote: > > >> What element type do you propose for the array in the new fw_cfg file? > >> (And what name for the fw_cfg file itself?) > >> > >> "etc/e

Re: [Qemu-devel] [RFC] edk2 support for a new QEMU device - PXB (PCI Expander Device)

2015-06-04 Thread Laszlo Ersek
On 06/04/15 11:42, Marcel Apfelbaum wrote: > On 06/04/2015 02:11 AM, Laszlo Ersek wrote: >> What element type do you propose for the array in the new fw_cfg file? >> (And what name for the fw_cfg file itself?) >> >> "etc/extra-pci-roots" uses uint64_t, little endian, for the number of >> extra roo

Re: [Qemu-devel] [RFC] edk2 support for a new QEMU device - PXB (PCI Expander Device)

2015-06-04 Thread Marcel Apfelbaum
On 06/04/2015 02:11 AM, Laszlo Ersek wrote: On 06/03/15 22:34, Marcel Apfelbaum wrote: On 06/03/2015 01:20 PM, Laszlo Ersek wrote: Maybe we can experiment some more; for example we could start by you explaining to me how exactly to probe for a root bus's presence (you mentioned device 0, but

Re: [Qemu-devel] [RFC] edk2 support for a new QEMU device - PXB (PCI Expander Device)

2015-06-03 Thread Laszlo Ersek
On 06/03/15 22:34, Marcel Apfelbaum wrote: > On 06/03/2015 01:20 PM, Laszlo Ersek wrote: >> Maybe we can experiment some more; for example we could start by >> you explaining to me how exactly to probe for a root bus's presence >> (you mentioned device 0, but I'll need more than that). > Well, I