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

Re: [Xen-devel] [PATCH] x86/viridian: Reword HV_X64_MSR_CRASH_CTL print message


  • To: 'Wei Liu' <wl@xxxxxxx>, Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>
  • From: Paul Durrant <Paul.Durrant@xxxxxxxxxx>
  • Date: Mon, 16 Sep 2019 13:56:46 +0000
  • Accept-language: en-GB, en-US
  • Authentication-results: esa1.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=Paul.Durrant@xxxxxxxxxx; spf=Pass smtp.mailfrom=Paul.Durrant@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>, Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • Delivery-date: Mon, 16 Sep 2019 13:57:06 +0000
  • Ironport-sdr: /4exTa1P/eaX/zdI91XPludW7PUj73V2a0Epwy+UIAzTrJQQonxxTzPlVv3fOXBogcr6gKuEqg S28IXfpVr7KPiLpWxYmTjNIcFRYKDUvPj/mn1P8YmAsIfMyQpxOo3IjB0G0RVn/z6j6H3UL+Vu UxMIHCFxiwzHF+UeKIM2R8TFP7JC9JOOSXRmGvAJfAOrY9MAmrvJvHlJkRNPvOnHQazEcq2QkM /JxaamRYYhzuqkNJlzvxC2iLVDzSIBZzOKxfdgZ8eOAI268FUdSKgAxPrdckxNmtGckhMl1aeG V30=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHVakzfjc+5AN/Pck2FIcRisbbuAqcsonAQgAGBTICAACG5sP//5V2AgAAEaICAACkewA==
  • Thread-topic: [PATCH] x86/viridian: Reword HV_X64_MSR_CRASH_CTL print message

> -----Original Message-----
> From: Wei Liu <wl@xxxxxxx>
> Sent: 16 September 2019 14:29
> To: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>
> Cc: Paul Durrant <Paul.Durrant@xxxxxxxxxx>; Xen-devel 
> <xen-devel@xxxxxxxxxxxxxxxxxxxx>; Jan Beulich
> <JBeulich@xxxxxxxx>; Wei Liu <wl@xxxxxxx>; Roger Pau Monne 
> <roger.pau@xxxxxxxxxx>
> Subject: Re: [PATCH] x86/viridian: Reword HV_X64_MSR_CRASH_CTL print message
> 
> On Mon, 16 Sep 2019 at 14:13, Andrew Cooper <andrew.cooper3@xxxxxxxxxx> wrote:
> [...]
> > >>>> Replace the VIRIDIAN prefix with 'reported' to reduce the confusion to
> > >>>> non-xen-developers trying to interpret the message.
> > >>> This is a message that is peculiar to Windows VMs, so how about 
> > >>> "Windows VM CRASH"?
> > >> I presume you mean particular, but no - it isn't windows which is the
> > >> exclusive user of this interface.  Linux has a driver to use it when
> > >> running under HyperV.
> > > Hmm, that's a bit odd. I thought the crash codes are Windows specific. 
> > > Perhaps they can be
> distinguished in some way.
> >
> > Linux sets its own guest OS identifier, which is some function of
> > HV_LINUX_VENDOR_ID.
> >
> > >  All the same, the log line needs to lead people to some way of decoding 
> > > the magic numbers I
> think. How about:
> > >
> > > "VIRIDIAN REPORTED CRASH"
> > >
> > > ?
> >
> > That is still just as confusing to read.
> >
> > There is no way to decode the numbers without knowing what OS is
> > running, and simply saying "Viridian" doesn't help with that.
> >
> 
> Would it make sense to call dump_guest_os_id here as well? Seeing that
> it is only printed when it was first set.

Yes, that's not a bad idea.

  Paul

> 
> Wei.
> 
> > ~Andrew
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.