From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brijesh Singh Subject: Re: [PATCH v5 23/23] sev: add migration blocker Date: Thu, 7 Dec 2017 16:50:11 -0600 Message-ID: References: <20171206200346.116537-1-brijesh.singh@amd.com> <20171206200346.116537-24-brijesh.singh@amd.com> <20171207110342.GB2439@work-vm> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: brijesh.singh@amd.com, qemu-devel@nongnu.org, Alistair Francis , Christian Borntraeger , Cornelia Huck , "Daniel P . Berrange" , "Edgar E . Iglesias" , Eduardo Habkost , Eric Blake , kvm@vger.kernel.org, Marcel Apfelbaum , Markus Armbruster , "Michael S. Tsirkin" , Paolo Bonzini , Peter Crosthwaite , Peter Maydell , Richard Henderson , Richard Henderson , Stefan Hajnoczi , Thomas Lendacky Return-path: Received: from mail-bl2nam02on0067.outbound.protection.outlook.com ([104.47.38.67]:15089 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750993AbdLGWuT (ORCPT ); Thu, 7 Dec 2017 17:50:19 -0500 In-Reply-To: <20171207110342.GB2439@work-vm> Content-Language: en-US Sender: kvm-owner@vger.kernel.org List-ID: On 12/07/2017 05:03 AM, Dr. David Alan Gilbert wrote: ....... >> >> #define SEV_FW_MAX_ERROR 0x17 >> >> @@ -460,6 +462,7 @@ static void >> sev_launch_finish(SEVState *s) >> { >> int ret, error; >> + Error *local_err = NULL; >> >> ret = sev_ioctl(KVM_SEV_LAUNCH_FINISH, 0, &error); >> if (ret) { >> @@ -470,6 +473,16 @@ sev_launch_finish(SEVState *s) >> >> s->cur_state = SEV_STATE_RUNNING; >> DPRINTF("SEV: LAUNCH_FINISH\n"); > > (from a previous patch) > Please use the tracing facility rather than new DPRINTF's > if possible - if you've not used it before, then > --enable-trace-backends=log is the easy way to get going > and you can turn on and off the stuff you're interested in > tracing at run time without having to rebuild. Thanks for review, I will look into converting those DPRINTF's in trace logging.