On Wed, Mar 16, 2011 at 06:29:18PM +0900, Isaku Yamahata wrote: > Create generic pci p2p bridge device which can be customized > via properties like vendor id/device id and so on. > With this, we can avoid to create many pci p2p bridge which only > differs in those ids. > > Cc: Michael S. Tsirkin <m...@redhat.com> > Signed-off-by: Isaku Yamahata <yamah...@valinux.co.jp>
So we added 213 lines and we saved all of 20 in other places? Maybe I miss the point ... > --- > Makefile.objs | 2 +- > hw/pci_p2pbr.c | 151 > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > hw/pci_p2pbr.h | 61 +++++++++++++++++++++++ > 3 files changed, 213 insertions(+), 1 deletions(-) > create mode 100644 hw/pci_p2pbr.c > create mode 100644 hw/pci_p2pbr.h