Re: [Qemu-devel] [PATCH] bios-linker-loader: document+validate input

2016-02-24 Thread Igor Mammedov
On Tue, 23 Feb 2016 18:50:31 +0200 "Michael S. Tsirkin" wrote: > On Tue, Feb 23, 2016 at 05:24:02PM +0100, Igor Mammedov wrote: > > On Sun, 21 Feb 2016 15:03:04 +0200 > > "Michael S. Tsirkin" wrote: > > > > > While guest/host ABI is documented in hw/acpi/bios-linker-loader.c, > > > the API wa

Re: [Qemu-devel] [PATCH] bios-linker-loader: document+validate input

2016-02-23 Thread Michael S. Tsirkin
On Tue, Feb 23, 2016 at 05:24:02PM +0100, Igor Mammedov wrote: > On Sun, 21 Feb 2016 15:03:04 +0200 > "Michael S. Tsirkin" wrote: > > > While guest/host ABI is documented in hw/acpi/bios-linker-loader.c, > > the API was left undocumented. > > > > This adds documentation for all API functions. >

Re: [Qemu-devel] [PATCH] bios-linker-loader: document+validate input

2016-02-23 Thread Igor Mammedov
On Sun, 21 Feb 2016 15:03:04 +0200 "Michael S. Tsirkin" wrote: > While guest/host ABI is documented in hw/acpi/bios-linker-loader.c, > the API was left undocumented. > > This adds documentation for all API functions. > > Additionally, input is validated to make sure all > pointers fall within r

[Qemu-devel] [PATCH] bios-linker-loader: document+validate input

2016-02-21 Thread Michael S. Tsirkin
While guest/host ABI is documented in hw/acpi/bios-linker-loader.c, the API was left undocumented. This adds documentation for all API functions. Additionally, input is validated to make sure all pointers fall within range of provided files. To allow this validation for checksum commands, bios_l