On Wed, Oct 05, 2016 at 03:06:53PM +0200, Radim Krčmář wrote: > * there no point in configuring the device if realization is going to > fail, so move the check to the beginning, > * create a separate function for the check, > * use error_setg() instead error_report(). > > Reviewed-by: Igor Mammedov <imamm...@redhat.com> > Signed-off-by: Radim Krčmář <rkrc...@redhat.com>
Reviewed-by: Peter Xu <pet...@redhat.com>