[Qemu-devel] Re: [PATCHv4 08/15] Add get_fw_dev_path callback for pci bus.

2010-11-14 Thread Gleb Natapov
On Sun, Nov 14, 2010 at 08:27:20PM +0200, Michael S. Tsirkin wrote: > On Sun, Nov 14, 2010 at 05:39:34PM +0200, Gleb Natapov wrote: > > +static char *pcibus_get_fw_dev_path(DeviceState *dev) > > +{ > > +PCIDevice *d = (PCIDevice *)dev; > > +char path[50], name[33]; > > +int off; > > + >

[Qemu-devel] Re: [PATCHv4 08/15] Add get_fw_dev_path callback for pci bus.

2010-11-14 Thread Michael S. Tsirkin
On Sun, Nov 14, 2010 at 05:39:34PM +0200, Gleb Natapov wrote: > > Signed-off-by: Gleb Natapov > --- > hw/pci.c | 108 - > 1 files changed, 85 insertions(+), 23 deletions(-) > > diff --git a/hw/pci.c b/hw/pci.c > index 962886e..114b435