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

Re: [Xen-devel] [Question] Proper location for Linux error code (-EPROBE_DEFER) in Xen


  • To: Oleksandr <olekstysh@xxxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Thu, 1 Aug 2019 16:14:34 +0200
  • Authentication-results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=roger.pau@xxxxxxxxxx; spf=Pass smtp.mailfrom=roger.pau@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 01 Aug 2019 14:14:57 +0000
  • Ironport-sdr: 5U75/dyyAHad8+C345q6yBopGx5bgHUZXU6rbEAKXcfK9k6OuHmfMzeMhZuQLQwjGeqbO0wGrW vQZIPlwuFgyvXx37Kk/fvCtXKRYATStd/HAcoMynNK+s7mYBQqezfOW/JMcfcx4nKsOCikQtE6 TEg+C+5UqkirG2JO7YrqfyBXnnyGpk4zCrx579Jc7mbK9zJvFNHc2fPAj3x2pcIq1pAAxPek15 y1mo44E5vuUbBtzg8l0OXDuPRW2ujDGVDr6aJgt5lO/URsFt6EZ7F/nY8m4iu204lk2RvzDTLs kPU=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Thu, Aug 01, 2019 at 05:10:08PM +0300, Oleksandr wrote:
> Hello all.
> 
> What is the proper location to place Linux error code (-EPROBE_DEFER) in
> Xen?
> https://elixir.bootlin.com/linux/v5.3-rc2/source/include/linux/errno.h#L19
> 
> ...
> Although that error is going to be used by Arm code the first, I feel it
> should be somewhere in common place as it is not Arm specific.
> I was thinking to place it to xen/include/public/errno.h and guard with
> #ifdef __XEN__ to hide from userspace, but not sure it is a good idea, since
> it looks like not a POSIX one to be in that header...

Hello,

I think it would help if you describe why such error code is needed by
Xen and how it would be used.

Thanks, Roger.

_______________________________________________
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®.