Please ignore patch 8 and patch9, it won't work and I will re-send them seperately. Sorry for the inconvenience.
On Wed, Jul 17, 2013 at 5:29 PM, Dong Xu Wang <wdon...@linux.vnet.ibm.com> wrote: > Signed-off-by: Dong Xu Wang <wdon...@linux.vnet.ibm.com> > --- > util/qemu-option.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/util/qemu-option.c b/util/qemu-option.c > index 7545486..f4a0282 100644 > --- a/util/qemu-option.c > +++ b/util/qemu-option.c > @@ -656,6 +656,10 @@ void qemu_opts_del(QemuOpts *opts) > { > QemuOpt *opt; > > + if (!opts) { > + return; > + } > + > for (;;) { > opt = QTAILQ_FIRST(&opts->head); > if (opt == NULL) > -- > 1.7.11.7 >