qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Move TPM passthrough specific command line opti


From: Stefan Berger
Subject: Re: [Qemu-devel] [PATCH] Move TPM passthrough specific command line options to backend structure
Date: Wed, 10 Apr 2013 17:06:14 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1

On 04/10/2013 02:51 PM, Corey Bryant wrote:


On 04/02/2013 01:30 PM, Stefan Berger wrote:
          return 1;
      }

+    /* validate backend specific opts */
+    qemu_opts_validate(opts, be->opts, &errp);
+    if (error_is_set(&errp)) {
+        qerror_report_err(errp);
+        error_free(errp);
+        return 1;
+    }
+

This looks fine to me but I see this is the first call to qemu_opts_validate() in QEMU. I wonder why.

Well, the function does what is needed here, sorting out command line parameters that are unknown. It also fits the available parameters.

I fixed the code related to the other comments. Thanks for the review.

   Stefan
I




reply via email to

[Prev in Thread] Current Thread [Next in Thread]