Re: [Qemu-devel] [PATCH RFC 4/7] hw/apci: fix pcihp io initialization

2016-06-21 Thread Marcel Apfelbaum
On 06/21/2016 02:19 PM, Igor Mammedov wrote: On Tue, 21 Jun 2016 11:57:29 +0300 Marcel Apfelbaum wrote: On 06/17/2016 12:04 PM, Igor Mammedov wrote: On Tue, 31 May 2016 20:48:35 +0300 Marcel Apfelbaum wrote: The pm initialization code assigns the pcihp IO base and length to -1 on error, bu

Re: [Qemu-devel] [PATCH RFC 4/7] hw/apci: fix pcihp io initialization

2016-06-21 Thread Igor Mammedov
On Tue, 21 Jun 2016 11:57:29 +0300 Marcel Apfelbaum wrote: > On 06/17/2016 12:04 PM, Igor Mammedov wrote: > > On Tue, 31 May 2016 20:48:35 +0300 > > Marcel Apfelbaum wrote: > > > >> The pm initialization code assigns the pcihp IO base and length to > >> -1 on error, but the later code will assum

Re: [Qemu-devel] [PATCH RFC 4/7] hw/apci: fix pcihp io initialization

2016-06-21 Thread Marcel Apfelbaum
On 06/17/2016 12:04 PM, Igor Mammedov wrote: On Tue, 31 May 2016 20:48:35 +0300 Marcel Apfelbaum wrote: The pm initialization code assigns the pcihp IO base and length to -1 on error, but the later code will assume 0 as invalid value. Fix it initializing the above value to 0 as expected. Sig

Re: [Qemu-devel] [PATCH RFC 4/7] hw/apci: fix pcihp io initialization

2016-06-17 Thread Igor Mammedov
On Tue, 31 May 2016 20:48:35 +0300 Marcel Apfelbaum wrote: > The pm initialization code assigns the pcihp IO base and length to -1 on > error, > but the later code will assume 0 as invalid value. > > Fix it initializing the above value to 0 as expected. > > Signed-off-by: Marcel Apfelbaum > -

[Qemu-devel] [PATCH RFC 4/7] hw/apci: fix pcihp io initialization

2016-05-31 Thread Marcel Apfelbaum
The pm initialization code assigns the pcihp IO base and length to -1 on error, but the later code will assume 0 as invalid value. Fix it initializing the above value to 0 as expected. Signed-off-by: Marcel Apfelbaum --- hw/i386/acpi-build.c | 10 ++ 1 file changed, 6 insertions(+), 4 d