public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Sean Christopherson <seanjc@google.com>
To: Peter Gonda <pgonda@google.com>
Cc: Marc Orr <marcorr@google.com>, kvm list <kvm@vger.kernel.org>,
	Vitaly Kuznetsov <vkuznets@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	"Lendacky, Thomas" <Thomas.Lendacky@amd.com>,
	"Singh, Brijesh" <brijesh.singh@amd.com>
Subject: Re: [PATCH v3] KVM, SEV: Add KVM_EXIT_SHUTDOWN metadata for SEV-ES
Date: Thu, 31 Mar 2022 19:02:52 +0000	[thread overview]
Message-ID: <YkX63IWfSwgjqa0H@google.com> (raw)
In-Reply-To: <CAMkAt6oiXaDfzRWo0GDNGyFeA2f8DPmWGsJvpFpB1+A8XSz4rA@mail.gmail.com>

On Thu, Mar 31, 2022, Peter Gonda wrote:
> On Thu, Mar 31, 2022 at 12:54 PM Sean Christopherson <seanjc@google.com> wrote:
> >
> > On Thu, Mar 31, 2022, Peter Gonda wrote:
> > > I'll make this 2 patches. This current patch and another to rate limit
> > > this pr_info() I think this patch is doing a lot already so would
> > > prefer to just add a second. Is that reasonable?
> >
> > I strongly prefer removing the pr_info() entirely.  As Marc pointed out, the
> > info is redundant when KVM properly reports the issue.  And worse, the info is
> > useless unless there's exactly one VM running.  Even then, it doesn't capture
> > which vCPU failed.  This is exactly why Jim, myself, and others, have been pushing
> > to avoid using dmesg to report guest errors.  They're helpful for initial
> > development, but dead weight for production, and if they're helpful for development
> > then odds are good that having proper reporting in production would also be valuable.
> 
> Sounds good to me. Is a second patch OK with you? I think we get a lot
> of cryptic cpu run exit reasons so fixing this up when we remove
> pr_infos would be good. This would be a good example without this
> pr_info or this change you'd have no idea whats going on.

As in, a second patch to remove the pr_info?  Yeah, no objection.

  reply	other threads:[~2022-03-31 19:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-30 18:28 [PATCH v3] KVM, SEV: Add KVM_EXIT_SHUTDOWN metadata for SEV-ES Peter Gonda
2022-03-31  4:20 ` Marc Orr
2022-03-31 17:11 ` Sean Christopherson
2022-03-31 17:27   ` Paolo Bonzini
2022-03-31 18:47     ` Peter Gonda
2022-03-31 17:40   ` Marc Orr
2022-03-31 17:47     ` Marc Orr
2022-03-31 18:43       ` Peter Gonda
2022-03-31 18:54         ` Sean Christopherson
2022-03-31 18:59           ` Peter Gonda
2022-03-31 19:02             ` Sean Christopherson [this message]
2022-03-31 19:02             ` Marc Orr

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=YkX63IWfSwgjqa0H@google.com \
    --to=seanjc@google.com \
    --cc=Thomas.Lendacky@amd.com \
    --cc=brijesh.singh@amd.com \
    --cc=kvm@vger.kernel.org \
    --cc=marcorr@google.com \
    --cc=pbonzini@redhat.com \
    --cc=pgonda@google.com \
    --cc=vkuznets@redhat.com \
    /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