Re: [Qemu-devel] [RFC PATCH 1/3] tests: add libpci qtest library

2012-04-16 Thread Anthony Liguori
On 04/16/2012 04:14 AM, Stefan Hajnoczi wrote: On Sat, Apr 14, 2012 at 12:32:00PM +, Blue Swirl wrote: On Fri, Apr 13, 2012 at 14:27, Stefan Hajnoczi wrote: This patch adds a common PCI bus driver library which works for i386/x86-64 targets. Tests can use the library to probe for PCI dev

Re: [Qemu-devel] [RFC PATCH 1/3] tests: add libpci qtest library

2012-04-16 Thread Stefan Hajnoczi
On Mon, Apr 16, 2012 at 12:20 PM, Andreas Färber wrote: > Am 16.04.2012 11:14, schrieb Stefan Hajnoczi: >> On Sat, Apr 14, 2012 at 12:32:00PM +, Blue Swirl wrote: >>> On Fri, Apr 13, 2012 at 14:27, Stefan Hajnoczi >>> wrote: This patch adds a common PCI bus driver library which works for

Re: [Qemu-devel] [RFC PATCH 1/3] tests: add libpci qtest library

2012-04-16 Thread Andreas Färber
Am 16.04.2012 11:14, schrieb Stefan Hajnoczi: > On Sat, Apr 14, 2012 at 12:32:00PM +, Blue Swirl wrote: >> On Fri, Apr 13, 2012 at 14:27, Stefan Hajnoczi >> wrote: >>> This patch adds a common PCI bus driver library which works for >>> i386/x86-64 targets. Tests can use the library to probe f

Re: [Qemu-devel] [RFC PATCH 1/3] tests: add libpci qtest library

2012-04-16 Thread Stefan Hajnoczi
On Sat, Apr 14, 2012 at 12:32:00PM +, Blue Swirl wrote: > On Fri, Apr 13, 2012 at 14:27, Stefan Hajnoczi > wrote: > > This patch adds a common PCI bus driver library which works for > > i386/x86-64 targets.  Tests can use the library to probe for PCI > > devices, map BARs, and access configura

Re: [Qemu-devel] [RFC PATCH 1/3] tests: add libpci qtest library

2012-04-14 Thread Blue Swirl
On Fri, Apr 13, 2012 at 14:27, Stefan Hajnoczi wrote: > This patch adds a common PCI bus driver library which works for > i386/x86-64 targets.  Tests can use the library to probe for PCI > devices, map BARs, and access configuration space. I guess we have almost identical code in SeaBIOS, OpenBIO

[Qemu-devel] [RFC PATCH 1/3] tests: add libpci qtest library

2012-04-13 Thread Stefan Hajnoczi
This patch adds a common PCI bus driver library which works for i386/x86-64 targets. Tests can use the library to probe for PCI devices, map BARs, and access configuration space. Signed-off-by: Stefan Hajnoczi --- tests/libpci.c | 106 t