From: "Nicholas A. Bellinger" Subject: Re: [RFC-v2 3/6] vhost-scsi: add -vhost-scsi host device for use with tcm-vhost Date: Sat, 18 Aug 2012 16:38:12 -0700 Message-ID: <1345333092.25161.369.camel@haakon2.linux-iscsi.org> References: <1344846917-7411-1-git-send-email-nab@linux-iscsi.org> <1344846917-7411-4-git-send-email-nab@linux-iscsi.org> <20120813085929.GI14081@redhat.com> <1344978749.22433.116.camel@haakon2.linux-iscsi.org> <20120818191028.GA17770@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Stefan Hajnoczi , kvm-devel , qemu-devel , Zhi Yong Wu , Anthony Liguori , target-devel , Paolo Bonzini , lf-virt To: "Michael S. Tsirkin" Return-path: In-Reply-To: <20120818191028.GA17770@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.org On Sat, 2012-08-18 at 22:10 +0300, Michael S. Tsirkin wrote: > On Tue, Aug 14, 2012 at 02:12:29PM -0700, Nicholas A. Bellinger wrote: > > On Mon, 2012-08-13 at 11:59 +0300, Michael S. Tsirkin wrote: > > > On Mon, Aug 13, 2012 at 08:35:14AM +0000, Nicholas A. Bellinger wrote: > > > > > > + if (ret < 0) { > > > > + fprintf(stderr, "vhost-scsi: vhost initialization failed: %s\n", > > > > + strerror(-ret)); > > > > > > errors should go to monitor, here and elsewhere. > > > > > > > I think this means using monitor_printf() right..? > > > > Looking at that now.. > > > error_report is handier. > Converted all fprintf(stderr, ...) -> error_report() usage for RFC-v3. Thanks MST!