[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Qemu-trivial] [PATCH v2 2/2] ivshmem: add missing erro
From: |
Michael Tokarev |
Subject: |
Re: [Qemu-devel] [Qemu-trivial] [PATCH v2 2/2] ivshmem: add missing error exit(2) |
Date: |
Wed, 12 Jun 2013 13:18:15 +0400 |
User-agent: |
Mozilla/5.0 (X11; Linux i686 on x86_64; rv:17.0) Gecko/17.0 Icedove/17.0 |
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