From: Paolo Bonzini <pbonzini@redhat.com>
To: Peter Lieven <pl@kamp.de>
Cc: Markus Armbruster <armbru@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0/2] fix segfault in (iscsi) option parsing
Date: Tue, 19 Mar 2013 18:07:23 +0100 [thread overview]
Message-ID: <51489B4B.6050601@redhat.com> (raw)
In-Reply-To: <51488A1F.1080401@kamp.de>
Il 19/03/2013 16:54, Peter Lieven ha scritto:
> On 19.03.2013 12:18, Paolo Bonzini wrote:
>> Il 19/03/2013 09:51, Markus Armbruster ha scritto:
>>> Paolo, please have a look.
>> Why isn't it enough to call bdrv_init_with_whitelist earlier?
>>
>> There is no conditional logic in it, the whitelist is checked at open
>> time.
>
> Has anyone tested if -spice is working?
It is.
machine_init entries are processed just below the other qemu_add_opts.
Paolo
In this case
> bdrv_init_with_whitelist() won't help here.
>
> Anyway, I would like to change the -iscsi code in vl.c to throw an
> error, if iscsi support is not
> compiled in (like it is done with spice).
>
> Peter
>
>>
>> Paolo
>>
>>> Peter Lieven <pl@kamp.de> writes:
>>>
>>>> current git master segfaults if an iscsi option is specified
>>>> in command line.
>>>>
>>>> Peter Lieven (2):
>>>> qemu-option: avoid segfault if QemuOptsList == NULL
>>>> vl.c: fix segfault in iscsi options parsing
>>>>
>>>> block/iscsi.c | 27 ---------------------------
>>>> util/qemu-option.c | 1 +
>>>> vl.c | 40 +++++++++++++++++++++++++++++++++++++---
>>>> 3 files changed, 38 insertions(+), 30 deletions(-)
>>>
>
>
next prev parent reply other threads:[~2013-03-19 17:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-19 8:19 [Qemu-devel] [PATCH 0/2] fix segfault in (iscsi) option parsing Peter Lieven
2013-03-19 8:19 ` [Qemu-devel] [PATCH 1/2] qemu-option: avoid segfault if QemuOptsList == NULL Peter Lieven
2013-03-19 8:19 ` [Qemu-devel] [PATCH 2/2] vl.c: fix segfault in iscsi options parsing Peter Lieven
2013-03-19 8:51 ` [Qemu-devel] [PATCH 0/2] fix segfault in (iscsi) option parsing Markus Armbruster
2013-03-19 11:18 ` Paolo Bonzini
2013-03-19 15:54 ` Peter Lieven
2013-03-19 17:07 ` Paolo Bonzini [this message]
2013-03-19 19:37 ` Peter Lieven
2013-03-19 20:58 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51489B4B.6050601@redhat.com \
--to=pbonzini@redhat.com \
--cc=armbru@redhat.com \
--cc=pl@kamp.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).