Received: from eggs.gnu.org ([2001:4830:134:3::10]:54128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UmhC7-0004xL-4r for qemu-devel@nongnu.org; Wed, 12 Jun 2013 05:18:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UmhC5-0005tr-Qm for qemu-devel@nongnu.org; Wed, 12 Jun 2013 05:18:19 -0400 Message-ID: <51B83CD7.5030001@msgid.tls.msk.ru> Date: Wed, 12 Jun 2013 13:18:15 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <1370249911-19708-1-git-send-email-stefanha@redhat.com> <1370249911-19708-3-git-send-email-stefanha@redhat.com> <20130612072221.GA946@stefanha-thinkpad.muc.redhat.com> In-Reply-To: <20130612072221.GA946@stefanha-thinkpad.muc.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH v2 2/2] ivshmem: add missing error exit(2) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org, qemu-stable@nongnu.org, Paolo Bonzini , Cam Macdonell 12.06.2013 11:22, Stefan Hajnoczi wrote: >> diff --git a/hw/misc/ivshmem.c b/hw/misc/ivshmem.c >> index a19a6d6..5658f73 100644 >> --- a/hw/misc/ivshmem.c >> +++ b/hw/misc/ivshmem.c >> @@ -735,6 +735,7 @@ static int pci_ivshmem_init(PCIDevice *dev) >> >> if (s->shmobj == NULL) { >> fprintf(stderr, "Must specify 'chardev' or 'shm' to ivshmem\n"); >> + exit(1); >> } >> >> IVSHMEM_DPRINTF("using shm_open (shm object = %s)\n", s->shmobj); > > Ping? Ow. I missed it because part 1/2 were applied to scsi branch by Paolo and I marked whole thread as "done". Applied this 2/2 now to the trivial patches tree. Thank you! /mjt