Re: [libvirt] [PATCH] pci: Read bridge control register from the bridge

2012-09-03 Thread Osier Yang
On 2012年09月01日 02:16, Eric Blake wrote: On 08/31/2012 07:17 AM, Osier Yang wrote: Though I don't quite understand it well enough, but it looks wrong to read the control register from the device, and then write to its parent twice, while doing the secondary bus reset. --- src/util/pci.c |2

Re: [libvirt] [PATCH] pci: Read bridge control register from the bridge

2012-08-31 Thread Eric Blake
On 08/31/2012 07:17 AM, Osier Yang wrote: > Though I don't quite understand it well enough, but it looks > wrong to read the control register from the device, and then > write to its parent twice, while doing the secondary bus reset. > --- > src/util/pci.c |2 +- > 1 files changed, 1 insertion

[libvirt] [PATCH] pci: Read bridge control register from the bridge

2012-08-31 Thread Osier Yang
Though I don't quite understand it well enough, but it looks wrong to read the control register from the device, and then write to its parent twice, while doing the secondary bus reset. --- src/util/pci.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/util/pci.c b/sr